[twitter-dev] PHP Sample for streaming sample call

2009-09-23 Thread Dharmesh
Greetings, I'm trying to get the streaming sample (GET /1/statuses/sample.json) call working in PHP. I was able to get the POST to /track.json working fine -- but having trouble getting access to the sample stream. Anyone have working example PHP code I could use for this? I think I'm close, b

[twitter-dev] Re: Twitter API: I keep hitting 502 status codes on /statuses/user_timeline

2009-09-23 Thread kovshenin
Here's a sample entry from my logs if that would help you: 23.09.2009 02:51:16 Request: aroundmarketing 23.09.2009 02:51:16 Error code: 502 23.09.2009 02:51:16 API Limit: 19103 23.09.2009 02:51:16 Response: Array ( [url] => http://twitter.com/statuses/user_timeline/aroundmarketing.json?id=ar

[twitter-dev] Re: I'm back baby

2009-09-23 Thread jmathai
<> Isn't exactly accurate. Except in the sense that politicians use the word. On Sep 22, 9:26 am, "Dean Collins" wrote: > I'm back baby, bigger and badder than before -www.MyTwitterButler.com >   is no.MyPostButler.com >   fe

[twitter-dev] Re: whitelisting of IP for application - does it applies for all users

2009-09-23 Thread twittme_mobi
Hi Chad, You were right!Thanks for the hint.The point is: 1)I am moving to another hosting account and my new IP address is 69.175.24.45 , but just for accepting the client connections.I have an outband IP - probably NAT server or some GATEWAY with IP address of 69.175.29.34. 2) I already asked

[twitter-dev] Re: I'm back baby

2009-09-23 Thread Dean Collins
No they didn't force me to, I chose to. (also I kept the domain- just doing a redirect to the new brand name). However I haven't complied at all about changing the way the app works as they are yet to show how it is detrimental to twitter ecosphere. Like I said weird part is how their lawye

[twitter-dev] Re: Are account suspensions permanent?

2009-09-23 Thread Waldron Faulkner
For the record, it's not because I have an account that's suspended, it's because I want to know whether my analytics platform I can permanently stop tracking suspended accounts, or whether I have to periodically check back in to see if they're still suspended. I wonder what the rate of reinstatem

