[twitter-dev] Re: How to find out which of your lists someone is a member of.
Thanks Nelu - I was aware of this method, unfortunately, if a user owns 6 lists, and we want to check which of those lists a user is a member of, that would be 6 API calls. This will pretty quickly eat into a user's 150. When a list/members method which just returns all the ids of people in a list is implemented, this will get a lot easier as you'll be able to cache the list members, but until then can anybody else know of a workaround? Tom On Nov 12, 6:43 pm, Nelu Lazar cont...@nelulazar.com wrote: You may use GET /:user/:list_id/members/:id as an option:http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-GET-list-member... - @NeluLazar On Nov 12, 9:13 am, tom tswool...@gmail.com wrote: Hi All, I'm looking for a way to get which of my lists (public and private) a user is a member of - akin to the lists drop-down on a user's profile on Twitter.com. Is this information available in an easier way than calling GET list members id for each list (or, more specifically, using less API calls)? Thanks, Tom
[twitter-dev] Re: the new retweet feature might break my app
On Thu, Nov 12, 2009 at 08:00:56AM -0800, Cameron Kaiser wrote: Speaking for TTYtter only, while I'll support receiving retweets, I am unhappy with the API as it currently exists and retweets received will be canonized into the older format (and retweets sent will be done programmatically in the older fashion instead of through the retweet methods). I suspect there are other app authors who will also do something similar. I haven't looked closely at the RT API (it's not currently relevant to FishTwits, so I figure I'll let it stabilize before concerning myself with it), but would you mind sharing your issues with it, either here or off-list if you think that would be more appropriate? -- Dave Sherohman
[twitter-dev] Re: the new retweet feature might break my app
I am unhappy with the API as it currently exists and retweets received will be canonized into the older format (and retweets sent will be done programmatically in the older fashion instead of through the retweet methods). I suspect there are other app authors who will also do something similar. From our application's point of view, this is the scenario that I am concerned about. I am afraid there are going to be so many different versions of twitter applications floating around, some using the new retweet API to retweet status, some not using the retweet API and just issuing new tweets prefixed with RT. Does twitter have plans to prevent status messages (just like they prevent duplicates) that use the old retweet format and in effect, force applications to upgrade to using the retweet api? If not, then I do not see any short-term solution, other than application developers who rely upon finding retweets for a tweet, will have to now take into account both the new retweet api and the old search method based upon the RT @username format. Which obviously adds complexity. Maybe I'm missing something? :) On Nov 12, 10:00 am, Cameron Kaiser spec...@floodgap.com wrote: My concern is that there is nothing to force users to upgrade their twitter applications, there is nothing to force applications to use the retweet API (although, I agree most probably will) and for an indeterminate amount of time users will still retweet by prefixing their tweets with RT. Speaking for TTYtter only, while I'll support receiving retweets, I am unhappy with the API as it currently exists and retweets received will be canonized into the older format (and retweets sent will be done programmatically in the older fashion instead of through the retweet methods). I suspect there are other app authors who will also do something similar. -- personal:http://www.cameronkaiser.com/-- Cameron Kaiser * Floodgap Systems *www.floodgap.com* ckai...@floodgap.com -- Hell hath no fury like a bureaucrat scorned. -- Milton Freedman
[twitter-dev] Re: the new retweet feature might break my app
Does twitter have plans to prevent status messages (just like they prevent duplicates) that use the old retweet format and in effect, force applications to upgrade to using the retweet api? Ignoring how steamed people would be if that happened, I doubt it, because there are plenty of ways to get around it effectively. There would just be another de facto consensus established. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- When in doubt, take a pawn. -- Mission: Impossible (Crack-Up)
[twitter-dev] Re: Keeping signed in on Twitter after user OAuth authentication in an application
I don't think so. If user wasn't logged in, he gets logged anyway. And I am having trouble to find another app who does the same thing. On 13 nov, 05:10, Harshad RJ harshad...@gmail.com wrote: That's managed by Twitter's cookies. If the user is already logged in, Twitter can recognise it during the OAuth approval process. On Thu, Nov 12, 2009 at 11:18 PM, Cristiano Barros profissionalferramen...@gmail.com wrote: Hi, I'd like to know if it's possible (and how) to authenticate users in an application using OAuth and get them already logged in on Twitter. That happens when logging to stocktwits.com: after logging to stocktwits using OAuth, user is already logged on Twitter. How do they do it? Thanks in advance. -- Harshad RJhttp://hrj.wikidot.com
[twitter-dev] reg'd on oauth but still shows from API instead of from [MyApp]
i recently bought a script and hired a coder to code the script and make a text area for posting tweets using the site. I paid $55 on the coder and still, it got some errors. err how could it be? why? i already regged the api and used the access tokens and still when i try to post, it still shows from API im trying the script here: http://www.oaxd.com help me please? thanks!
[twitter-dev] Getting Blocked user list
Hi All, Can anyone suggest me if there is a way for getting the blocked users list of mine such as getting friends and followers. If not is there any beta implementation going on related this. Any suggestion regarding this will be helpful. Thanks and Regards, Steve.
[twitter-dev] [bug] GET list statuses rate limit
When I testing List API, I reach the API limit but I find that I still can call GET /:user/lists/:list_id/statuses without any problem or Error. API document say it is limited in 150 call but I can request more. Does this call not limited by API rate? or just a bug? Since I want to use this call to check if the list updated but 150 is not enough to do this. Thanks.
[twitter-dev] Re: the new retweet feature might break my app
Speaking for TTYtter only, while I'll support receiving retweets, I am unhappy with the API as it currently exists and retweets received will be canonized into the older format (and retweets sent will be done programmatically in the older fashion instead of through the retweet methods). I suspect there are other app authors who will also do something similar. I haven't looked closely at the RT API (it's not currently relevant to FishTwits, so I figure I'll let it stabilize before concerning myself with it), but would you mind sharing your issues with it, either here or off-list if you think that would be more appropriate? It isn't the API methods per se, it's the fact that (as others have pointed out) there is no way to edit or mark up a tweet using the Retweet system as it is currently designed. This is important to me personally, and certainly to anyone posting with #saveretweets. Also, as implied by the fact that I won't be supporting it in its current form, it's easy enough to continue to post in the old manner (or come up with a new one), which dilutes its alleged advantages in trackability and ignorability, and I've always considered it more important to know who is doing the retweet than who is being retweeted, because who the filter is tells me as much if not more than what is being filtered through them. These are just complaints about the design of the system, although in fairness to Ev, he has acknowledged some of the deficiencies and has implied they will be fixed in later versions (cf. http://evhead.com/2009/11/why-retweet-works-way-it-does.html ). But I won't be supporting posting through it in its current form. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- BOND THEME NOW PLAYING: Thunderball --
[twitter-dev] Re: Twitter Background Upload Problem Using OATH
Hi All, Im too facing the same problem, its working fine with username and password but on oauth its causing the problem and returning the message Something is technically wrong. Thanks for noticing—we're going to fix it up and have things back to normal soon. Any Suggestions to overcome this issue will be useful, Thanks and regards, Steve On Nov 6, 7:19 pm, Atif atifc...@gmail.com wrote: Hi All, I have successfully uploaded the twitterbackgroundusing username, password with CURL posting. But when I try to do same thing with OATH it erros following, Something is technically wrong. Thanks for noticing—we're going to fix it up and have things back to normal soon. If anybody have solution please describe. Your help will be highly appreciated. Thanks
[twitter-dev] IP Whitelisting rejected - ****** NO REASON ******
My request for IP whitelisting was rejected without any reason being given: Thanks for requesting to be on Twitter's API whitelist. Unfortunately, we've rejected your request. Here's why: Please address the issues above and submit another request if appropriate. The Twitter API Team Can someone from Twitter please help me whitelist my IPs. Thanks! Cheers, Yonas
[twitter-dev] Re: IP Whitelisting rejected - ****** NO REASON ******
Hi Yonas, Please search the group before posting - this question has been answered many times. I believe that Twitter are currently having problems with that email, but you can get an answer by mailing a...@twitter.com. Tom On Fri, Nov 13, 2009 at 2:05 PM, Yonas yona...@gmail.com wrote: My request for IP whitelisting was rejected without any reason being given: Thanks for requesting to be on Twitter's API whitelist. Unfortunately, we've rejected your request. Here's why: Please address the issues above and submit another request if appropriate. The Twitter API Team Can someone from Twitter please help me whitelist my IPs. Thanks! Cheers, Yonas
[twitter-dev] Re: IP Whitelisting rejected - ****** NO REASON ******
Thanks Thomas, I've just sent them an email. I'm not sure why they rejected my request though I meet all the requirements (being a developer and application in production). On Nov 13, 9:40 am, Thomas Woolway tswool...@gmail.com wrote: Hi Yonas, Please search the group before posting - this question has been answered many times. I believe that Twitter are currently having problems with that email, but you can get an answer by mailing a...@twitter.com. Tom On Fri, Nov 13, 2009 at 2:05 PM, Yonas yona...@gmail.com wrote: My request for IP whitelisting was rejected without any reason being given: Thanks for requesting to be on Twitter's API whitelist. Unfortunately, we've rejected your request. Here's why: Please address the issues above and submit another request if appropriate. The Twitter API Team Can someone from Twitter please help me whitelist my IPs. Thanks! Cheers, Yonas
[twitter-dev] newb question: Rate Limiting
Hi, I am working on a web application where we make twitter api calls using a oauth authenticated user. If I do the calls on the users behalf, using their oauth token and secret from my web server. Does it use the user's rate limit or the application's rate limit? Any help would be appreciated Regards Mark
[twitter-dev] Re: newb question: Rate Limiting
I am working on a web application where we make twitter api calls using a oauth authenticated user. If I do the calls on the users behalf, using their oauth token and secret from my web server. Does it use the user's rate limit or the application's rate limit? If you authenticate as the user, then it is the user's rate limit that accesses are charged against. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- I think you underestimate the stupidness.
[twitter-dev] Re: reg'd on oauth but still shows from API instead of from [MyApp]
Um looks like that page just uses the browser to post to the API endpoint using basic auth. Josh On Fri, Nov 13, 2009 at 1:27 AM, Janine clickbangde...@gmail.com wrote: i recently bought a script and hired a coder to code the script and make a text area for posting tweets using the site. I paid $55 on the coder and still, it got some errors. err how could it be? why? i already regged the api and used the access tokens and still when i try to post, it still shows from API im trying the script here: http://www.oaxd.com help me please? thanks!
[twitter-dev] Moderators, can you trim this address from list?
I've been hit with NDRs on this address numerous times recently. If you could unsubscribe that address, it would be great. User: if you're actually active on list, please use a reliable email server, and not that box in your mom's basement. Thanks in advance- ∞ Andy Badera ∞ +1 518-641-1280 Google Voice ∞ This email is: [ ] bloggable [x] ask first [ ] private ∞ Google me: http://www.google.com/search?q=andrew%20badera -- Forwarded message -- From: Mail Delivery Subsystem mailer-dae...@freebsd.rjmolesa.homelinux.net Date: Fri, Nov 13, 2009 at 12:16 PM Subject: Returned mail: see transcript for details To: and...@badera.us The original message was received at Sun, 8 Nov 2009 11:55:19 -0500 (EST) from localhost [127.0.0.1] - The following addresses had permanent fatal errors - rjmol...@jenna - Transcript of session follows - rjmol...@jenna... Deferred: Operation timed out with rjmolesa.homelinux.net. Message could not be delivered for 5 days Message will be deleted from queue Final-Recipient: RFC822; rjmol...@rjmolesa.homelinux.net Action: failed Status: 4.4.7 Remote-MTA: DNS; rjmolesa.homelinux.net Last-Attempt-Date: Fri, 13 Nov 2009 12:16:53 -0500 (EST) -- Forwarded message -- From: Andrew Badera and...@badera.us To: twitter-development-t...@googlegroups.com Date: Sat, 7 Nov 2009 04:19:01 -0500 Subject: [twitter-dev] Re: My Twitter app suddenly and inexplicably stopped working...can't figure out why What happens if you plug in your callback URL locally into a browser? Same result, or does the page successfully load? ∞ Andy Badera ∞ +1 518-641-1280 Google Voice ∞ This email is: [ ] bloggable [x] ask first [ ] private ∞ Google me: http://www.google.com/search?q=andrew%20badera On Fri, Nov 6, 2009 at 3:12 PM, Mike mike_p...@hotmail.com wrote: I have been developing a Twitter application for the past several weeks and have had no problems whatsoever interfacing with the Twitter API for authentication and updating profile settings. I am developing this app on a shared Linux hosting plan through GoDaddy, if that makes any difference. Last night, I was incorporating some URL rewriting functions into the htaccess file and suddenly whenever I went to sign in to my app via Twitter, the site would hang. What would happen exactly is I would click sign in on my site, get redirected to Twitter to enter my login info, and then the browser would just hang at the Twitter screen with the message Redirecting you back to the application. A few minutes later, the browser would report the server dropped the connection, or something to that effect. I then undid all of the URL rewriting changes to the htaccess file and restored all of the pages to their original states (before the URL rewriting) but this did not have any effect. I was still seeing the same problem. I have tested this on several different browsers, all with the same results. However, I am intermittently able to connect and get successfully redirected back to my app; however, this is pretty rare. The redirection might work 1 time out of every 8 attempts. I called GoDaddy and after spending a total of almost 10 minutes on hold, the tech informed me that everything was fine with their server. I am using OAuth and Jason Mathai's Twitter-async PHP wrapper to communicate with the API, which has been working great for me. I am about to tear my hair out over this. I really have no clue where to begin troubleshooting. If anyone can help, I would truly appreciate it. Thanks.
[twitter-dev] Re: Moderators, can you trim this address from list?
I've been hit with NDRs on this address numerous times recently. If you could unsubscribe that address, it would be great. User: if you're actually active on list, please use a reliable email server, and not that box in your mom's basement. I can pull it, but why are you getting a bounce message? Are you sending a copy to them as well as to the list? -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- 97% of readers say surveys are rubbish -- The Register ---
[twitter-dev] Re: Getting Blocked user list
The only list of blocked users you can access is your own. I haven't heard of any plans to let you access others' blocked user list On Fri, Nov 13, 2009 at 7:33 AM, stevie stevie@gmail.com wrote: Hi All, Can anyone suggest me if there is a way for getting the blocked users list of mine such as getting friends and followers. If not is there any beta implementation going on related this. Any suggestion regarding this will be helpful. Thanks and Regards, Steve.
[twitter-dev] Re: Moderators, can you trim this address from list?
I'm getting them too, and I haven't sent anything... I think they're going to everyone on the list On 11/13/09 9:23 AM, Cameron Kaiser spec...@floodgap.com wrote: I've been hit with NDRs on this address numerous times recently. If you could unsubscribe that address, it would be great. User: if you're actually active on list, please use a reliable email server, and not that box in your mom's basement. I can pull it, but why are you getting a bounce message? Are you sending a copy to them as well as to the list?
[twitter-dev] Re: Moderators, can you trim this address from list?
I'm getting them too, and I haven't sent anything... I think they're going to everyone on the list Okay. I see only an rjmol...@gmail which is probably forwarded. I set that account to No E-mail (Web Only) so messages won't get sent to it. Let me know if this doesn't fix the problem. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- We only pretend to have standards. -- Unknown producer, ABC-TV -
[twitter-dev] Re: Moderators, can you trim this address from list?
Yes I'm getting the same thing. Kind of annoying. Zac Bowling On Fri, Nov 13, 2009 at 9:29 AM, Cameron Kaiser spec...@floodgap.com wrote: I'm getting them too, and I haven't sent anything... I think they're going to everyone on the list Okay. I see only an rjmol...@gmail which is probably forwarded. I set that account to No E-mail (Web Only) so messages won't get sent to it. Let me know if this doesn't fix the problem. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- We only pretend to have standards. -- Unknown producer, ABC-TV -
[twitter-dev] Fully Featured PHP 5.3 Twitter Client
Hi Everyone, Just wanted to let the group know that I've written a OO interface to the Twitter API for PHP 5.3 http://github.com/jwage/Twitter The above link has a pretty descriptive README showing at the bottom, but here are some quick examples to give you a taste! $client = new \Twitter\Client\HTTP('username', 'password'); $statuses = new \Twitter\Api\Statuses($client); $statuses-updateStatus('my new status'); $account = new \Twitter\Api\Account($client); $account-updateProfileImage('/path/to/image.jpg'); Thanks, Jon -- Jonathan H. Wage (+1 415 992 5468) Open Source Software Developer Evangelist sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org You should follow me on Twitter: http://www.twitter.com/jwage You can contact Jonathan about Doctrine, Symfony and Open-Source or for training, consulting, application development, or business related questions at jonathan.w...@sensio.com
[twitter-dev] request token by string
I am building a WEB application. I am doing this to send the user to the oauth url: RequestToken requestToken = twitter.getOAuthRequestToken(); String authorizationUrl = requestToken.getAuthorizationURL(); So then the user leaves my page, and comes back to my callback URL, with an HTTP parameter called oauth_token. What do I do from there? The examples say: accessToken = requestToken.getAccessToken(); But I don't have the requestToken object anymore. How do I use oauth_token to either recreate that object, or get the accesstoken directly, but using the string instead of the object? I would make a lot of sense that you should be able to new RequestToken using a string, or something like that. Thanks Nathan
[twitter-dev] Re: Moderators, can you trim this address from list?
Yes I'm getting the same thing. Kind of annoying. But has it stopped? -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- She loves ya! ... now what? -- True Lies -
[twitter-dev] Re: Moderators, can you trim this address from list?
On Fri, Nov 13, 2009 at 12:23 PM, Cameron Kaiser spec...@floodgap.com wrote: I've been hit with NDRs on this address numerous times recently. If you could unsubscribe that address, it would be great. User: if you're actually active on list, please use a reliable email server, and not that box in your mom's basement. I can pull it, but why are you getting a bounce message? Are you sending a copy to them as well as to the list? IIRC homelinux.net is one of those free DNS forwarding domains from DynDNS… I'd guess they have their mail forwarding to their home server which has been offline for longer than the mail system will accept, and so it's bouncing back to the original sender. TjL
[twitter-dev] FW: Returned mail: see transcript for details
I think this is the same person everybody's talking about with bounced messages. Come to think of it, we need to talk to googlegroups about how somebody can subscribe with an address like rjmol...@jenna -Original Message- From: Mail Delivery Subsystem [mailto:mailer-dae...@freebsd.rjmolesa.homelinux.net] Sent: Friday, November 13, 2009 10:18 AM To: john.l.me...@gmail.com Subject: Returned mail: see transcript for details The original message was received at Sun, 8 Nov 2009 11:55:26 -0500 (EST) from localhost [127.0.0.1] - The following addresses had permanent fatal errors - rjmol...@jenna - Transcript of session follows - rjmol...@jenna... Deferred: Operation timed out with rjmolesa.homelinux.net. Message could not be delivered for 5 days Message will be deleted from queue No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.425 / Virus Database: 270.14.61/2498 - Release Date: 11/13/09 07:54:00 Reporting-MTA: dns; freebsd.rjmolesa.homelinux.net Arrival-Date: Sun, 8 Nov 2009 11:55:26 -0500 (EST) Final-Recipient: RFC822; rjmolesa@rjmolesa.homelinux.net Action: failed Status: 4.4.7 Remote-MTA: DNS; rjmolesa.homelinux.net Last-Attempt-Date: Fri, 13 Nov 2009 12:17:47 -0500 (EST) ---BeginMessage--- Okay, what's the point of this, anyway? Am I missing something on the reason why you would want to artificially inflate the number of followers you have? Is there some sort of spam or ad pay going on here? From: twitter-development-talk@googlegroups.com [mailto:twitter-development-t...@googlegroups.com] On Behalf Of Tim Haines Sent: Friday, November 06, 2009 11:44 PM To: twitter-development-talk@googlegroups.com Subject: [twitter-dev] Pyramid scheme to gain followers Wow - http://www.tweetpopular.com Sadly I bet a bunch of users go for this too. No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.425 / Virus Database: 270.14.52/2484 - Release Date: 11/06/09 19:39:00 ---End Message---
[twitter-dev] Re: FW: Returned mail: see transcript for details
I think this is the same person everybody's talking about with bounced messages. Come to think of it, we need to talk to googlegroups about how somebody can subscribe with an address like rjmol...@jenna There is no such address subscribed. Based on this: - Transcript of session follows - rjmol...@jenna... Deferred: Operation timed out with rjmolesa.homelinux.net. Message could not be delivered for 5 days Message will be deleted from queue I don't expect to see further messages. This is probably just fallout backsplatter. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- The world is not enough. ---
[twitter-dev] Re: Moderators, can you trim this address from list?
Yes it has On 11/13/09 10:54 AM, Cameron Kaiser spec...@floodgap.com wrote: Yes I'm getting the same thing. Kind of annoying. But has it stopped?
[twitter-dev] Re: Fully Featured PHP 5.3 Twitter Client
Hi Jonathan, Very impressive! How much testing have you done on the library? Do you know if every function works or are there known bugs? I'm looking to replace EpiTwitter for a library with simple function calls. Cheers, Yonas On Nov 13, 1:19 pm, Jonathan Wage jonw...@gmail.com wrote: Hi Everyone, Just wanted to let the group know that I've written a OO interface to the Twitter API for PHP 5.3 http://github.com/jwage/Twitter The above link has a pretty descriptive README showing at the bottom, but here are some quick examples to give you a taste! $client = new \Twitter\Client\HTTP('username', 'password'); $statuses = new \Twitter\Api\Statuses($client); $statuses-updateStatus('my new status'); $account = new \Twitter\Api\Account($client); $account-updateProfileImage('/path/to/image.jpg'); Thanks, Jon -- Jonathan H. Wage (+1 415 992 5468) Open Source Software Developer Evangelist sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org You should follow me on Twitter:http://www.twitter.com/jwage You can contact Jonathan about Doctrine, Symfony and Open-Source or for training, consulting, application development, or business related questions at jonathan.w...@sensio.com
[twitter-dev] Re: Moderators, can you trim this address from list?
Thanks Cameron. ∞ Andy Badera ∞ +1 518-641-1280 Google Voice ∞ This email is: [ ] bloggable [x] ask first [ ] private ∞ Google me: http://www.google.com/search?q=andrew%20badera On Fri, Nov 13, 2009 at 12:29 PM, Cameron Kaiser spec...@floodgap.com wrote: I'm getting them too, and I haven't sent anything... I think they're going to everyone on the list Okay. I see only an rjmol...@gmail which is probably forwarded. I set that account to No E-mail (Web Only) so messages won't get sent to it. Let me know if this doesn't fix the problem. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- We only pretend to have standards. -- Unknown producer, ABC-TV -
[twitter-dev] Re: Fully Featured PHP 5.3 Twitter Client
That looks really cool, I need a new backend to run my iPhone push notifications through and this might be a winner! On Nov 13, 6:55 pm, Yonas yona...@gmail.com wrote: Hi Jonathan, Very impressive! How much testing have you done on the library? Do you know if every function works or are there known bugs? I'm looking to replace EpiTwitter for a library with simple function calls. Cheers, Yonas On Nov 13, 1:19 pm, Jonathan Wage jonw...@gmail.com wrote: Hi Everyone, Just wanted to let the group know that I've written a OO interface to the Twitter API for PHP 5.3 http://github.com/jwage/Twitter The above link has a pretty descriptive README showing at the bottom, but here are some quick examples to give you a taste! $client = new \Twitter\Client\HTTP('username', 'password'); $statuses = new \Twitter\Api\Statuses($client); $statuses-updateStatus('my new status'); $account = new \Twitter\Api\Account($client); $account-updateProfileImage('/path/to/image.jpg'); Thanks, Jon -- Jonathan H. Wage (+1 415 992 5468) Open Source Software Developer Evangelist sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org You should follow me on Twitter:http://www.twitter.com/jwage You can contact Jonathan about Doctrine, Symfony and Open-Source or for training, consulting, application development, or business related questions at jonathan.w...@sensio.com
[twitter-dev] Re: Fully Featured PHP 5.3 Twitter Client
Still find PHP Namespaces weird. I wish one of the other proposals won out. Zac Bowling On Fri, Nov 13, 2009 at 10:19 AM, Jonathan Wage jonw...@gmail.com wrote: Hi Everyone, Just wanted to let the group know that I've written a OO interface to the Twitter API for PHP 5.3 http://github.com/jwage/Twitter The above link has a pretty descriptive README showing at the bottom, but here are some quick examples to give you a taste! $client = new \Twitter\Client\HTTP('username', 'password'); $statuses = new \Twitter\Api\Statuses($client); $statuses-updateStatus('my new status'); $account = new \Twitter\Api\Account($client); $account-updateProfileImage('/path/to/image.jpg'); Thanks, Jon -- Jonathan H. Wage (+1 415 992 5468) Open Source Software Developer Evangelist sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org You should follow me on Twitter: http://www.twitter.com/jwage You can contact Jonathan about Doctrine, Symfony and Open-Source or for training, consulting, application development, or business related questions at jonathan.w...@sensio.com
[twitter-dev] Re: the new retweet feature might break my app
Thing is the new RT api simply does not express the same thing the classic RT @xxx is : It's a subset of a big set of meanings : [ Like , Forward , Comment, Thanks, Emphasis, Reply ] (and I'm sure there are a lot more uses) The rich semantic of classic RTs make them sometime difficult to analyze through simple algorithms but is a no-brainer for a human. Twitter (or Ev) thinks that they needed to disambiguate the RT concept. I'm really not sure about that on the user perspective ... though I see the advantages for the platform. They probably decided to chose the most frequent use (ie : Like). It's a really complex issue, I would not have addressed this way personally (we went through the exact same brainstormings when working on Yokway) but I'm curious to see where the new RT API leads to :) So probably we will keep on seeing classic RTs in the feed, I'll probably keep on RTing full text as I often need to say more / something else than I Like it to my (small) audience. As a developer, I'll try my best to be able to support both as long as possible. Stephane http://www.twazzup.com On Nov 13, 2:54 pm, Cameron Kaiser spec...@floodgap.com wrote: Speaking for TTYtter only, while I'll support receiving retweets, I am unhappy with the API as it currently exists and retweets received will be canonized into the older format (and retweets sent will be done programmatically in the older fashion instead of through the retweet methods). I suspect there are other app authors who will also do something similar. I haven't looked closely at the RT API (it's not currently relevant to FishTwits, so I figure I'll let it stabilize before concerning myself with it), but would you mind sharing your issues with it, either here or off-list if you think that would be more appropriate? It isn't the API methods per se, it's the fact that (as others have pointed out) there is no way to edit or mark up a tweet using the Retweet system as it is currently designed. This is important to me personally, and certainly to anyone posting with #saveretweets. Also, as implied by the fact that I won't be supporting it in its current form, it's easy enough to continue to post in the old manner (or come up with a new one), which dilutes its alleged advantages in trackability and ignorability, and I've always considered it more important to know who is doing the retweet than who is being retweeted, because who the filter is tells me as much if not more than what is being filtered through them. These are just complaints about the design of the system, although in fairness to Ev, he has acknowledged some of the deficiencies and has implied they will be fixed in later versions (cf. http://evhead.com/2009/11/why-retweet-works-way-it-does.html ). But I won't be supporting posting through it in its current form. -- personal:http://www.cameronkaiser.com/-- Cameron Kaiser * Floodgap Systems *www.floodgap.com* ckai...@floodgap.com -- BOND THEME NOW PLAYING: Thunderball --
[twitter-dev] oauth no redirecting
Here's my code https://gist.github.com/7aa3ae9307c43b7881a7 Am I missing something? Whenever I try and allow my application it just goes to http://twitter.com/oauth/authorize instead of redirecting back to my app? I've quintuple checked all my app settings.
[twitter-dev] Social Graph Methods: Removal of Pagination
As previously announced by Alex Payne on September 24th (see http://bit.ly/46x1iL), we're removing support for pagination from the / friends/ids and /followers/ids methods. As of that time we set a hard deadline of October 26th, 2009. The original date has passed as we tried to give all of our partners extra time, but we are going to need to make the change now. At some point today, the page and count parameters will be ignored by the /friends/ids and /followers/ids methods and we will only be supporting cursors. Unfortunately, due to architectural considerations, cursor identifiers are not predictable. This means that you will have to extract the next and previous cursor identifiers from the results returned to you. For example, to get Obama's followers, we would first perform a GET against: http://twitter.com/followers/ids/barackobama.xml?cursor=-1 Which returns XML similar to: id_list ids id30592818/id (... more ids ...) /ids next_cursor1319042195162293654/next_cursor previous_cursor-8675309/previous_cursor /id_list To retrieve the next 5000 IDs, we would then perform a GET against: http://twitter.com/followers/ids/barackobama.xml?cursor=1319042195162293654 Note that cursors are signed 64-bit integers. Please refer to the documentation for our social graph methods for more information: http://apiwiki.twitter.com/Twitter-REST-API-Method:-friends+ids http://apiwiki.twitter.com/Twitter-REST-API-Method:-followers+ids Thanks!
[twitter-dev] PHP/cURL statuses/update results in 200 OK, but no actual update
Very simple PHP/cURL script to update a status. With the curl output set to verbose, I see the connection being made and a response code of 200 OK. Unfortunately, my status isn't actually updating and I can't figure out why. The status message is urlencoded, basic authentication is successful, and using curl from the command line works just fine. I even compared the curl request from the command line to that generated with PHP's libcurl and the results are identical... but no status update! Here are my curl bits: $url = http://twitter.com/statuses/update.xml;; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_USERAGENT, $user_agent); curl_setopt($ch, CURLOPT_POST, TRUE); curl_setopt($ch, CURLOPT_POSTFIELDS, status=.urlencode($tweet)); curl_setopt($ch, CURLOPT_USERPWD, $username:$password); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_VERBOSE, TRUE); Any ideas?
[twitter-dev] Re: [twitter-api-announce] Updates to the List API (list descriptions, cursoring lists of lists, finding by list id rather than slug more consistent names)
Hey Marcel, Just checking - You haven't rolled this change yet right?: /:user/lists/:list_id/memberships becomes /:user/lists/:list_id/followers It seems attempting to follow a user who doesn't exist (through the members post) results in a 500 at the moment, rather than a 404. Tim. On Thu, Oct 29, 2009 at 9:00 AM, Marcel Molina mar...@twitter.com wrote: Two additions and two changes to the List API will be deployed in the next few days: * List descriptions We're adding a description to every list. You'll be able to specify a description when you create or update a list and the description will be included in the payload. * Cursoring through lists of lists All resources that return a list of lists will include next and previous cursors and will accept a :cursor parameter. * Finding by list id rather than slug When you change the name of a list, the slug will be updated to reflect that change. That means using the slug in the url for resources to operate on lists requires the onerous task of validating that the slug for the list you are about to do something with hasn't been updated since the last time you stored its slug. What a nightmare :-) Every list also has an id. This value won't change. We'll be changing the API to replace all instances of a list slug in urls to be list ids instead. * Consistent names The terminology we've used thus far for people you follow with a list is members. The terminology for people who are following a list is subscribers. We're going to mirror the terminology used for users and change it to followers and following respectively. So: /:user/lists/:list_id/memberships becomes /:user/lists/:list_id/followers /:user/lists/:list_id/subscribers becomes /:user/lists/:list_id/following As we deploy these changes we'll send out a heads up on the dev list and @twitterapi. -- Marcel Molina Twitter Platform Team http://twitter.com/noradio
[twitter-dev] Request for posting to list memberships - error codes
Hey Twitter crew, When trying to add a user to a list it makes sense if a 404 is returned (I think) both if the user isn't found, or if the list (id or slug) isn't found. It would be cool if the content of the response could say whether it was the user or list that wasn't found. Cheers, Tim.
[twitter-dev] Re: Social Graph Methods: Removal of Pagination
Well I think most issues should have been long resolved by now. Cursors have been live for a while now and there was plenty of warning ahead of today. The turn off should have no affect if you have ported to Cursors. On Fri, Nov 13, 2009 at 11:25 PM, Naveen Ayyagari knig...@gmail.com wrote: I agree, friday is a poor time to make planned changes to the API... On Nov 13, 2009, at 11:58 PM, Jesse Stay wrote: I've already implemented this, but for future sanity, can you guys avoid doing these major updates on Fridays when we're all not focusing as much on work? That way if there happen to be any bugs or problems our weekends aren't ruined. This seems to be a frequent occurrence on the Twitter API. Thanks, Jesse On Fri, Nov 13, 2009 at 3:03 PM, Wilhelm Bierbaum wilh...@twitter.com wrote: As previously announced by Alex Payne on September 24th (see http://bit.ly/46x1iL), we're removing support for pagination from the / friends/ids and /followers/ids methods. As of that time we set a hard deadline of October 26th, 2009. The original date has passed as we tried to give all of our partners extra time, but we are going to need to make the change now. At some point today, the page and count parameters will be ignored by the /friends/ids and /followers/ids methods and we will only be supporting cursors. Unfortunately, due to architectural considerations, cursor identifiers are not predictable. This means that you will have to extract the next and previous cursor identifiers from the results returned to you. For example, to get Obama's followers, we would first perform a GET against: http://twitter.com/followers/ids/barackobama.xml?cursor=-1 Which returns XML similar to: id_list ids id30592818/id (... more ids ...) /ids next_cursor1319042195162293654/next_cursor previous_cursor-8675309/previous_cursor /id_list To retrieve the next 5000 IDs, we would then perform a GET against: http://twitter.com/followers/ids/barackobama.xml?cursor=1319042195162293654 Note that cursors are signed 64-bit integers. Please refer to the documentation for our social graph methods for more information: http://apiwiki.twitter.com/Twitter-REST-API-Method:-friends+ids http://apiwiki.twitter.com/Twitter-REST-API-Method:-followers+ids Thanks!
[twitter-dev] Re: Social Graph Methods: Removal of Pagination
Just like everyone knew the twitpocalypse was coming - but people still got burnt - even some high profile apps. An earlier day in the week is prudent if it's a planned change. On Sat, Nov 14, 2009 at 7:14 PM, Josh Roesslein jroessl...@gmail.comwrote: Well I think most issues should have been long resolved by now. Cursors have been live for a while now and there was plenty of warning ahead of today. The turn off should have no affect if you have ported to Cursors. On Fri, Nov 13, 2009 at 11:25 PM, Naveen Ayyagari knig...@gmail.com wrote: I agree, friday is a poor time to make planned changes to the API... On Nov 13, 2009, at 11:58 PM, Jesse Stay wrote: I've already implemented this, but for future sanity, can you guys avoid doing these major updates on Fridays when we're all not focusing as much on work? That way if there happen to be any bugs or problems our weekends aren't ruined. This seems to be a frequent occurrence on the Twitter API. Thanks, Jesse On Fri, Nov 13, 2009 at 3:03 PM, Wilhelm Bierbaum wilh...@twitter.com wrote: As previously announced by Alex Payne on September 24th (see http://bit.ly/46x1iL), we're removing support for pagination from the / friends/ids and /followers/ids methods. As of that time we set a hard deadline of October 26th, 2009. The original date has passed as we tried to give all of our partners extra time, but we are going to need to make the change now. At some point today, the page and count parameters will be ignored by the /friends/ids and /followers/ids methods and we will only be supporting cursors. Unfortunately, due to architectural considerations, cursor identifiers are not predictable. This means that you will have to extract the next and previous cursor identifiers from the results returned to you. For example, to get Obama's followers, we would first perform a GET against: http://twitter.com/followers/ids/barackobama.xml?cursor=-1 Which returns XML similar to: id_list ids id30592818/id (... more ids ...) /ids next_cursor1319042195162293654/next_cursor previous_cursor-8675309/previous_cursor /id_list To retrieve the next 5000 IDs, we would then perform a GET against: http://twitter.com/followers/ids/barackobama.xml?cursor=1319042195162293654 Note that cursors are signed 64-bit integers. Please refer to the documentation for our social graph methods for more information: http://apiwiki.twitter.com/Twitter-REST-API-Method:-friends+ids http://apiwiki.twitter.com/Twitter-REST-API-Method:-followers+ids Thanks!
[twitter-dev] Re: Getting Blocked user list
Thanks Loumat for the reply. What I am trying is toget just the current authenticated user/my blocked list - but there seems to be no proper API? Am I missing something? On Fri, Nov 13, 2009 at 10:33 PM, TJ Luoma luo...@luomat.net wrote: The only list of blocked users you can access is your own. I haven't heard of any plans to let you access others' blocked user list On Fri, Nov 13, 2009 at 7:33 AM, stevie stevie@gmail.com wrote: Hi All, Can anyone suggest me if there is a way for getting the blocked users list of mine such as getting friends and followers. If not is there any beta implementation going on related this. Any suggestion regarding this will be helpful. Thanks and Regards, Steve.