[twitter-dev] Re: API Curl: Status update result: http_code =0!
Set CURLOPT_VERBOSE option to 1, and copy / paste the output here (think to hide the auth part). 2009/7/12, nordmograph adrous...@gmail.com: Hi there , I'm new to this group, so hello everyone, I'm tryng to set my first (php) use of the twitter API using CUrl and I'm experiencing a strange behaviour: I get this http_code zero when my post has been added and also when I can't authentificate. I read a previous post on this group saying it was caused by: curl_setopt($ch, CURLOPT_POST, 1); That post said that commenting out this line (or setting to false) would fix it. But if I do so I get a good 401 for password error which makes me happy but still have a 400: errorThis method requires a POST./error when it should post fine... I can't get my 200 even if the update is posted to my twitter succesfully using that curlopt_post. Any help greatly appreciated! thks -- Arnaud Meunier Twitoaster | http://twitoaster.com
[twitter-dev] Re: API Curl: Status update result: http_code =0!
An HTTP code in cURL of 0 usually means your request is being denied by Twitter at the network equipment level. In other words, your connection is refused. This sometimes happens when the Twitter network is overloaded. On Jul 12, 2:15 am, nordmograph adrous...@gmail.com wrote: Hi there , I'm new to this group, so hello everyone, I'm tryng to set my first (php) use of the twitter API using CUrl and I'm experiencing a strange behaviour: I get this http_code zero when my post has been added and also when I can't authentificate. I read a previous post on this group saying it was caused by: curl_setopt($ch, CURLOPT_POST, 1); That post said that commenting out this line (or setting to false) would fix it. But if I do so I get a good 401 for password error which makes me happy but still have a 400: errorThis method requires a POST./error when it should post fine... I can't get my 200 even if the update is posted to my twitter succesfully using that curlopt_post. Any help greatly appreciated! thks
[twitter-dev] Geocode error : Shibuya-Tokyo-Japan seems to be in Istanbul-Turkey
http://search.twitter.com/search.atom?geocode=41.02%2C28.99%2C10kmrpp=250 You can check the japanese results in the feed. I don't know if this is something about twitter geocode system.
[twitter-dev] Re: Going all the way back -- the 3200-tweet limit is annoying / frustrating
Where does one post a feature request? Does anyone know how hard this would be to implement or how far back the live database goes? At some point, Twitter would need to archive older tweets in some place with slower access, I would think. On Jul 11, 11:47 am, Damon Clinkscales sca...@pobox.com wrote: I'm sure many people agree. Is there an existing Twitter API issue for it? If not, perhaps start one and let people vote on it as a feature? -damon --http://twitter.com/damon On Sat, Jul 11, 2009 at 12:39 PM, M. Edward (Ed) Boraskyzzn...@gmail.com wrote: I've been talking with some of my Twitter friends in the Portland area and they / we are somewhat frustrated by the fact that we can only retrieve the most recent 3200 tweets via the API.
[twitter-dev] Re: Going all the way back -- the 3200-tweet limit is annoying / frustrating
Post a reply to @twitterapi for consideration in the V2 roadmap. On Sun, Jul 12, 2009 at 08:21, M. Edward (Ed) Borasky zzn...@gmail.comwrote: Where does one post a feature request? Does anyone know how hard this would be to implement or how far back the live database goes? At some point, Twitter would need to archive older tweets in some place with slower access, I would think. On Jul 11, 11:47 am, Damon Clinkscales sca...@pobox.com wrote: I'm sure many people agree. Is there an existing Twitter API issue for it? If not, perhaps start one and let people vote on it as a feature? -damon --http://twitter.com/damon On Sat, Jul 11, 2009 at 12:39 PM, M. Edward (Ed) Boraskyzzn...@gmail.com wrote: I've been talking with some of my Twitter friends in the Portland area and they / we are somewhat frustrated by the fact that we can only retrieve the most recent 3200 tweets via the API. -- Internets. Serious business.
[twitter-dev] Re: Profile image urls - how to update
I recall seeing a post from a Twitter employee that static profile image urls would be delivered sometime in June 2009. Do we have any updates? Thanks. On May 21, 6:14 pm, Doug Williams d...@twitter.com wrote: Thanks for your patience guys -- we realize the benefits of predictable static URLs. It's unfortunately kind of back-burner work but we're getting to it. As most of you can tell, the image uploading logic needs a lot of love. Cheers, Doug -- Doug Williams Twitter Platform Supporthttp://twitter.com/dougw On Thu, May 21, 2009 at 4:38 PM, Tim Haines tmhai...@gmail.com wrote: Hi Clint, Thanks for that. I've added myself to the watchlist. I saw a similar note from 2007, so was hoping it was already done - but 'a month or so' sounds good to me. Tim. On May 21, 10:24 pm, Clint Shryock cts...@gmail.com wrote: the API team is in the process of re-engineering this functionality: in the future the current profile image will have a static URL.see: http://code.google.com/p/twitter-api/issues/detail?id=497#c8 +Clint On Thu, May 21, 2009 at 6:11 AM, Tim Haines tmhai...@gmail.com wrote: Hey there, I'm caching profile image urls. I'm finding quite a bit of churn, and have started wondering how I'm going to keep them up to date. Is there anyway to predict or determine a profile image url from a screen name or something? The url's provided all seem to contain part of the original file name - which of course is impossible to guess. If there's not a way to determine them from the screen name, is there an easy way to get a bulk update of the image urls? Cheers, Tim.- Hide quoted text - - Show quoted text -
[twitter-dev] Re: Going all the way back -- the 3200-tweet limit is annoying / frustrating
You can post bugs and feature requests here: http://code.google.com/p/twitter-api/issues/list This specific issue will be moved to the V2 Roadmap but please to create one so we can track the request. Thanks, Doug On Sun, Jul 12, 2009 at 7:53 AM, JDG ghil...@gmail.com wrote: Post a reply to @twitterapi for consideration in the V2 roadmap. On Sun, Jul 12, 2009 at 08:21, M. Edward (Ed) Borasky zzn...@gmail.comwrote: Where does one post a feature request? Does anyone know how hard this would be to implement or how far back the live database goes? At some point, Twitter would need to archive older tweets in some place with slower access, I would think. On Jul 11, 11:47 am, Damon Clinkscales sca...@pobox.com wrote: I'm sure many people agree. Is there an existing Twitter API issue for it? If not, perhaps start one and let people vote on it as a feature? -damon --http://twitter.com/damon On Sat, Jul 11, 2009 at 12:39 PM, M. Edward (Ed) Boraskyzzn...@gmail.com wrote: I've been talking with some of my Twitter friends in the Portland area and they / we are somewhat frustrated by the fact that we can only retrieve the most recent 3200 tweets via the API. -- Internets. Serious business.
[twitter-dev] Re: Profile image urls - how to update
Shannon, We have decided not to proceed with static URLs. Please see the recent thread on the image host change for more information. Thanks, Doug On Sun, Jul 12, 2009 at 10:26 AM, Shannon Whitley shannon.whit...@gmail.com wrote: I recall seeing a post from a Twitter employee that static profile image urls would be delivered sometime in June 2009. Do we have any updates? Thanks. On May 21, 6:14 pm, Doug Williams d...@twitter.com wrote: Thanks for your patience guys -- we realize the benefits of predictable static URLs. It's unfortunately kind of back-burner work but we're getting to it. As most of you can tell, the image uploading logic needs a lot of love. Cheers, Doug -- Doug Williams Twitter Platform Supporthttp://twitter.com/dougw On Thu, May 21, 2009 at 4:38 PM, Tim Haines tmhai...@gmail.com wrote: Hi Clint, Thanks for that. I've added myself to the watchlist. I saw a similar note from 2007, so was hoping it was already done - but 'a month or so' sounds good to me. Tim. On May 21, 10:24 pm, Clint Shryock cts...@gmail.com wrote: the API team is in the process of re-engineering this functionality: in the future the current profile image will have a static URL.see: http://code.google.com/p/twitter-api/issues/detail?id=497#c8 +Clint On Thu, May 21, 2009 at 6:11 AM, Tim Haines tmhai...@gmail.com wrote: Hey there, I'm caching profile image urls. I'm finding quite a bit of churn, and have started wondering how I'm going to keep them up to date. Is there anyway to predict or determine a profile image url from a screen name or something? The url's provided all seem to contain part of the original file name - which of course is impossible to guess. If there's not a way to determine them from the screen name, is there an easy way to get a bulk update of the image urls? Cheers, Tim.- Hide quoted text - - Show quoted text -
[twitter-dev] Re: OAuth: Screen name returned with access token - documented feature?
Hello there, The screen_name and user_id had to be removed from the redirect back to your site but I later added it to the response to the access_token call. That is an official feature and can be relied upon. Looking back it seems I never announced the feature here on the list after I put it on the change log [1]. Sorry I forgot to mention that … feel free to use those parameters. Thanks; – Matt Sanford / @mzsanford Twitter Dev [1] - May 13th - http://apiwiki.twitter.com/REST-API-Changelog On Jul 11, 2009, at 9:34 AM, Scott Carter wrote: I noted that the screen name (and user id) are returned along with the Access token and secret. It this a documented feature that I can rely upon? The only related thread that I found on this topic was: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/8b24ab7dbb326d5f/10e6b73bd9fdce69 That thread was apparently referring to the callback after authorization and why screen_name and user_id were removed for security reasons. Matt mentioned that the verify_credentials method was the solution in that case. If I have the screen_name available with the Access token/secret, I don't see a need for calling verify_credentials at all in the process. I don't really need the screen name until after I exchange my request token for an access token. Can I rely on getting the screen_name this way? Am I missing another reason for needing to call verify_credentials? Thanks, - Scott Carter @scott_carter http://bigtweet.com
[twitter-dev] Re: Intermittent network failures?
I spoke too casually. For the sake of accuracy: I too do not see this as a new problem: it's been going on for months, not just weeks or just recently... On Jul 10, 1:17 pm, Dossy Shiobara do...@panoptic.com wrote: On 7/10/09 3:38 PM, Jeffrey Greenberg wrote: Just to say it, this has been going on for weeks Actually, months ... at least as far as I've noticed it.
[twitter-dev] Re: Intermittent network failures?
I also run on AWS/EC2 and have been seeing the problem where curl returns a status of 0 for many months (as long as I have been tracking it). It usually happens several times per day. Last Friday there was a spike of 51 occurrences. - Scott On Jul 12, 6:51 pm, Jeffrey Greenberg jeffreygreenb...@gmail.com wrote: I spoke too casually. For the sake of accuracy: I too do not see this as a new problem: it's been going on for months, not just weeks or just recently... On Jul 10, 1:17 pm, Dossy Shiobara do...@panoptic.com wrote: On 7/10/09 3:38 PM, Jeffrey Greenberg wrote: Just to say it, this has been going on for weeks Actually, months ... at least as far as I've noticed it.
[twitter-dev] Sign in with Twitter - Flow chart error?
I am using as a reference the Sign in with Twitter documentation at: http://apiwiki.twitter.com/Sign-in-with-Twitter When I issue an authenticate call to: https://twitter.com/oauth/authenticate?oauth_token=request_token The callback I get is: callback_url?oauth_token=request_tokenoauth_verifier=verifier Questions: 1. This callback appears to be identical to the authorize response. Is there an error with the flow chart on the Sign in with Twitter page that indicates an authenticate callback will include the access token and token secret? 2. I understand that the advantage of using the authenticate process is that if a user has already authorized an application, they don't need to do it again. Is there any reason to use the authorize process instead? It seems that apps would benefit from always using the Sign in with Twitter authenticate flow. Thanks, - Scott
[twitter-dev] Re: Sign in with Twitter - Flow chart error?
On Sun, Jul 12, 2009 at 20:54, Scott Carter scarter28m-goo...@yahoo.comwrote: I am using as a reference the Sign in with Twitter documentation at: http://apiwiki.twitter.com/Sign-in-with-Twitter When I issue an authenticate call to: https://twitter.com/oauth/authenticate?oauth_token=request_token The callback I get is: callback_url?oauth_token=request_tokenoauth_verifier=verifier Questions: 1. This callback appears to be identical to the authorize response. Is there an error with the flow chart on the Sign in with Twitter page that indicates an authenticate callback will include the access token and token secret? The flow chart was created before oauth/authenticate was added. I'm sure that Twitter will update it now that it has been pointed out. 2. I understand that the advantage of using the authenticate process is that if a user has already authorized an application, they don't need to do it again. Is there any reason to use the authorize process instead? It seems that apps would benefit from always using the Sign in with Twitter authenticate flow. I don't know why more sites don't use authenticate instead of authorize. I think mostly it is by not knowing about it and random TOS issues. Thanks, - Scott Abraham -- 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.
[twitter-dev] Re: Sign in with Twitter - Flow chart error?
If you want to give your users the ability to use multiple twitter accounts with your service, Authorize allows them a chance to switch accounts during the login flow. We consciously do that on a couple of our apps. On Sun, Jul 12, 2009 at 10:02 PM, Abraham Williams 4bra...@gmail.comwrote: On Sun, Jul 12, 2009 at 20:54, Scott Carter scarter28m-goo...@yahoo.comwrote: I am using as a reference the Sign in with Twitter documentation at: http://apiwiki.twitter.com/Sign-in-with-Twitter When I issue an authenticate call to: https://twitter.com/oauth/authenticate?oauth_token=request_token The callback I get is: callback_url?oauth_token=request_tokenoauth_verifier=verifier Questions: 1. This callback appears to be identical to the authorize response. Is there an error with the flow chart on the Sign in with Twitter page that indicates an authenticate callback will include the access token and token secret? The flow chart was created before oauth/authenticate was added. I'm sure that Twitter will update it now that it has been pointed out. 2. I understand that the advantage of using the authenticate process is that if a user has already authorized an application, they don't need to do it again. Is there any reason to use the authorize process instead? It seems that apps would benefit from always using the Sign in with Twitter authenticate flow. I don't know why more sites don't use authenticate instead of authorize. I think mostly it is by not knowing about it and random TOS issues. Thanks, - Scott Abraham -- 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. -- Wynn Netherland twitter: pengwynn
[twitter-dev] Re: Design of Invite Twitter friends
Thanks everyone for the informative replies. Solves my problem I think! On Jul 9, 7:35 pm, whoiskb whoi...@gmail.com wrote: I had a similar question last night and found this thread that offered some insight into the most efficient way to do something like this. Here is the thread that discusses the best approach to get details on all of the friends or followers of a user: http://groups.google.com/group/twitter-development-talk/browse_thread... On Jul 9, 12:20 pm, chachra sumit.chac...@gmail.com wrote: Hi, I'm trying to design a invite twitter friends feature (similar to the invite facebook friends concept). Sadly its not drop some code, like Facebook is... I'll have to develop from scratch. Wondering whats the most scalable way of doing this? Details: #1 By friends of course means followers since I can direct message them #2 The graph API call returns ID's, I would have to make $n api calls to get details on each of the $n id's right? Getting the users name, picture etc. ? #3 Then when the user selects users to invite, and presses submit then I'll have to make $m direct message calls ($m $n)? Sounds like a lot of API calls to achieve something really simple. anyone have ways of doing this nicely? I would love to eliminate calls in #2 if possible. Cheers! Sumit
[twitter-dev] Re: Multiple Domains using Twitter API
You can use the oauth_callback parameter to redirect users back to the correct domain. Read more here: http://groups.google.com/group/twitter-api-announce/browse_frm/thread/472500cfe9e7cdb9?hl=en Abraham On Mon, Jul 6, 2009 at 17:44, Scott Conlon myareanetw...@gmail.com wrote: I am looking to develop a Twitter APP that allows users on our website to connect their profile on our websites to their Twitter account. The issue we are facing, however; is that we have everything running on separate domains. Each domain uses the same PHP files and MySQL database but will we have security limitations. We would like to use only 1 Application and 1 App Key vs using an App foe each domain. Can someone please describle a secure way of how this can be done? Basically we need one app that someone can login to from either http://www.domain1.com or http://www.domain2.com for it to connect to their twitter account. Then once they have connected their profile to their twitter account they should be able to login to either domain1.com or domain2.com and be granted access. Any help would be greatly appreciated. Thanks! Scott -- 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.
[twitter-dev] Re: signup via mobile disabled?
From one phone you can invite another phone: - *INVITE* *phone number * will send an SMS invite to a friend's mobile phone. Example: Invite 415 555 1212 If users click on the link to see the standard view link they can probably sign up. Abraham On Thu, Jul 9, 2009 at 10:37, jjh jharu...@gmail.com wrote: I'm using OAuth for sign-in to my site via twitter. I noticed on a mobile phone, when the user is sent to twitter to authorize the app, the only option is to login (the signup link doesn't work). Looking further, m.twitter.com doesn't have any signup options. Is this the expected behavior or will signup on a mobile phone be possible? -Jason -- 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.
[twitter-dev] Re: Sign in with Twitter - Flow chart error?
On Sun, Jul 12, 2009 at 11:27 PM, Wynn Netherlandwynn.netherl...@gmail.com wrote: If you want to give your users the ability to use multiple twitter accounts with your service, Authorize allows them a chance to switch accounts during the login flow. We consciously do that on a couple of our apps. Bingo. ditto my apps. -chad
[twitter-dev] friends/ids Limits
Has anyone come up with a good number where a call to the social graph methods returns a 403? I have made calls that return over 30,000 ids, but I am curious what the limit is. Also, the general idea is that if you have someone that has a large following, you would then implement paging. Why is it that paging returns results 5000 records at a time? Is there a way to return more per page? Thanks Kevin
[twitter-dev] Re: friends/ids Limits
On Sun, Jul 12, 2009 at 23:44, whoiskb whoi...@gmail.com wrote: Has anyone come up with a good number where a call to the social graph methods returns a 403? I have made calls that return over 30,000 ids, but I am curious what the limit is. I've heard that it usually happens on users with over 50k relationships. Also, the general idea is that if you have someone that has a large following, you would then implement paging. Why is it that paging returns results 5000 records at a time? Is there a way to return more per page? Nope. 5000 per page only. Thanks Kevin Abraham -- 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.
[twitter-dev] Re: Getting tweets from Twitter API
Thanks for your response, i will check according to your suggestions. On Sat, Jul 11, 2009 at 1:53 PM, Scott Haneda talkli...@newgeo.com wrote: From what I understand, it is UTC time. The +/- is the offset depending on what zone you are in. This allows for a time value that is the same across the world, but can be offset for any particular locale. I think http://en.m.wikipedia.org/wiki/Coordinated_Universal_Time will explain it adequitly. You can also read in the time value from the API and compare it to the time shown on Twitter.com. Then change your preferences to alter your time zone. This is a good way to see how the offsets work as you go. -- Scott Iphone says hello. On Jul 10, 2009, at 10:30 PM, praveen kumar praveen.neteli...@gmail.com wrote: The time field returned contains the offset (usually +) What is the meaning of this is it GMT+0 or System time. can u please explain it. On Fri, Jul 10, 2009 at 12:39 PM, Kevin Mesiab ke...@mesiablabs.com ke...@mesiablabs.com wrote: The time field returned contains the offset (usually +) Tue Apr 07 22:52:51 + 2009 On Thu, Jul 9, 2009 at 7:13 PM, praveen kumar praveen.neteli...@gmail.com praveen.neteli...@gmail.com wrote: Hi, If we are getting tweets from Twitter API , User's tweet dates are in which timezone. Is it in GMT or else different timezones. -- Regards, Praveen Kumar.N -- Kevin Mesiab CEO, Mesiab Labs L.L.C. 208-447-6016 http://www.mesiablabs.comhttp://www.mesiablabs.com http://www.plsadvise.comhttp://www.plsadvise.com -- Regards, Praveen Kumar .N Software Engineer Netelixir e-Marketing Solutions Hyderabad http://www.netelixir.comwww.netelixir.com -- Regards, Praveen Kumar .N Software Engineer Netelixir e-Marketing Solutions Hyderabad www.netelixir.com