[twitter-dev] Re: Update on the Retweet API (we collapse retweets, not you & we're adding statuses/retweets)

2009-09-23 Thread Martin Dufort
I'm seeing retweet_details information appearing in the payload of the statuses/show call. Is this normal behavior? Try this curl http://twitter.com/statuses/show/4297637412.xml Thanks - Martin On Sep 18, 4:57 pm, Marcel Molina wrote: > The Retweet API launch is close at hand. You might have a

[twitter-dev] How do I get a hold of the preview version of the GeoLocation API?

2009-09-23 Thread HardipSingh
I'm told that developers will be given access to a preview version of this API, so that we can start building code around it. How do I go about getting access to this preview API? Please advise.

[twitter-dev] Search calls ever moving into REST API?

2009-09-23 Thread Aaron Rankin
I've seen talk of moving Search API calls into the REST API for a while now. Twitter, are there any plans or dates that you can discuss yet? Is this still planned at all? This will be very useful to my application because of REST's account- based rate limiting. I'm constantly being Search rate li

[twitter-dev] Re: How do I get a hold of the preview version of the GeoLocation API?

2009-09-23 Thread Raffi Krikorian
hello. we've released the specifications of the API, and those are available at apiwiki.twitter.com. the actual API should be launched on the order of weeks. thanks! I'm told that developers will be given access to a preview version of this API, so that we can start building code around

[twitter-dev] Re: Update on the Retweet API (we collapse retweets, not you & we're adding statuses/retweets)

2009-09-23 Thread glenn gillen
Maybe this isn't the right place, but... >From a developer perspective I love the retweet API and it's potential uses. As a regular twitter user, I'm less thrilled. Once this is in place, is it going to fundamentally what/how I see my public timeline? If the mockups are anything to go by, it loo

[twitter-dev] Direct message ID question

2009-09-23 Thread unlimit
Hi, Does Twitter use the same range for Direct messages id and Statuses Id? Can DM id be equal Status Id? Thanks.

[twitter-dev] Allowing inner window modification

2009-09-23 Thread spfldnet
Since we have the full range of colors for our text, wouldn't it be nice to have the full range of colors for the inner display page that sits over the background? I've been through all the wiki and help discussion pages and I'm sure it's in there somewhere, but I can feel my hair growing as I tr

[twitter-dev] Re: Search calls ever moving into REST API?

2009-09-23 Thread John Kalucki
The Search API is served from a totally different infrastructure than api.twitter.com. As such, it has limits that are tuned to protecting a very different back-end. Even if Search was served through the api.twitter.com stack, the policies would still be driven by the back- end. If you are hittin

[twitter-dev] Odd behavior with the search API when using since_id

2009-09-23 Thread James Teters
Hello, This has just appeared in the last few days. When I perform a search with the search API I keep track of the newest status id so I can pass that back when doing the next query (as since_id) so that only tweets with a status id greater than since_id are returned. Oddly, beginning yesterday

[twitter-dev] Re: About my MASHUP!

2009-09-23 Thread joeygreen...@gmail.com
I'm already registered my app, am implementing OAuth and am still in development. I don't know of any approval process. Maybe I'm missing something. On Sep 22, 6:36 pm, sandropype wrote: > Hi! > > I developed a mashup with the twitter api. very simple but works :) > > what next step to get into

[twitter-dev] Twitter+Oauth on iPhone: How does one logout?

2009-09-23 Thread joeygreen...@gmail.com
I'm implementing Twitter+Oauth on the iPhone using http://github.com/bengottlieb/Twitter-OAuth-iPhone. I'm creating a login/logout button/feature like facebook connect uses. I've got the login working and am wondering how does one logout using Oauth?

[twitter-dev] Re: Are account suspensions permanent?

2009-09-23 Thread Adam Cloud
Well, as it stands i've seen 5 people i know go through "suspensions" 4 of them got it back, the other did not and did what i stated. So unfortunately you can't just rule the suspended out entirely, but maybe you could take them out of your main processing and have a job that runs every night to c

[twitter-dev] Re: Twitter+Oauth on iPhone: How does one logout?

2009-09-23 Thread JDG
There's no logout for OAuth, per se, as I understand it. It's just a matter of not sending the tokens any longer. On Wed, Sep 23, 2009 at 12:25, joeygreen...@gmail.com < joeygreen...@gmail.com> wrote: > > I'm implementing Twitter+Oauth on the iPhone using > http://github.com/bengottlieb/Twitter-

[twitter-dev] Re: Odd behavior with the search API when using since_id

2009-09-23 Thread Beier
Same thing here, it started to happen since yesterday. When doing searches with parameter from:username and since_id, sometimes I got the tweet with since_id back as well. It only happens some times, not every time, so I suspect it's a bug other than API change. Any idea? On Sep 23, 9:40 am, Jam

[twitter-dev] Re: Deleting a Retweeted Tweet

2009-09-23 Thread Dewald Pretorius
I definitely do not like the fact the a deletion of a tweet also deletes the retweets. It means someone else's actions can subtract content from my time line and completely negate an action that I performed on my account, namely a retweet. To be very honest, I think Twitter is oiling a wheel that

[twitter-dev] Re: Odd behavior with the search API when using since_id

2009-09-23 Thread Chad Etzel
Thanks for reporting this. If there is a way for you to capture request/response logs when this happens it will help our search team to track this down. Since it is happening inconsistently it may mean that one of the servers is acting funny, and the HTTP headers could help track that down. -Chad

[twitter-dev] Re: Update on the Retweet API (we collapse retweets, not you & we're adding statuses/retweets)

2009-09-23 Thread Cameron Kaiser
> As a regular twitter user, I'm less thrilled. Once this is in place, > is it going to fundamentally what/how I see my public timeline? If the > mockups are anything to go by, it looks less useful. If someone I'm > following retweets something from SarahKSilverman, I don't want to see > SarahKSil

[twitter-dev] Re: Update on the Retweet API (we collapse retweets, not you & we're adding statuses/retweets)

2009-09-23 Thread Joseph Cheek
I think the new RT API is an attempt to turn related tweets into a computer-parseable conversation. Humans can fairly easily determine what it part of an existing conversation by reading the different tweets and using contextual clues, but computers cannot. The small benefit to us humans is that

[twitter-dev] SERIOUS Problem With Cursors In JSON Followers/Friends Ids

2009-09-23 Thread Dewald Pretorius
I've run into a serious issue and I don't know if I am overlooking something. When retrieving ids with cursoring, and then doing a PHP json_decode on the data, the cursor value is converted to an exponentional number expression. For example: http://twitter.com/followers/ids/barackobama.json?cur

[twitter-dev] Re: How do I get a hold of the preview version of the GeoLocation API?

2009-09-23 Thread HardipSingh
I saw the api spec already. I guess I was under the assumption that an updated version of the API that included the location functionality would be available for integration testing. Looks like I'll have to just code the components on my end and just wait until the new API goes live to test. Th

[twitter-dev] Re: SERIOUS Problem With Cursors In JSON Followers/Friends Ids

2009-09-23 Thread Joseph Cheek
from http://us2.php.net/json_decode: |In PHP <= 5.1.6 trying to decode an integer value that's > PHP_INT_MAX will result in an intger of PHP_INT_MAX. In PHP 5.2+ decoding an integer > PHP_INT_MAX will cause a conversion to a float. Neither behaviour is perfect, capping at PHP_INT_MAX is margina

[twitter-dev] Re: Deleting a Retweeted Tweet

2009-09-23 Thread Adam Cloud
b) Completely agree c) I thought the reason for even implementing this despite the fact that most 3rd party clients already handle retweets by creation of a new tweet, was to allow text that's being sent by 100's 1000's and so on to be stored in a single location to save on database space as well

[twitter-dev] Re: SERIOUS Problem With Cursors In JSON Followers/Friends Ids

2009-09-23 Thread Dewald Pretorius
All that Twitter needs to do to solve this problem is to build the JSON out with next_cursor and previous_cursor as string values. I.e., the JSON data should contain: "next_cursor":"12398712981212987","previous_cursor":"-12398712981212987" I don't know what it will do to Java apps, but for PHP

[twitter-dev] Re: Update on the Retweet API (we collapse retweets, not you & we're adding statuses/retweets)

2009-09-23 Thread hansamann
One reason for example is being on Google App Engine and having a 30 second limit. I cannot keep the connection open. Another reason is I am not interested in everyones retweets, just the retweets (and in this case all, not just a sample) of that twitter user's friends. What do you think? Cheer

[twitter-dev] Re: Update on the Retweet API (we collapse retweets, not you & we're adding statuses/retweets)

2009-09-23 Thread hansamann
Is there a way to connect to the streaming api and only get my friends retweets? Or would I get *everyones* retweets and have to filter millions of unwanted messages out? On Sep 22, 9:49 pm, John Kalucki wrote: > Retweetaggregators should use the Streaming API /1/statuses/sample > method to gath

[twitter-dev] Re: Update on the Retweet API (we collapse retweets, not you & we're adding statuses/retweets)

2009-09-23 Thread John Kalucki
Retweets will be searched by the follow parameter on the filter resource. The intention is that you get all statuses (including retweets) where any user_id field matches your predicate list. So, tweets, replies and both ends of retweets. If GAE cuts you off after 30 seconds, then you shouldn't op

[twitter-dev] WEIRD DISPLAY

2009-09-23 Thread ajibanda
ok fine.. so i finally found a way to make it work with oauth and twitter API. now the problem is it is returnig me values I don't want. To be specific, after posting something using this code $content = $to->OAuthRequest('http://twitter.com/statuses/update.xml', array('status' => $linkpath.' -

[twitter-dev] Re: SERIOUS Problem With Cursors In JSON Followers/Friends Ids

2009-09-23 Thread Chad Etzel
Hello, As Joseph points out, PHP on a 64-bit system can handle these numbers. If you really want this data as a string, you could write a regex in PHP to alter the json string to wrap the digits in quotes before sending it through json_decode(), but that would be a pretty gnarly kludge. -Chad

[twitter-dev] Re: tweeting with oauth

2009-09-23 Thread ajibanda
I've been using Abraham's library and combined it with your library to do some logging in and posting using PHP. I'm trying to create actually a module for joomla that would do some logging and posting at the same time after clicking a link. It seems working except for the part that it returns an

[twitter-dev] Re: Update on the Retweet API (we collapse retweets, not you & we're adding statuses/retweets)

2009-09-23 Thread hansamann
Thanx, I'll give that a try. On Sep 23, 8:11 pm, John Kalucki wrote: > Retweets will be searched by the follow parameter on the filter > resource. The intention is that you get all statuses (including > retweets) where any user_id field matches your predicate list. So, > tweets, replies and both

[twitter-dev] Re: Update on the Retweet API (we collapse retweets, not you & we're adding statuses/retweets)

2009-09-23 Thread hansamann
John, I assume the method to use would then be http://stream.twitter.com/1/statuses/filter.format It does not mention that it includes retweets, but it will once the API is live? Cheers Sven On Sep 23, 9:38 pm, hansamann wrote: > Thanx, I'll give that a try. > > On Sep 23, 8:11 pm, John Kaluc

[twitter-dev] Re: WEIRD DISPLAY

2009-09-23 Thread Michael Steuer
Don't echo $content. On Sep 23, 2009, at 8:35 PM, ajibanda wrote: ok fine.. so i finally found a way to make it work with oauth and twitter API. now the problem is it is returnig me values I don't want. To be specific, after posting something using this code $content = $to->OAuthRequest(

[twitter-dev] Re: Deleting a Retweeted Tweet

2009-09-23 Thread Josh Roesslein
I think the extra meta data the retweet API brings is a good addition. Currently you have to use up some of your 140 chars for the retweet heading + username ("Rt @whoever ..."). So you might get stuck having to truncate the original tweet. With the retweet API you no longer need to include that i