[twitter-dev] Opening multiple sockets with the streaming API

2009-10-12 Thread EastSideDev
I have been using 3-4 scripts, to collect data, using the streaming APIs. Each script opens up a socket and keeps it open, unless it's closed by twitter (maintenance, problems, etc.). Each script checks for a pulse, and re-opens the socket when the Twitter service is back in business. This was

[twitter-dev] Re: Opening multiple sockets with the streaming API

2009-10-12 Thread EastSideDev
No, I am using the same username and password. This used to work (limited success), but it is not working now. On Oct 12, 6:10 pm, Chad Etzel c...@twitter.com wrote: Are you using separate username/password combos to connect each socket? -Chad On Mon, Oct 12, 2009 at 7:26 PM, EastSideDev

[twitter-dev] Re: Opening multiple sockets with the streaming API

2009-10-12 Thread EastSideDev
;//twitter.com/jkalucki Services, Twitter Inc On Oct 12, 7:27 pm, EastSideDev eastside...@gmail.com wrote: No, I am using the same username and password. This used to work (limited success), but it is not working now. On Oct 12, 6:10 pm, Chad Etzel c...@twitter.com wrote: Are you using

[twitter-dev] Re: Opening multiple sockets with the streaming API

2009-10-12 Thread EastSideDev
connection across all your scripts so its shared. This way you reduce the load on yours and twitter's servers. On Mon, Oct 12, 2009 at 10:28 PM, EastSideDev eastside...@gmail.com wrote: This is not to circumvent the limits. I will open up another account for the second connection. On Oct 12

[twitter-dev] Separate terms using commas?

