[twitter-dev] Re: Twitter Geo stuff
Hello Ryan, Is it possible to have test account that could help us to verify that what we are building (tools, libraries,...) are bug free ? Thanks in advance, Didier On Oct 10, 2:10 am, Ryan Sarver rsar...@twitter.com wrote: There is going to be a read-only geo_enabled flag on the user object that denotes whether or not the user has enabled geolocation. For security reasons, the user will need to come totwitter.com to change the setting. Best, Ryan On Fri, Oct 9, 2009 at 8:18 AM, Axthelm caxth...@openpathproducts.com wrote: On that note, is it known if the setting to opt in will be exposed in the account/update_profile API? On Oct 4, 4:13 am, Rich rhyl...@gmail.com wrote: TheGeotag is only populated firstly if the user posting the tweet has opted in viaTwitter'swebsite (which hasn't been enabled yet) and secondlyGeodata was submitted with that tweet On Oct 4, 4:41 am, Patrick kenned...@gmail.com wrote: I have been reading about the TwitterGeostuff - it all sounds exciting - and I'd like to start playing with it even it's not fully prime time. Supposedly it's available to some extent via the API. I see the geo/ tag in my feed, and I wonder how I can opt in and get it populated. Also, can someone provide an example of how the location field could be populated - I have cURL examples to update location, and I have my location info via my Nokia GPS-assisted phone, so I'd like to see an example on now to simulate the future geo/ feature, i.e., update location field as if it were geo/, if I cannot yet opt in to geo/.- Hide quoted text - - Show quoted text -
[twitter-dev] simple update and authentication
I am new to twitter api. a client asks me to do something simple with their web site with twitter. the client asks to create a text field that let user type message and click a update button then send the message to twitter. I follow this example and ok: http://woork.blogspot.com/2007/10/twitter-send-message-from-php-page.html but my client would like to let the users sign in to their own twitter account to create a session first. then the web page will update the message using the cookie and session information(first check has the user signed in to their account already). is it possible? the above example saves the username and password in the program. it seems simple but i am new to twitter api that i do not how to get started. anyone would advise? thanks a lot.
[twitter-dev] Re: about OAuth
Yes you can.. On 10 oct, 20:05, Oguzhan asp...@gmail.com wrote: Hi Folks, I'm using OAuth in my twitter application and I was wondering something. Have received the user's permission by OAuth. I saved my database oauth_token after for example one day later. Can I update twitter status with my saved oauth_token?
[twitter-dev] Re: Where in API docs to get first tweet only
You can check out the error codes here: http://apiwiki.twitter.com/HTTP-Response-Codes-and-Errors http://apiwiki.twitter.com/HTTP-Response-Codes-and-ErrorsAbraham On Sat, Oct 10, 2009 at 18:14, Scott Haneda talkli...@newgeo.com wrote: Thank you. I think I just got booted from hitting the public timeline too much. I requested whitelisting via the whitelist form. Since I am not authenticating, and am just curl'ing the json resource for the public timeline, is there a way for me to tell what is really happening? I currently get an http 400 bad request, which I am betting is a throttle/block. Is it possible to determine the remaining number of queries I am allowed via some command? Thanks. -- Scott * If you contact me off list replace talklists@ with scott@ * On Oct 10, 2009, at 3:42 PM, John Kalucki wrote: http://apiwiki.twitter.com/Streaming-API-Documentation -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham Project | http://fireeagle.labs.poseurtech.com This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: Issue with API?
The following data in user objects was deprecated as it is known to be unreliable. Use http://apiwiki.twitter.com/Twitter-REST-API-Method:-friendships-show instead. Abraham On Sat, Oct 10, 2009 at 11:08, ryan alford ryanalford...@gmail.com wrote: I started thinking that also, but the twitter website shows this person as a follower of mine. So the tag should show as true, correct? On Oct 10, 2009, at 12:03 PM, Dewald Pretorius dpr...@gmail.com wrote: In the authenticated friends timeline, I believe following tells you whether that Twitter account is following you or not. Dewald On Oct 10, 11:55 am, eclipsed4utoo ryanalford...@gmail.com wrote: Does anybody know if there is an issue with the friends_timeline REST method? When I do it, it returns tweets from all of my friends. However, the following XML tag is false. How can that be? They are my friend if I am following them, correct? http://twitter.com/statuses/friends_timeline.xml and this is the first status that is returned. status created_atSat Oct 10 14:36:56 + 2009/created_at id4761273314/id text Disk2vhd Turns Your PC Into a Virtual Machine:http:// bit.ly/1z6lNa /text source a href=http://www.tweetdeck.com/; rel=nofollowTweetDeck/a /source truncatedfalse/truncated in_reply_to_status_id/ in_reply_to_user_id/ favoritedfalse/favorited in_reply_to_screen_name/ user id43065412/id nameGeorge Dan Pirvu/name screen_namegamearchitect/screen_name locationa giant cubicle/location description Programming games since 1997. Psychologist, internet marketer, horrible chess player. /description profile_image_url http://a3.twimg.com/profile_images/280718799/georgep_normal.jpg /profile_image_url urlhttp://www.randombyte.com/url protectedfalse/protected followers_count7643/followers_count profile_background_color9AE4E8/profile_background_color profile_text_color33/profile_text_color profile_link_color0084B4/profile_link_color profile_sidebar_fill_colorDDFFCC/ profile_sidebar_fill_color profile_sidebar_border_colorBDDCAD/ profile_sidebar_border_color friends_count8148/friends_count created_atThu May 28 07:08:07 + 2009/created_at favourites_count0/favourites_count utc_offset7200/utc_offset time_zoneBucharest/time_zone profile_background_image_url http://a3.twimg.com/profile_background_images/19709051/olivemanna_isl ... /profile_background_image_url profile_background_tiletrue/profile_background_tile statuses_count656/statuses_count notificationsfalse/notifications geo_enabledfalse/geo_enabled verifiedfalse/verified followingfalse/following /user geo/ /status So how can that be? -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private.
[twitter-dev] Re: where will we be next year
On the internet On Sat, Oct 10, 2009 at 10:00, thomas cavanaugh tomros0...@gmail.comwrote: where will twitter be in one year? On Sat, Oct 10, 2009 at 12:44 AM, Michael Steuer mste...@gmail.comwrote: Is there a development question here? On Oct 9, 2009, at 7:16 PM, tom tomros0...@gmail.com wrote: With the 2010 elections coming soon,and an angry electorate I can see twitter playing an unheard of influence on these elections.. as i see it the tasks will be KEEP IT ACCURATE,keep it brief,and keep it relevant The pols are allready sitting up and taking notice, NOTE;;the 18 to 30 year old electors COULD CONTROL EVERY ELECTION, if they chose to vote -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: where will we be next year
In the tubes! But maybe on dump trucks? Certainly not in the Senate any longer however. On Sun, Oct 11, 2009 at 6:19 AM, Abraham Williams 4bra...@gmail.com wrote: On the internet On Sat, Oct 10, 2009 at 10:00, thomas cavanaugh tomros0...@gmail.com wrote: where will twitter be in one year? On Sat, Oct 10, 2009 at 12:44 AM, Michael Steuer mste...@gmail.com wrote: Is there a development question here? On Oct 9, 2009, at 7:16 PM, tom tomros0...@gmail.com wrote: With the 2010 elections coming soon,and an angry electorate I can see twitter playing an unheard of influence on these elections.. as i see it the tasks will be KEEP IT ACCURATE,keep it brief,and keep it relevant The pols are allready sitting up and taking notice, NOTE;;the 18 to 30 year old electors COULD CONTROL EVERY ELECTION, if they chose to vote -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Mentions included in replies?
Hi All, why do we need mentions included in the result of statuses/ replies.xml since we have a separate method for mentions.Now the result is that they appear as replies without populating the in_reply_to_status_id. Thanks.
[twitter-dev] Re: Twitter rejecting show_user request
It looks like a random issue with that account. Try sending a...@twitter.coman email. Abraham On Tue, Oct 6, 2009 at 23:15, ArnieLapinig arnie.lapi...@gmail.com wrote: yes, the twitter id comes from a twitter hashtag search that returns an xml document. i'm using show.xml to get the location of the twitter id. On Oct 6, 5:57 pm, JDG ghil...@gmail.com wrote: Are you sure that the ID in question exists? On Tue, Oct 6, 2009 at 16:58, ArnieLapinig arnie.lapi...@gmail.com wrote: Hello, Just started developing a Twitter app... I'm using a php script with CURL to issue a show_user request, and i'm getting this response: Warning: file_get_contents(?xml version=1.0 encoding=UTF-8? hash request/users/show.xml?user_id=4667006333/request errorNot found/error /hash ) [function.file-get-contents]: failed to open stream: No such file or directory Does Twitter still allow Basic Authorization? Do I have to register an app with Twitter in order to get a valid response when using the REST API? Thanks for helping out... -- Internets. Serious business. -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: Search returns non-existing tweets
Search runs of of a different database then the REST API. Currently deleted statuses do not get propagated to the Search database. It is a know issue: http://code.google.com/p/twitter-api/issues/detail?id=164 On Sun, Oct 4, 2009 at 04:31, fiskeben fiske...@gmail.com wrote: Hi, When searching using geocod, max_id, pagination and since (I included them all since I don't know which is/may be causing the problem) I get duplicate results and/or deleted tweets. For example: This search returns several duplicates of the same tweet but with different IDs: http://search.twitter.com/search.atom?geocode=55.642143,11.844635,65.0kmmax_id=4599490807page=5q=since:2009-10-04rpp=100 (search for the hashtag #ifiwonthelottoiwould). For instance, IDs 4593343571 and 4593689550 look the same but only one of them exists. Now, this may have been a spammer or a person who doesn't use Twitter properly, but still the deleted/non existent tweets shouldn't appear in a search result? I experience this for other users as well. Take for example this search: http://search.twitter.com/search.atom?geocode=55.642143,11.844635,65.0kmmax_id=4599490807page=6q=since:2009-10-04rpp=100 and see the IDs 4592172223 and 4592163538. Am I doing something wrong? -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: http vs https for twitter api calls
Any time you making authenticated calls there is the possibility of return protected status/account info which should be considered secret. I personally always use https when interacting with the Twitter API. Better to be safe then running the risk of accidentally having security issues. Plus you don't have to worry about logic of when to use a secure connection and when not to. Abraham On Sat, Oct 3, 2009 at 15:03, Andy Freeman ana...@earthlink.net wrote: The authenticated calls are signed with a 'secret' but don't return secret information. The /oauth calls are also signed with a secret but do return secret information. On Oct 3, 10:16 am, Adam Shannon a...@ashannon.us wrote: HTTPS is a secure and encrypted transfer protocol for HTTP. HTTPS is designed to hide sensitive data (passwords, credit card numbers) from malicious persons. So it's safe to say that whenever you will be transferring sensitive data (OAuth, passwords) you should use HTTPS. On Sat, Oct 3, 2009 at 12:03 PM, Andy Freeman ana...@earthlink.net wrote: When should I use https instead of http in twitter api calls? I'd guess that it's okay to use http for oauth-authenticated /show/ user and maybe /statuses/update, but what about the four oauth calls (/ oauth/request_token, /oauth/authorize, /oauth/authenticate, and /oauth/ access_token)? Thanks, -andy -- - Adam Shannon (http://ashannon.us) -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: Searching by status id (Does it exist?)
I can't think of any option other then #2 that will do what you are looking for. Abraham On Thu, Oct 1, 2009 at 23:45, Ryan Bell ryan.j.b...@gmail.com wrote: We have a list of Twitter Status Id's and need to get the message content for all of the messages in a single xml stream. (non sequential and can be any # range) ex) 4540244431,3977530424,4544923774,4540244431,3977530424,4544923774 Options: 1. Use the Search API (or standard API) to get the messages in our list. It seems like we have looked everywhere to find an API method to let us do this. We cannot find one. Does it exist? If not, does anyone have a suggestion as to how to get around this problem? 2. Get Each Message Individually It would be very inefficient to have to call the /status/show/id.xml method for each message as their could be a hundred or more. Thank you in advance! Any help is much appreciated Ryan -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: 400 status error while accessing RSS feed
Are you on a cloud hosting service? Someone else might be eating up your requests. Use the account/rate_limit_status to verify if you are using all of your available API calls or not. http://apiwiki.twitter.com/Twitter-REST-API-Method:-account rate_limit_statushttp://apiwiki.twitter.com/Twitter-REST-API-Method:-account%C2%A0rate_limit_status Abraham On Fri, Oct 2, 2009 at 15:55, timgut tim...@gmail.com wrote: I develop a website that is reading from a Twitter RSS feed for @democraticgovs (http://twitter.com/statuses/user_timeline/ 38477209.rss). Though we parse and display the results from the RSS feed on the home page of the site, a cron job only updates the RSS object itself in our system twice an hour. Since we launched two days ago, we've noticed that Tweets are not updating on our side. When I attempt to force the RSS feed to update internally, I get a 400 response. I realize there is a limit of 150 REST requests/hour, but I'm fairly certain we are not exceeding that threshold; since a cron job controls those request -- website visits have no affect on this number. Any ideas? -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: Oauth_callback_url
I'm currently working on the next version of the library which will include oauth_callback support. In the meantime you can read how the flow is changed with oauth_callback here: http://groups.google.com/group/twitter-api-announce/browse_thread/thread/472500cfe9e7cdb9?hl=entvc=2 http://groups.google.com/group/twitter-api-announce/browse_thread/thread/472500cfe9e7cdb9?hl=entvc=2 Abraham On Thu, Oct 1, 2009 at 14:21, Michael Steuer mste...@gmail.com wrote: Right, that wasn’t the question :) The oAuth spec allows for an additional, optional parameter “oauth_callback” to be passed, which overrides the callback URL that’s set in the application’s setting screen. So if that paramater isn’t passed, it should redirect to the callback URL in the settings. When the parameter IS set, it should redirect to the URL encoded in the oauth_callback parameter... The specific library, which I’m sure a good chunk of the devs that use PHP also us, doesn’t seem to facilitate this optional parameter. My question is if anyone has had any luck extending that library to facilitate the oauth_callback override... Thanks, Michael. On 10/1/09 12:16 PM, Christian Nunciato cnunci...@gmail.com wrote: Not sure I understand the question -- I haven't used that library specifically -- but provided the URL you pass in with the call to /oauth/request_token matches the one specified in the Twitter application's settings screen, then the redirect to that callback URL (which Twitter handles, after the user approves the request) will contain a querystring parameter named oauth_verifier. Use the value of that parameter to promote your auth token to an access token. Chris On Thu, Oct 1, 2009 at 10:53 AM, Michael Steuer mste...@gmail.com wrote: I believe that when it’s properly passed, Twitter responds to the oauth_callback_url parameter? (ie. Redirecting the user back to the url passed in that parameter upon successful authentication)... I’m using @abraham’s TwitterOAuth PHP library – does anyone have any idea how to make the callback_url work with this? Thanks, Michael. -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: RETRY_AFTER header for Search API
You could probably force the RETRY_AFTER by doing a bunch of hits and maxing out the rate limit. Abraham On Thu, Oct 1, 2009 at 12:54, Tim Rosenblatt trose...@gmail.com wrote: Hey Twitter API devs, We're working on daemons to poll the search API, and we want to make sure that our code will behave correctly when it encounters a RETRY_AFTER header. We think our code should work correctly, but we'd like to be able to test it with a real RETRY_AFTER header. Could you add the option for us to add a RETRY_AFTER=X parameter to the HTTP request that will force your servers to return a RETRY_AFTER header of X seconds, so that we can easily test our code and then remove it? Thanks. -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: Additional Favorites methods?
Not currently. Others have asked about this so hopefully Twitter will add some functionality to the favorites methods. Abraham On Wed, Sep 30, 2009 at 18:58, David Fisher tib...@gmail.com wrote: I'm hoping to do some research and build some neat tools around favorites in Twitter (which while generally underutilized, when they are used they are awesome and very useful). Yet it seems the only way to get the knowledge that a tweet has been favorited is via asking for a given user's favorites. There is no way (that I'm aware of) to easily find all of the users that have favorited a tweet, or get a timeline of recently favorited tweets. All of this is VERY api intensive (and somewhat unneededly so). If there was a way to ask Twitter about the favorites associated with a single tweet even, that would be somewhat awesome and very useful for me. Thoughts? -David Fisher Web Ecology Project http://webecologyproject.org -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: twitter-auth
You will probably have better luck asking the author or on a RoR list. Abraham On Wed, Sep 30, 2009 at 10:10, Me chabg...@gmail.com wrote: I am usint the michael bleighs twitter auth gem. It works just fine but there is a small issue of views that is popping up. I am dong alot of ajax calls. It keeps looking for views in the gem directory where the gem is unpacked in my rails app. Is there a way to look at the real root of the app and then for my view directory and not the gem directory? Right now I have my partial in 2 directories. 1 for the inital startup and then it is looking for it in the gem directory also when I do ajax calls. -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: Mentions included in replies?
Hi, The replies method is an alias of the mentions method for backward compatibility of clients that are hardcoded with replies. They both return the same data. Thanks, -Chad On Sun, Oct 11, 2009 at 8:00 AM, twittme_mobi nlupa...@googlemail.com wrote: Hi All, why do we need mentions included in the result of statuses/ replies.xml since we have a separate method for mentions.Now the result is that they appear as replies without populating the in_reply_to_status_id. Thanks.
[twitter-dev] Re: Why am I receiving an error saying I hit the rate limit?
I recall there being a rolling hourly limit. Not sure the details on it though. Abraham On Wed, Sep 30, 2009 at 10:14, HardipSingh mr.hardip.si...@gmail.comwrote: We launched some code yesterday that tweets jobs out of our database. We have multiple accounts that are tweeting. Most of the accounts only tweet one tweet every 1/2 hour. We have one account, however; that tweets 25-50 tweets every 1/2 hour. After a few runs on the account that tweets 25-50, we got the following error from the web service. ?xml version=1.0 encoding=UTF-8? hash request/statuses/update.xml/request errorUser is over daily status update limit./error /hash My understanding is that a user can post 1000 updates per day from any device. We are currently nowhere near 1000 tweets, so I'm curious why I'm getting this error. I also attempted to post a tweet manually from the web interface and got an error saying.. You are over the status update limit. Please wait a few hours and try again. So by this, I'm guessing it has nothing to do w/ the interface we are using to post updates. Also, this says to wait a few hours, but my understanding was the update limit was a daily limit. After looking closer at my log files, it looks like we are able to post again after a few hours, and that this is not a 24 hour limit. I'm trying to use the account rate_limit_status web service to look at my limits, but the library I am using (twitter4j) looks to have a reporting bug in it that prevents me from getting the correct stats. I'm working on writing a raw client do the call outside of the twitter4j library to see if i can get these stats. Any thoughts on what might be going on here? Am I misreading something on your wiki page that talks about rate limits? Here are the resources I am using.. http://apiwiki.twitter.com/Rate-limiting http://help.twitter.com/forums/10711/entries/15364 Thanks in advance for your help. -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: API Limit and Requesting User Timeline unauthenticated
Since all the API calls will be coming from different iPhones you should be fine without whitelisting. Abraham On Tue, Sep 29, 2009 at 21:06, Patrick Burleson pburle...@gmail.com wrote: Hello, I'm working on an app for someone who wants to include their Twitter feed for users to see. During testing, I'm hitting the API limit quite often and I'm guessing this is tied to my IP making more than 150/ requests per second unauthenticated as my Twitter clients are able to pull my personal Twitter feed fine. This is an iPhone app, and I'm wondering why I need to do with to make sure users are able to pull the app's feed? Do I need to get the app whitelisted? Thanks, Patrick -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: Question about cursors
It is as reliable as anything else in the Twitter API. Abraham On Tue, Sep 29, 2009 at 12:40, jim.renkel james.ren...@gmail.com wrote: In working with the new cursorized statuses/friends and statuses/ followers methods, I noticed that in the block of users returned by these methods that contain the last of the users following or followed by the requesting user, the next_cursor value is 0. Is this a reliable, guaranteed indicator of the last block of users, that there's no point in going further 'cause there ain't no further? If so, will the value always be exactly 0 (although without the quotes in the responses, i.e., is a string comparison for 0 safe, or could it be 000, say, in which case a conversion to numeric and a numeric comparison for 0 would be necessary. I would certainly like it to be the former! Either way, string or numeric, if this is a reliable indicator of the last block of users, the documentation should be updated to reflect this. Thanks in advance. Jim Renkel -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: OAuth: I get the access token, then what?
There is oauth/authorize and oauth/authenticate. Authenticate generally what is used for Sign in with Twitter and will only prompt for to Allow access the first time. Authorize will always prompt Allow/Deny. Abraham On Mon, Sep 28, 2009 at 00:55, Amicus ram@gmail.com wrote: On Q1, no, it doesn't make sense for OAuth login to only show the twitter login screen and then redirect the user. The OAuth login screen asks the user whether they would like give the app the ability to access and update their Twitter data .and this is how OAuth should work. On Q2), yes, you can save the access token and use it for making twitter api calls on behalf of the user. On Sep 27, 11:29 am, scorpio sintua...@gmail.com wrote: Question1: According to the diagram here: http://apiwiki.twitter.com/Sign-in-with-Twitter ...after the user authorized the requesting application, when he clicks Sign in With Twitter, he should only get the the twitter login screen and then be redirected back right? But all the live examples I've seen still ask the user to allow the app to access etc. Question2: After you get the access token, whats next? Storing it and the user id/username in database for background logins and operations? -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: List on Gmane?
I say go for it. Everything on this list is public. I personally would be against posting from Gmane though if everybody would seem to be posting from a single email address. Abraham On Sat, Sep 26, 2009 at 15:26, Michael Ekstrand mich...@elehack.net wrote: Has anyone (particularly the list administrators) considered adding the Twitter Dev list to Gmane? If not, would they consider doing it? I personally find it easier to read mailing lists (particularly high-traffic ones) when they come through a Usenet-style platform (newsreaders typically have better support for killing/watching threads, etc.; this is particularly the case with Thunderbird, where those features are only available on NNTP accounts). If the list administrators would consider adding the list to Gmane, I at least would greatly appreciate it and would find it easier to read. I could just add it myself, I think, but I would rather leave the decision to the admins with a request (and they can decide whether to enable or disable posting). Thanks, - Michael -- mouse, n: A device for pointing at the xterm in which you want to type. Confused by the strange files? I cryptographically sign my messages. For more information see http://www.elehack.net/resources/gpg. -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: Search API Rate limiting - App Engine (again)
I would recommend just using a physical server and uploading a simple php proxy script. If you have existing webspace, it will save you the trouble of setting up an complete ec2 build just to run a proxy script. On Oct 9, 7:11 pm, Akshar akshar.d...@gmail.com wrote: Thanks Abraham. Any pointers on how to setup a proxy on amazon ec2 for GAE? On Oct 8, 6:07 pm, Abraham Williams 4bra...@gmail.com wrote: Pretty much. You have limited options: 1) Run your Search API requests through a proxy where you will have exclusive access to the IP. 2) Wait for V2 of the Twitter API where the REST and Search APIs get combined so you can have authenticated search queries. 3) Hope Twitter slaps some duct tape on the issue and rolls out a whitelisting method for the Search API that includes passkeys in your user agent or some such thing. 4) Develop on non cloud base infrastructure. 5) Something else. Abraham 2009/10/8 Akshar akshar.d...@gmail.com http://apiwiki.twitter.com/Rate-limitingstatesthat for cloud platforms like Google App Engine, applications without a static IP addresses cannot receive Search whitelisting. Does that mean there is no way to avoid getting HTTP 503 response codes to search requests from app engine? On Oct 8, 2:09 pm, Akshar akshar.d...@gmail.com wrote: Any other solutions available for app engine folks stuck out here? Please help! I'm noticing this exact problem as well. I'm making only a few requests per hour. I have tried setting the user-agent but it did not help. Akshar On Oct 6, 9:50 am, Chad Etzel c...@twitter.com wrote: Hi All, GAE sites are problematic for the Twitter/SearchAPIbecause the IPs making outgoing requests are fluid and cannot as such be easily allowed for access. Also, since most IPs are shared, other applications on the same IPs making requests mean that fewer requests per app get through. One work around would be to spin up a server in EC2 or Rackspace Cloud or something and use it as a proxy for your requests. That way you have a dedicated IP that will have its full share of resources talking with the Twitter servers. HTH, -Chad On Tue, Oct 6, 2009 at 12:45 PM, Martin Omander moman...@google.com wrote: Same here; my app runs on Google App Engine and 40% of the requests to the TwitterSearchAPIget the 503 error message indicating rate limiting. Is there anything we as app authors can do on our side to alleviate the problem? /Martin On Oct 5, 1:53 pm, Paul Kinlan paul.kin...@gmail.com wrote: I am pretty sure there are custom headers on the App Engine that indicate the application that is sending the request. 2009/10/5 elkelk danielshaneup...@gmail.com Hi all, I am having the same issue. I have tried setting a custom user-agent, but this doesn't seem to affect the fact that twitter is limiting based on I.P. address. I'm only making about 5 searches an hour and 80% of them are failing on app engine due to a 503 rate limit. Twitter needs to determine a better way to let cloud clients access theirsearchAPI. It seems like they have really started blocking searchrequests in the last week or so. If anyone has any idea about how to better identify my app engine app please let let me know. On Oct 5, 2:59 am, steel steel...@gmail.com wrote: Hi. I have this problem too. My application does two request per hour and it get rate limit. What is wrong? I think it is twitter's problems On 1 окт, 01:45, Paul Kinlan paul.kin...@gmail.com wrote: Hi Guys, I have an app on the App engine using thesearchAPIand it is getting heavily rate limited again this past couple of days. I know that we are on a shared set of IP addresses and someone else could be hammering the system, but it seems to run for weeks without seeing the rate limit being hit and then all of a sudden only about 60% of the searches I perform will be rate limited. This seems to occur every two months or so. Has something changed recently? Paul -- Abraham Williams | Community Evangelist |http://web608.org Hacker |http://abrah.am|http://twitter.com/abrahamhttp://web608.org/geeks/abraham/blogs/2009/... This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, WI, United States
[twitter-dev] Re: The Difference Between a Twitter Web and Desktop Application
Currently not really. Twitter might start enforcing correct designation at some point though. Abraham On Fri, Sep 25, 2009 at 12:33, cnunciato cnunci...@gmail.com wrote: Hi folks: I'm adding some Twitter integration to a desktop app, and I'm unhappy with the whole copy/paste this PIN into your application experience. In my case, I happen to have a browser instance containing the OAuth authentication process embedded within my desktop app, so it's possible to listen for redirection events that happen inside that browser and respond to them -- but when I mark my Twitter app as a desktop app (on the app-settings screen on Twitter, where it's defined), I'm forced into using the copy-this-PIN approach (because no callback URL can be specified for desktop apps), which, from a user- experience perspective, kinda sucks. I do notice, though, that if I make my app a web app instead, I can specify a callback URL, and have my app watch for redirections to that URL, which works quite well and provides a more seamless user experience. So my question is, is there any disadvanage to marking my installed desktop app a web app on Twitter, so I can take advantage of using a callback URL to provide a better user experience? Is it a violation of terms of use or anything? Any drawbacks at all? Thanks in advance -- Chris -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: Need to change Whitelist IP
Send an email to a...@twitter.com with all the pertinent info. Abraham On Thu, Sep 24, 2009 at 16:40, Greg Schoen greg.sch...@gmail.com wrote: I can't seem to find any usable links beyond requesting Whitelisting, for changing the IP that you are currently Whitelisted under. We are migrating our Twitter Services to a new server and the IP is changing. Anyone have any ideas? -Greg -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: Why am I receiving an error saying I hit the rate limit?
If you do the math, just the one account doing 25 updates ever half hour(50 updates on hour) * 24 hours, that's 1200 updates a day. So it seems pretty obvious that you are hitting that 1000 update limit with just that one account. On Oct 11, 2009, at 10:54 AM, Abraham Williams 4bra...@gmail.com wrote: I recall there being a rolling hourly limit. Not sure the details on it though. Abraham On Wed, Sep 30, 2009 at 10:14, HardipSingh mr.hardip.si...@gmail.comwrote: We launched some code yesterday that tweets jobs out of our database. We have multiple accounts that are tweeting. Most of the accounts only tweet one tweet every 1/2 hour. We have one account, however; that tweets 25-50 tweets every 1/2 hour. After a few runs on the account that tweets 25-50, we got the following error from the web service. ?xml version=1.0 encoding=UTF-8? hash request/statuses/update.xml/request errorUser is over daily status update limit./error /hash My understanding is that a user can post 1000 updates per day from any device. We are currently nowhere near 1000 tweets, so I'm curious why I'm getting this error. I also attempted to post a tweet manually from the web interface and got an error saying.. You are over the status update limit. Please wait a few hours and try again. So by this, I'm guessing it has nothing to do w/ the interface we are using to post updates. Also, this says to wait a few hours, but my understanding was the update limit was a daily limit. After looking closer at my log files, it looks like we are able to post again after a few hours, and that this is not a 24 hour limit. I'm trying to use the account rate_limit_status web service to look at my limits, but the library I am using (twitter4j) looks to have a reporting bug in it that prevents me from getting the correct stats. I'm working on writing a raw client do the call outside of the twitter4j library to see if i can get these stats. Any thoughts on what might be going on here? Am I misreading something on your wiki page that talks about rate limits? Here are the resources I am using.. http://apiwiki.twitter.com/Rate-limiting http://help.twitter.com/forums/10711/entries/15364 Thanks in advance for your help. -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: The Difference Between a Twitter Web and Desktop Application
Like Chris, my app uses a similar UI. I released it as open source several months ago: http://github.com/yourhead/OAuth_ObjC_Test_App It hasn't seen runaway traffic, but it has been downloaded pretty constantly for about three months. There are now also several github clones of the project too. I think it's safe to assume that there are quite a few developers doing the same thing. As we've all seen, there is backlash from users and the media about the OAuth experience: http://twitter.com/gruber/status/4482717284 Judging from the feedback I received, it's safe to say that developers are looking for ways of making this less painful for the Twitter community, i.e. developers are doing this because they believe it will **help** users, not for some malicious reason. Those were definitely my goals. :-) If Twitter thinks this sort of UI is a bad idea, it sure would be nice to get some official feedback about it. Isaiah YourHead Software supp...@yourhead.com http://www.yourhead.com On Oct 11, 2009, at 9:28 AM, Abraham Williams wrote: Currently not really. Twitter might start enforcing correct designation at some point though. Abraham On Fri, Sep 25, 2009 at 12:33, cnunciato cnunci...@gmail.com wrote: Hi folks: I'm adding some Twitter integration to a desktop app, and I'm unhappy with the whole copy/paste this PIN into your application experience. In my case, I happen to have a browser instance containing the OAuth authentication process embedded within my desktop app, so it's possible to listen for redirection events that happen inside that browser and respond to them -- but when I mark my Twitter app as a desktop app (on the app-settings screen on Twitter, where it's defined), I'm forced into using the copy-this-PIN approach (because no callback URL can be specified for desktop apps), which, from a user- experience perspective, kinda sucks. I do notice, though, that if I make my app a web app instead, I can specify a callback URL, and have my app watch for redirections to that URL, which works quite well and provides a more seamless user experience. So my question is, is there any disadvanage to marking my installed desktop app a web app on Twitter, so I can take advantage of using a callback URL to provide a better user experience? Is it a violation of terms of use or anything? Any drawbacks at all? Thanks in advance -- Chris -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave- invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] plans for followers/show?
Are there any plans to include API functionality for retrieving a list of followers with full info for each? I'm trying to design an app that will automatically friend protected users back (this is necessary for the app to work with protected accounts), but automating this requires first getting a list of follower IDs, then sending a GET request for the info on each user to see if he/she is a protected account (users/ show). The program updates every 5 minutes, so this behavior quickly leads to rate limiting, especially if the number of followers reaches the hundreds or thousands. Of course, I can probably either friend them back manually or try to code around this (perhaps saving a .txt file of followers that I've already processed). However, it would be so much simpler if I could just retrieve a list of users and user info with a single GET command (followers/show, perhaps?), then process this info on my end. Any hope for this anytime soon? - Matt
[twitter-dev] Twitter OAuth 'Incorrect Signature' Error in update method, when using special char or space in STATUS
Hi, I'm using Apache HttpPost to update the status. it works fine when using only single word plain text Status message. but fails when entering more than one word or any special char. seems i'm doing something wrong in encoding of status message. please help me nd lemme know what encoding needs before appendibf status in SBS and also in UrL Also, despite using Post, i need to append entire requet param in request URL. if i dont do so, it throw sme incorrect sign error. Thanks in advance!
[twitter-dev] I CAN'T FIND/SEARCH MY UPDATES IN PUBLIC TIMELINE!
To Twitter Developer, I just want to know why i can't find/search any of my updates in the public timeline! I often tweet and i think there's nothing wrong with what i tweet for you to block/delete it from public timeline. I really hope you can help me with this. It's really important to me that it shows my tweets. Please please do something about it. I've searched solutions from your support site, however, there's none! And i can see that there are also many people who have trouble with this case. My twitter account is jt601 Please please.,... do something about it. Will really appreciate it. Thanks very much. More power to the Twitter World, Jean
[twitter-dev] Re: plans for followers/show?
Ah, embarrassing... I just realized that statuses/followers does exactly what I need. I was unsure whether or not it would return info for protected users, but it does. Perfect. Sorry for the original message, all clear now. - Matt On Oct 11, 6:48 pm, Matt Diamond mattbtra...@gmail.com wrote: Are there any plans to include API functionality for retrieving a list of followers with full info for each? I'm trying to design an app that will automatically friend protected users back (this is necessary for the app to work with protected accounts), but automating this requires first getting a list of follower IDs, then sending a GET request for the info on each user to see if he/she is a protected account (users/ show). The program updates every 5 minutes, so this behavior quickly leads to rate limiting, especially if the number of followers reaches the hundreds or thousands. Of course, I can probably either friend them back manually or try to code around this (perhaps saving a .txt file of followers that I've already processed). However, it would be so much simpler if I could just retrieve a list of users and user info with a single GET command (followers/show, perhaps?), then process this info on my end. Any hope for this anytime soon? - Matt
[twitter-dev] Trending Topics in XML or Atom
Any way to make Trending Topics available as XML or Atom? I'm writing an mobile browser app, so strictly PHP with the popular xml2ary() function.
[twitter-dev] Re: Trending Topics in XML or Atom
Since you are using PHP try json_decode(). Abraham On Sun, Oct 11, 2009 at 19:55, RichardG richard.gatinho.ruas.ra...@gmail.com wrote: Any way to make Trending Topics available as XML or Atom? I'm writing an mobile browser app, so strictly PHP with the popular xml2ary() function. -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, WI, United States
[twitter-dev] Re: Twitter rejecting show_user request
can you please let us know what search you were executing at the time? this way i can look through this a bit more carefully. thanks! yes, the twitter id comes from a twitter hashtag search that returns an xml document. i'm using show.xml to get the location of the twitter id. Are you sure that the ID in question exists? Hello, Just started developing a Twitter app... I'm using a php script with CURL to issue a show_user request, and i'm getting this response: Warning: file_get_contents(?xml version=1.0 encoding=UTF-8? hash request/users/show.xml?user_id=4667006333/request errorNot found/error /hash ) [function.file-get-contents]: failed to open stream: No such file or directory Does Twitter still allow Basic Authorization? Do I have to register an app with Twitter in order to get a valid response when using the REST API? Thanks for helping out... -- Raffi Krikorian Twitter Platform Team ra...@twitter.com | @raffi
[twitter-dev] Re: HELP with authentication
You can do this with Sign in with Twitter. Make sure the user knows you will automatically be tweeting from their account though. For examples in PHP check out http://github.com/abraham/twitteroauth Abraham On Tue, Sep 22, 2009 at 04:56, ajibanda ajiba...@gmail.com wrote: well I need to incorporate twitter in my site like this. once the user clicks on the link, the user automatically logins the Twitter AND automatically updates his/her status with a user defined message. I'm using joomla with this one, I was planning to use php with this but even javascript would do. please point me to the right directtion cause i've been googling for almost 8hrs and still can't find the right way to do it. There are codes I found that can do the posting via php CURL but it only do the posting, can't find the way to login.. THANKS IN ADVANCE!! -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham http://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, WI, United States
[twitter-dev] Re: Have you read the OneForty.com Developer Contract?
I also have to agree with the points and concerns brought up by Dewald. Also, the claim is they are providing a service for us, but its also our apps that is making a potential business for them too. I'm sure some of the devs of Twitter apps would prefer to have the traffic going to their site where they don't have to enter a contract to update their information and can keep their users engaged with their products and services on their own level and terms. I think I may prefer if Twitter had their own apps directory (like iGoogle for Gadgets for example) where we could log in with our Twiiter account and post info about our apps and a link back to our site for more info and details etc. Just some thoughts is all :) On Oct 10, 9:48 am, Dewald Pretorius dpr...@gmail.com wrote: Laura, Fair enough. Those are the rules that you have decided should apply to your business. But, I will not hand over to you and your sublicensees the keys to my intellectual property or app licenses simply for the privilege of editing my app's information on your service. All you really require is the assurance that your business will not be violating third-party IP by displaying their logos and other proprietary marks on your website. I'm not a lawyer and I don't even comb my hair like one, but I believe one usually accomplishes the above by clearly attributing individual rights to the owning party, or by a general legal statement that attributes rights where appropriate. Dewald On Oct 10, 12:22 pm, Pistachio pistachioconsult...@gmail.com wrote: Very well framed, Dewald. Why a contract for claiming the listing? We provide two ways to associate the developer with the item: Credit vs. Claiming. CREDIT: Providing the rightful developer with credit is no problem and attaches no contractual obligation. A listing on the site with the name of the developer (which we will add on request if the page does not already have it listed) is an editorial listing compiled from publicly available information. CLAIMING: The moment we hand over the keys to edit, that page is now (potentially) a promotional tool. It's now a business service being provided and the contract is to protect both parties. We fully expect many apps will never be sold on the site since that's always going to be the developer's choice. Regardless of what they do we're still offering a free (it will always be free) promotional platform that can be used to promote whatever business the item may be doing elsewhere. All we ask in return is a contract to protect both parties. Make sense? Warmly, Laura On Oct 9, 9:24 pm, Dewald Pretorius dpr...@gmail.com wrote: Maybe, at a more basic level my question is this: Why do I need to enter into a contract with oneforty at all, when all I want to do is say, I am Joe, WonderSocialWidget is my app, and here is more information about it. Isn't this part of oneforty nothing more than a free application directory, where the developer can identify him/herself and provide more information if he/she chooses to do so? Dewald On Oct 9, 9:34 pm, Dewald Pretorius dpr...@gmail.com wrote: Laura, If my understanding is correct, this new contract is applicable when I want to claim my app in oneforty. With that in mind: a) Why do I need to license to oneforty and your sublicensees (whomever that may be) all my trademarks, trade names, service marks, logos or other identifying or distinctive marks. Let's say wondersocialwidget is my trademark. By licensing it to oneforty and your sublicensees, I enable you (collective) to create sites called buywondersocialwidget.com, getsocialwidgethere.com, therealsocialwidget.com, etc., and there is nothing I can do to stop that because I have licensed you to do that. Just for the ability to claim my app in your service? That does not make sense. What then about the unclaimed apps? Will you be violating their trademarks by virtue of the fact that their developers have not agreed to this contract? b) Why is 3.2 necessary at all? In other words, why do I need to license my app to oneforty in order for me to claim it? Shouldn't all this licensing stuff be in the Reseller Agreement? Dewald On Oct 9, 8:14 pm, Pistachio pistachioconsult...@gmail.com wrote: Cross-posting this comment just posted to @BradleyJoyce's blog:http://bit.ly/2RqnU9 Hi folks, We're doing our best to hear and respond to developer feedback and better serve the community. Our approach to the developer contract was wrong. We're working to make it right. Here's how: Revised Publisher Registration Contract * Effective immediately, the old Reseller Agreement is replaced with a Publisher Registration Contract. (View it here:http://oneforty.com/terms/publisher_contract) * This lets you register as