[twitter-dev] Getting error The remote name could not be resolved: 'api.twitter.com' while twitting data from my website

2011-08-04 Thread Richard Thomas
Hi. I am using Twitterizer Aouth API. Below is the code which I am using to connect to twitter from my website. stringconsumerKey = ConfigurationManager.AppSettings[consumerKey]; string consumerSecret = ConfigurationManager.AppSettings[consumerSecret]; if

[twitter-dev] Proper use of http://api.twitter.com/1/users/lookup.format with oAuth lib

2011-08-04 Thread EastSideDev
I am using Abraham Williams' oAuth library. It's been working fine, but I seem to have hit a snag on getting users profiles using http://api.twitter.com/1/users/lookup.format. Typically, I would do: $oAuthConnection = new TwitterOAuth($keys['key'], $keys['secret'], $keys['token'],

[twitter-dev] Twitter Search Data for a keyword

2011-08-04 Thread Rohan
Hi, I'm new to twitter api and doing an academic project for behavior analysis for specific set of tweets. I'm interested in getting the past data for a particular search query ( combination of keywords and certain constraints ) for a period of at least 2 month and if possible further. The Search

Re: [twitter-dev] Twitter Search Data for a keyword

2011-08-04 Thread Taylor Singletary
Hi Rohan, Unfortunately archived data is not the Twitter API's strongest point. The Search API's index usually only reaches back about a week. You'd be better enabled to collect data by focusing on a current topic and using the streaming API to receive relevant matching tweets in real time as

Re: [twitter-dev] Proper use of http://api.twitter.com/1/users/lookup.format with oAuth lib

2011-08-04 Thread Abraham Williams
What is the response you are getting from Twitter? Abraham - Abraham Williams | InboxQ http://inboxq.com/ | abrah.am | abrahamhttps://plus.google.com/114233674199568482864 + @abraham https://twitter.com/intent/follow?screen_name=abraham | github.com/abraham | blog.abrah.am This email

[twitter-dev] Re: Proper use of http://api.twitter.com/1/users/lookup.format with oAuth lib

2011-08-04 Thread EastSideDev
Array ( [errors] = Array ( [0] = Array ( [code] = 17 [message] = No user matches for specified terms ) ) ) On Aug 4, 9:43 am, Abraham Williams 4bra...@gmail.com wrote: What is the response

[twitter-dev] Re: Proper use of http://api.twitter.com/1/users/lookup.format with oAuth lib

2011-08-04 Thread EastSideDev
PS: I am actually testing to see if the string is numerical (user_id), or text (screen_name), and then calling using one of the following methods: $content = $oAuthConnection-get('users/lookup', array('user_id ' = $users_ids, 'include_entities' = 1)); OR $content =

Re: [twitter-dev] Re: Proper use of http://api.twitter.com/1/users/lookup.format with oAuth lib

2011-08-04 Thread Abraham Williams
That means that Twitter could not find any of the users you are looking up. Verify that you are requesting real users. Abraham - Abraham Williams | InboxQ http://inboxq.com/ | abrah.am | abrahamhttps://plus.google.com/114233674199568482864 + @abraham

[twitter-dev] Re: Proper use of http://api.twitter.com/1/users/lookup.format with oAuth lib

2011-08-04 Thread EastSideDev
mea culpa I had a space before the hyphen following screen_name. $content = $this-oAuthConnection-get('users/lookup', array('screen_name ' = $users_ids, 'include_entities' = 1)); Removing the space fixes the problem. On Aug 4, 10:21 am, Abraham Williams 4bra...@gmail.com wrote: That means

[twitter-dev] why are there tweets longer that 140 characters?

2011-08-04 Thread Jason Toy
I see some tweets going through my system that are over 140 characters, for example tweet id: 86955808553844736 is 284 characters. Here is the actual tweet: lt;*)))gt;lt; lt;*)))gt;lt; lt;*)))gt;lt; lt;*)))gt;lt; lt;*)))gt;lt; lt;*)))gt;lt; lt;*)))gt;lt; lt;*)))gt;lt; lt;*)))gt;lt; lt;*)))gt;lt;

Re: [twitter-dev] why are there tweets longer that 140 characters?

2011-08-04 Thread Jeremy Dunck
Characters are not necessarily a single byte. Which are you counting? On Thu, Aug 4, 2011 at 5:05 PM, Jason Toy jason...@gmail.com wrote: I see some tweets going through my system that are over 140 characters, for example tweet id: 86955808553844736  is 284 characters. Here is the actual