2009-10-13 Thread EastSideDev
I am using the streaming search API. If I have more than one term to search, do I need to separate those terms with commas? If these are hash tags, do I include the hash symbol? (#test1, #test2, #test3) I am experiencing some random problems, and I would like to eliminate this as the trouble

[twitter-dev] Re: Separate terms using commas?

2009-10-14 Thread EastSideDev
: On Oct 13, 4:09 pm, EastSideDev eastside...@gmail.com wrote: I am using the streaming search API. If I have more than one term to search, do I need to separate those terms with commas? If these are hash tags, do I include the hash symbol? (#test1, #test2, #test3)  I am experiencing

[twitter-dev] Re: Separate terms using commas?

2009-10-15 Thread EastSideDev
, Twitter Inc. On Oct 14, 8:38 pm, EastSideDev eastside...@gmail.com wrote: It seems as neither is working. I tried #test1, #test2, #test3 and #test1 #test2 #test3, but I got no data (streaming API), and I let it run for hours. When I used only a single term #test1, I immediately started

[twitter-dev] Not getting a response from statuses/followers

2009-10-21 Thread EastSideDev
I have the following piece of PHP code: $baseURL=' http://twitter.com/statuses/followers/'; $name='eastsidedev'; $followersURL=$baseURL.$name..json; $response = file_get_contents($followersURL); The script is on a Linux server. When I run it using my local Firefox browser, I get

[twitter-dev] Re: XML parsing error when using JSON search.twitter.com/search.json?

2009-10-25 Thread EastSideDev
I am having similar problems using file_get_contents, with certain API calls, and JSON, but it works fine with other API calls. On Oct 24, 10:11 am, TrixJo tri...@gmail.com wrote: Hello I am trying to search twitter content using a mySQL/PHP entry in a table: $contents = file_get_contents(

[twitter-dev] Re: XML parsing error when using JSON search.twitter.com/search.json?

2009-10-25 Thread EastSideDev
For what it's worth (if it helps debug the problem), my code was working just fine, until about two weeks ago, and then the same piece of code, started returning the failed to open stream error. On Oct 25, 10:20 am, TrixJo tri...@gmail.com wrote: I have used the ampersand which is displayed in

[twitter-dev] USERS/SHOW and rate limits

2009-11-14 Thread EastSideDev
I am trying to use USERS/SHOW to get users information, and running into the reached the rate limit of 150 API calls in one hour. My user ID is supposedly whitelisted. I know that the USERS/SHOW does not require authentication, but I was under the impression that if I did call it using curl, with

[twitter-dev] Rate limits

2010-01-24 Thread EastSideDev
When I get the rate_limit_status.xml, this is what I get: Array ( [hash] = Array ( [hourly-limit] = Array ( [content] = 2 [attributes] = Array ( [type] = integer

[twitter-dev] Re: Rate limits

2010-01-24 Thread EastSideDev
, ryan alford ryanalford...@gmail.com wrote: If I am not mistaken, the reset time in seconds is the number of seconds from 1/1/1970. Ryan Sent from my DROID On Jan 24, 2010 8:42 PM, EastSideDev eastside...@gmail.com wrote: When I get the rate_limit_status.xml, this is what I get: Array

[twitter-dev] Re: Rate limit HTTP response

2010-01-28 Thread EastSideDev
made, suddenly down to 0. Looks to be some kind of API issue here... On Jan 27, 11:59 pm, EastSideDev eastside...@gmail.com wrote: Prior to doing a rate-limit API, I always get thehttp://twitter.com/account/rate_limit_status.xml(usingmy credentials). Every once in a while, I get an HTTP

[twitter-dev] Bad ID - suspended - banned

2010-03-02 Thread EastSideDev
If I get an HTTP response 404 (users/show for example), will I always get the same error code ['error']='Bad ID'? or are there different codes to tell me if this user has been suspended, banned, etc.?

[twitter-dev] Suspended users

2010-05-02 Thread EastSideDev
When I call users/show, if the user is not found, then I get a 'Not Found' error. If the user exists, but has been suspended by Twitter, what's the error message? Are there different messages for temporary suspension, and permanent suspension?

[twitter-dev] Re: Suspended users

2010-05-02 Thread EastSideDev
Still not clear on one thing: do I have to make another call, or will the message be: User has been suspended. ? On May 2, 2:59 pm, Abraham Williams 4bra...@gmail.com wrote: http://hurl.it/hurls/5c2870b54a119a17cea0174ba06ac96ff90fd3e8/57bb4b6... On Sun, May 2, 2010 at 14:50, EastSideDev

[twitter-dev] oAuth and callback function

2010-06-30 Thread EastSideDev
I changed the url for my callback function, and updated that information in my application settings on the twitter API site. The problem I am running into, is that I am still getting the old callback URL. Is there a lag time, before changes take effect?

[twitter-dev] Re: oAuth and callback function

2010-06-30 Thread EastSideDev
are getting the old callback after updating the code in the request token step? George On Wed, Jun 30, 2010 at 9:23 PM, EastSideDev eastside...@gmail.com wrote: I changed the url for my callback function, and updated that information in my application settings on the twitter API site

[twitter-dev] Error following with oAuth

2010-07-17 Thread EastSideDev
I am using the twitteroauth PHP library. It's working fine for status updates, but I am getting an error when I try to use it for notificaitons/follow. This is not an issue of incorrect/expired tokens, etc, as I am doing two successive calls from the same app. The first does a status update, and

[twitter-dev] Re: Error following with oAuth

2010-07-17 Thread EastSideDev
- Abraham Williams | Hacker Advocate |http://abrah.am @abraham |http://projects.abrah.am|http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Sat, Jul 17, 2010 at 10:28, EastSideDev eastside...@gmail.com wrote: I am using the twitteroauth PHP library. It's working fine

[twitter-dev] oAuth down again?

2010-07-20 Thread EastSideDev
oAuth was working a few hours ago, I'm pretty sure it's down again. To avoid having us guess, can Twitter have a link to a page to give us up to the date status?

[twitter-dev] Maximum length of variables in fdata structures

2010-08-03 Thread EastSideDev
Where can I look up the maximum length of variables in data structures (id, name, screen_name, etc.)?

[twitter-dev] Re: #newtwitter and the API

2010-09-22 Thread EastSideDev
As app developers, do we need to re-register for the new #newtwitter? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your

[twitter-dev] Streaming API and authentication

2010-11-02 Thread EastSideDev
I've been using the streaming library in one of my apps. My understanding is that the streaming API still supports Basic Authentication, so I don't need to make any changes. My app did stop working with messages indicating that I am not being properly authenticated. Do I need to switch to oAuth

[twitter-dev] Desktop applications and PIN for oAuth

2010-11-02 Thread EastSideDev
Has Twitter considered allowing mobile applications to use tokens, instead of a PIN? It's really easy for a user to copy and paste a PIN is it's a desktop, but not so much so when the desktop is a mobile phone. Any thoughts? -- Twitter developer documentation and resources:

[twitter-dev] oAuth reporting a status update error when none exists

2010-11-29 Thread EastSideDev
I have an application that uses oAuth to post a tweet on behalf of a user. I noticed today that when I do a status update, I'm getting a Status is a duplicate error message, when in fact the status posted correctly. I have not changed my code, and I am using the Twitter oAuth library (same code

[twitter-dev] Re: oAuth reporting a status update error when none exists

2010-11-29 Thread EastSideDev
This email is: [ ] shareable [x] ask first [ ] private. On Mon, Nov 29, 2010 at 20:18, EastSideDev eastside...@gmail.com wrote: I have an application that uses oAuth to post a tweet on behalf of a user. I noticed today that when I do a status update, I'm getting a Status is a duplicate error

[twitter-dev] Re: oAuth reporting a status update error when none exists

2010-11-30 Thread EastSideDev
- Abraham Williams | Hacker Advocate | abrah.am @abraham https://twitter.com/abraham | github.com/abraham | blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Mon, Nov 29, 2010 at 23:58, EastSideDev eastside...@gmail.com wrote: I double-checked my code, and I'm only

[twitter-dev] Re: oAuth reporting a status update error when none exists

2010-11-30 Thread EastSideDev
bess...@gmail.com wrote: I am afraid Twitter has added this error - don't allow any duplicate tweet at least from Twitter API. I have to add random text to bypass this 403 error. On Nov 30, 11:11 am, EastSideDev eastside...@gmail.com wrote: I am getting this:     [request] = /1/statuses

[twitter-dev] Re: oAuth reporting a status update error when none exists

2010-12-01 Thread EastSideDev
, Twitterhttp://twitter.com/themattharris On Tue, Nov 30, 2010 at 5:34 PM, EastSideDev eastside...@gmail.com wrote: I am not doing any duplicates. I tested the app on a brand new Twitter account, and did only a single status update. The update was actually done, but I am still receiving the error

[twitter-dev] My rate limit changed

2011-01-18 Thread EastSideDev
It seems as if overnight, my rate limit was changed from 20K per hour, to 150 per hour. What happened? My application is dead in the water :-( -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements

[twitter-dev] Re: JSON parser code in PHP

2011-01-27 Thread EastSideDev
json_decode($json_string, TRUE) returns an array On Jan 26, 11:43 pm, Adriaan Pelzer adriaan.pel...@gmail.com wrote: Just use json_decode($json_string) It returns an object by default, but there's a flag to make it return and array. Can't remember off the top of my head, buy chech on

[twitter-dev] Policy on opening up more than one stream using the same credentials

2011-03-09 Thread EastSideDev
I am developing an application, and I need to open up two streams for development/testing purposes (using the streaming API). Is it against policy to open up two streams using the same set of credentials. This is not an attempt to get around rate limitations, and would only be two streams. --

[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] Re: Proper use of http://api.twitter.com/1/users/lookup.format with oAuth lib

2011-08-04 Thread EastSideDev
is: [ ] shareable [x] ask first [ ] private. On Thu, Aug 4, 2011 at 08:58, EastSideDev eastside...@gmail.com wrote: 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

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

2011-08-04 Thread EastSideDev
, 2011 at 08:58, EastSideDev eastside...@gmail.com wrote: 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

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

2011-08-04 Thread EastSideDev
?screen_name=abraham | github.com/abraham | blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Thu, Aug 4, 2011 at 10:12, EastSideDev eastside...@gmail.com wrote: PS: I am actually testing to see if the string is numerical (user_id), or text (screen_name), and then calling