Re: [twitter-dev] Question on Lists
If you are trying to pull in the statuses from a list then you would do: $xml = $connection-get('twitter/lists/team/statuses'); Were twitter is the account who created the list and team is the ID or slug of the list. Abraham - Abraham Williams | Hacker Advocate | abrah.am @abraham https://twitter.com/abraham | github.com/abraham | blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Thu, Jan 6, 2011 at 07:36, Jon j...@jon-parks.com wrote: Hello, I have a script in which I am pulling my friends timeline from Twitter and putting it on my web site. I do so with the following: $xml = $connection-get('statuses/friends_timeline'); My question is, how do I grab a friends timeline based on a list? Help is greatly appreciated! Thanks, Jon -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Problem with twitter update status message
Here is a simple PHP script that will post updates to a single account using OAuth: https://gist.github.com/592098 Abraham - Abraham Williams | Hacker Advocate | abrah.am @abraham https://twitter.com/abraham | github.com/abraham | blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Wed, Jan 5, 2011 at 04:22, Muzafar Shah shah@gmail.com wrote: Greetings, i want to use twitter API for update status from my website. i don't want that i should be authenticated everytime whenever i am posting status from my website. i am using the basic authenticates which just need username and password and its gives me the following error, Could not post your Tweet to Twitter. and the http code: 401. i am using this: $username = ($_POST['t_user']); $password = ($_POST['t_pass']); $message = ($_POST['t_update']); $url = 'http://twitter.com/statuses/update.xml'; $curl_handle = curl_init(); curl_setopt($curl_handle, CURLOPT_URL, $url); curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2); curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl_handle, CURLOPT_POST, 1); curl_setopt($curl_handle, CURLOPT_POSTFIELDS, status=$message); curl_setopt($curl_handle, CURLOPT_USERPWD, $username:$password); $buffer = curl_exec($curl_handle); curl_close($curl_handle); please lead me, i really need your help. thanks. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Unauthorized 401
Hi to all, when I use a temporary oauth_verifier in a oauth/access_token call, it works ok. Nevertheless, when I use a fixed PIN code obtained, it fails with an Unauthorized exception. What could this mean? PIN is wrong? Do I need to use another call, or use another parameter for the PIN and not the oauth_verifier? Thanks for any reply, Erik -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Unauthorized 401
no you cannot do like that... for each it will generate oauth_verifier. On Fri, Jan 7, 2011 at 5:32 PM, Erik Bloem ejbl...@gmail.com wrote: Hi to all, when I use a temporary oauth_verifier in a oauth/access_token call, it works ok. Nevertheless, when I use a fixed PIN code obtained, it fails with an Unauthorized exception. What could this mean? PIN is wrong? Do I need to use another call, or use another parameter for the PIN and not the oauth_verifier? Thanks for any reply, Erik -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Regards, Deepa -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Unauthorized 401
no you cannot do like that... for each request it will generate new oauth_verifier. On Fri, Jan 7, 2011 at 5:32 PM, Erik Bloem ejbl...@gmail.com wrote: Hi to all, when I use a temporary oauth_verifier in a oauth/access_token call, it works ok. Nevertheless, when I use a fixed PIN code obtained, it fails with an Unauthorized exception. What could this mean? PIN is wrong? Do I need to use another call, or use another parameter for the PIN and not the oauth_verifier? Thanks for any reply, Erik -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Regards, Deepa -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] API fails when tweeting with single asterisk
Matt: Is it a related issue that a leading or trailing asterisk is invisible to the search API? None of these searches return any results, even though they do appear in a timeline API call or the streaming API: **test test** ** *test test* Yet the search API can find: test**test On Tue, Jan 4, 2011 at 8:57 PM, Matt Harris thematthar...@twitter.com wrote: Hi Adam, That's correct, a tweet cannot be just a * or a * word. Something like ** or * html { would be fine though. Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Tue, Jan 4, 2011 at 5:29 PM, Adam Green 140...@gmail.com wrote: So I can assume that * and * word will remain unavailable for normal tweeting? On Tue, Jan 4, 2011 at 7:22 PM, Matt Harris thematthar...@twitter.com wrote: Hey Adam, The status update you are sending is part of the SMS command set. http://support.twitter.com/articles/14020-about-twitter-sms-commands It corresponds to the FAV command and is the alias for it. It used to be documented but for some reason isn't there at the moment. I've asked the support team to make sure it is added. Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Tue, Jan 4, 2011 at 4:09 PM, Adam Green 140...@gmail.com wrote: There are some very strange behaviors when using the statuses/update API call to send a tweet with a single asterisk. 1. If you send a tweet with just a single asterisk: * The API returns 200 and the response string contains the previous good tweet in the timeline. No new tweet with an asterisk appears in the timeline. Repeating this API call results in the same behavior. 2. If you send a statuses/update with a single asterisk followed by a single word: * test The first time you do this, the API returns 200 and the response string contains the previous good tweet in the timeline. No new tweet with the string sent to the API appears in the timeline. If you repeat the same API call, the API returns 500 and the response string has an HTML page that something strange happened: h2Something is technically wrong./h2 pThanks for noticing we're going to fix it up and have things back to normal soon./p No other use of the asterisk has a problem that I can find. These bad tweet strings cause similar problems on Twitter.com. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Adam Green Twitter API Consultant and Trainer http://140dev.com @140dev -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Adam Green Twitter API Consultant and Trainer http://140dev.com @140dev -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] How to retrieve private user tweets
Hi, We are unable to retrieve private users tweets through twitter status api.If i authenticated as a twitter user, can we see any private users tweets?Otherwise, how can we exclude private users when we are pulling tweets? Any ideas... Regards, Siva -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] DM rate limit confusion
I'm a little confused as to the rate limits for DM's. Until recently I thought I was clear but I came across a site that had me asking questions again. To the best of my knowledge a user is restricted to 250 DM's/day (non whitelisted). Is there any further restrictions to that such as only being able to send 100 DM's/hour? The information I just came across is that you can send 100 DM's/hour or up to 1000 DM's/day. This site is claiming to be able to send up to 1000 DM's/day on your behalf so I don't think they have been whitelisted because they claim to be able to be able to let you send up to 1000 DM's/day. Can anyone help clear this up? Thanks, Trevor Dean -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: DM rate limit confusion
After some more digging I realized that this site is no longer in service and I believe those limits are quite dated. I should have done a bit more research before posting the question, sorry. Thanks, Trevor Dean On Fri, Jan 7, 2011 at 7:28 AM, Trevor Dean trevord...@gmail.com wrote: I'm a little confused as to the rate limits for DM's. Until recently I thought I was clear but I came across a site that had me asking questions again. To the best of my knowledge a user is restricted to 250 DM's/day (non whitelisted). Is there any further restrictions to that such as only being able to send 100 DM's/hour? The information I just came across is that you can send 100 DM's/hour or up to 1000 DM's/day. This site is claiming to be able to send up to 1000 DM's/day on your behalf so I don't think they have been whitelisted because they claim to be able to be able to let you send up to 1000 DM's/day. Can anyone help clear this up? Thanks, Trevor Dean -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Unauthorized 401
thanks for your reply Deepa, so what do I have to do when I want to use a fixed PIN? The problem is that if I use oauth_verifier with a temporary token, it will ask me to connect to twitter and have to confirm that the application is allowed to connect to my account. That is not fiable in a permanent integration. Once accepted, it generates a PIN code. With this PIN code it must be possible somehow to connect to Twitter. What is the PIN code used for anyway? kindest regards and txs, Erik On 7 ene, 07:09, deepa nagaraj deepa.23.naga...@gmail.com wrote: no you cannot do like that... for each it will generate oauth_verifier. On Fri, Jan 7, 2011 at 5:32 PM, Erik Bloem ejbl...@gmail.com wrote: Hi to all, when I use a temporary oauth_verifier in a oauth/access_token call, it works ok. Nevertheless, when I use a fixed PIN code obtained, it fails with an Unauthorized exception. What could this mean? PIN is wrong? Do I need to use another call, or use another parameter for the PIN and not the oauth_verifier? Thanks for any reply, Erik -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Regards, Deepa- Ocultar texto de la cita - - Mostrar texto de la cita - -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] how to generate formatted json response?
Hi,all i am wondering what lib that twitter uses to generate the formatted json response data if there has one. And what you guys using at work? Best regards. George Cao -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Reply to a tweet
I heard the new twitter uses API calls as any other third party app. I wanted to know, then how its able to show replies to a particular tweet. It's been always possible to check to which a particular tweet has been replied to, but how to check whether the tweet has been replied. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] New app 401ing others work
I have 2 developer accounts and when developing an iphone app which implements MGTwitter the first works fine. I have created a new one specifically for my client with the same settings (Client + Read/Write) but when the user tries to log in I just get a 401 error What am I missing with this 2nd account? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] t.co reverse
Hi guys ! Thanks to new Mac OS Twitter client a lot of URL in tweets are now convert to t.co witch is include in API response for user/ timeline ... Is there any way to reverse t.co simply like we can do with bit.ly API ? Thanks @Amaury -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] t.co reverse
Hi Amaury, There currently isn't a distinct API available to de-reference t.co URLs (or directly produce them). However, most REST API timeline and status-bearing methods support the include_entities=true parameter which will include an additional set of fields, including unrolled t.co URLs. You can read more about entities here: http://dev.twitter.com/pages/tweet_entities For example with this request: GET http://api.twitter.com/1/statuses/show.json?id=23150950055153664include_entities=true The tweet text was: text: Emergent Behavior in Twitter Culture http://t.co/bcUPYxi via @adage, And the entities node shows the de-referenced URL in entities/urls[0]/expanded_url: entities: { places: [], urls: [ { expanded_url: http://adage.com/u/rby1pa;, url: http://t.co/bcUPYxi;, indices: [ 37, 56 ], display_url: adage.com/u/rby1pa } ], hashtags: [], user_mentions: [ { name: Ad Age, id_str: 12480582, id: 12480582, indices: [ 61, 67 ], screen_name: adage } ] } Thanks, Taylor On Fri, Jan 7, 2011 at 6:59 AM, Amaury amaury.lespling...@gmail.com wrote: Hi guys ! Thanks to new Mac OS Twitter client a lot of URL in tweets are now convert to t.co witch is include in API response for user/ timeline ... Is there any way to reverse t.co simply like we can do with bit.ly API ? Thanks @Amaury -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] API fails when tweeting with single asterisk
Hey Adam, There are many reasons why Tweets may not show in Search but exist elsewhere. We have a support article which goes into this in more detail: http://support.twitter.com/articles/66018 To answer your question though it is likely the problem you are hitting is that * is ignored when entered as a search term (the same as many other popular search interfaces). For this reason a search for * test will search instead for the word test and return the results for it. It maybe you were just giving an example but generally testing tweets are bad things to look for in Search. Search is designed around relevance, something that 'test test' doesn't fit well with. Instead real world examples of the content you are expecting are better tests. Hope that helps, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Fri, Jan 7, 2011 at 4:12 AM, Adam Green 140...@gmail.com wrote: Matt: Is it a related issue that a leading or trailing asterisk is invisible to the search API? None of these searches return any results, even though they do appear in a timeline API call or the streaming API: **test test** ** *test test* Yet the search API can find: test**test On Tue, Jan 4, 2011 at 8:57 PM, Matt Harris thematthar...@twitter.com wrote: Hi Adam, That's correct, a tweet cannot be just a * or a * word. Something like ** or * html { would be fine though. Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Tue, Jan 4, 2011 at 5:29 PM, Adam Green 140...@gmail.com wrote: So I can assume that * and * word will remain unavailable for normal tweeting? On Tue, Jan 4, 2011 at 7:22 PM, Matt Harris thematthar...@twitter.com wrote: Hey Adam, The status update you are sending is part of the SMS command set. http://support.twitter.com/articles/14020-about-twitter-sms-commands It corresponds to the FAV command and is the alias for it. It used to be documented but for some reason isn't there at the moment. I've asked the support team to make sure it is added. Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Tue, Jan 4, 2011 at 4:09 PM, Adam Green 140...@gmail.com wrote: There are some very strange behaviors when using the statuses/update API call to send a tweet with a single asterisk. 1. If you send a tweet with just a single asterisk: * The API returns 200 and the response string contains the previous good tweet in the timeline. No new tweet with an asterisk appears in the timeline. Repeating this API call results in the same behavior. 2. If you send a statuses/update with a single asterisk followed by a single word: * test The first time you do this, the API returns 200 and the response string contains the previous good tweet in the timeline. No new tweet with the string sent to the API appears in the timeline. If you repeat the same API call, the API returns 500 and the response string has an HTML page that something strange happened: h2Something is technically wrong./h2 pThanks for noticing we're going to fix it up and have things back to normal soon./p No other use of the asterisk has a problem that I can find. These bad tweet strings cause similar problems on Twitter.com. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Adam Green Twitter API Consultant and Trainer http://140dev.com @140dev -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Adam Green Twitter API Consultant and Trainer http://140dev.com @140dev -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi
Re: [twitter-dev] Issue with return url in callback url in Twitter API
Hi Rocky, Your callback domain looks to be missing the slash separating the domain from the querystring. Try instead the format (notice the slash before the ?): http://MyDomain.com/?ReturnUrl=/test.aspx Best @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Thu, Jan 6, 2011 at 11:28 AM, rocky singh rocky.singh1234567...@gmail.com wrote: Hi, I have an issue while haiving return url param in callback url in this code: var requestToken = FluentTwitter.CreateRequest() .Authentication.GetRequestToken(consumerKey, consumerSecret, callbackUrl); var request = requestToken.Request(); var result = request.AsToken(); Now when I have the callbackurl like http://MyDomain.com?ReturnUrl=/test.aspx the result is null else it is working fine if I don't have the return url in it. May I know what is the solution for it ? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Transferring a suspended account to the proper owner
Hi Adam, The following policy documents explain a little bit more about how we approach this and what steps are available for you to take: Trademark: http://support.twitter.com/entries/18367-trademark-policy Impersonation: http://support.twitter.com/entries/18366-impersonation-policy Inactive Usernames: http://support.twitter.com/entries/15362-inactive-usernames-policy We have a dedicated team for user/account questions who can better answer anymore questions you have about this. They can be reached through our support system: http://bit.ly/twicket Hope that helps, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Thu, Jan 6, 2011 at 8:17 PM, Adam Green 140...@gmail.com wrote: I have a client who owns a .com domain name and has applied for a trademark for the matching name. The Twitter account for this name was created by someone else and has been suspended. Is there any way to help them take over this account? They really want to build a Twitter based app around this name, so using the matching account name is important to them. And they want me to build the app, so it's important to me too. Any directions towards a path to resolve this would be greatly appreciated. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] capture the event click on the Tweet Button
Hi, The Tweet Button doesn't provide any action hooks or callbacks. It is intended that the button initiate the Tweet flow. What different action did you have in mind? Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Fri, Jan 7, 2011 at 3:48 AM, nebur rubenmaqu...@gmail.com wrote: I'd like to put a Tweet Button with the count property (horizontal). I use this code: a href=http://twitter.com/share; class=twitter-share-button data- count=horizontal data-via=usuario12413 data-lang=esTweet/ ascript type=text/javascript src=http://platform.twitter.com/ widgets.js/script But I want that when you click on the button do another operation, I want to capture the event click on the button. (example by javascript) how I can do? thank you, -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Twitter Button error
Hi, Thanks for letting us know about this. Could you file a ticket on our issues tracker so we can track any progress. The issues lists can be found at this URL: http://code.google.com/p/twitter-api/issues/list Thanks, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Thu, Jan 6, 2011 at 5:55 PM, worksapp v...@worksapp.com wrote: I am getting following error - 'url' parameter does not contain a valid URL. on page - http://xn--m-0faa.eu/2010/12/5-parimat-saiti-tasuta-mangude-jaoks/ Searching on the group, it seems similar issues have been resolved, but i am not able to find what the issue is in this case. Any help would be much appreciated. Thank you -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Twitter search / streaming API limitation query
Hi, We are working on a product which will do searches on twitter from a certain server system. We are yet to take a decision whether the searches will be anonymous(Non-authenticated) or authenticated. The decision is subject to limitations on search results using twitter search / streaming apis. I was hoping if you could provide info or references based which provide the information. We hope to have substantial number of unique search (pattern) queries from a particular ip-addresses. Although , the users by themselves are expected to have much lesser queries. We are willing to put a limit of 30 per hour for the search queries which are authenticated. Please advise on the specs . We do expect that twitter will get many new users after our product is launched. Educated guesses will also be useful for us in making a design decision :) Parameters: a) Search vs streaming b) anonymous vs authenticated Regards Umashankar Das -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] statuses.update with OAuth failing with spaces
I am using OAuth to authenticate and then sending in a status update - which works beautifully if there are no spaces in the status string. As soon as I add one in, I run into a 401 - invalid signature error. Any advice? Posting to: http://api.twitter.com/1/statuses/update.json Here are the Headers (everything's stripped from the authorization): ==Authorization== OAuth oauth_signature=[my oauth sig], oauth_token=[my oauth token], oauth_consumer_key=[consumer key], oauth_nonce=[nonce], oauth_signature_method=HMAC-SHA1, oauth_timestamp=1294421252, oauth_version=1.0 ==Content-Length== 25 ==Content-Type== application/x-www-form-urlencoded; charset=UTF-8 ==User-Agent== oAuthRequestAgent Then the page is: ==method== post ==protocol== HTTP/1.1 ==content== status=tweet+from+the+api -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] statuses.update with OAuth failing with spaces
For best results, normalize your space separation characters to %20 instead of +. Your POST body should contain something like tweet%20from%20the%20api and your OAuth signature basestring would encode this portion as tweet%2520from%2520the%2520api. Some libraries get a little confused with the plus character. Taylor On Fri, Jan 7, 2011 at 9:33 AM, Andy abowl...@gmail.com wrote: I am using OAuth to authenticate and then sending in a status update - which works beautifully if there are no spaces in the status string. As soon as I add one in, I run into a 401 - invalid signature error. Any advice? Posting to: http://api.twitter.com/1/statuses/update.json Here are the Headers (everything's stripped from the authorization): ==Authorization== OAuth oauth_signature=[my oauth sig], oauth_token=[my oauth token], oauth_consumer_key=[consumer key], oauth_nonce=[nonce], oauth_signature_method=HMAC-SHA1, oauth_timestamp=1294421252, oauth_version=1.0 ==Content-Length== 25 ==Content-Type== application/x-www-form-urlencoded; charset=UTF-8 ==User-Agent== oAuthRequestAgent Then the page is: ==method== post ==protocol== HTTP/1.1 ==content== status=tweet+from+the+api -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: statuses.update with OAuth failing with spaces
Ah - that's probably it. I did not think about the signature getting out of whack with the form. Thanks. Andy On Jan 7, 12:41 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: For best results, normalize your space separation characters to %20 instead of +. Your POST body should contain something like tweet%20from%20the%20api and your OAuth signature basestring would encode this portion as tweet%2520from%2520the%2520api. Some libraries get a little confused with the plus character. Taylor On Fri, Jan 7, 2011 at 9:33 AM, Andy abowl...@gmail.com wrote: I am using OAuth to authenticate and then sending in a status update - which works beautifully if there are no spaces in the status string. As soon as I add one in, I run into a 401 - invalid signature error. Any advice? Posting to:http://api.twitter.com/1/statuses/update.json Here are the Headers (everything's stripped from the authorization): ==Authorization== OAuth oauth_signature=[my oauth sig], oauth_token=[my oauth token], oauth_consumer_key=[consumer key], oauth_nonce=[nonce], oauth_signature_method=HMAC-SHA1, oauth_timestamp=1294421252, oauth_version=1.0 ==Content-Length== 25 ==Content-Type== application/x-www-form-urlencoded; charset=UTF-8 ==User-Agent== oAuthRequestAgent Then the page is: ==method== post ==protocol== HTTP/1.1 ==content== status=tweet+from+the+api -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Names already taken
When you try to give your app a name at dev.twitter.com and get the this name is already taken message does this mean that there's already an app with that name? Or a Twitter user with that name? And does the app name have to be unique across the sets of both usernames and app names? Finally, is there any way to find out if a taken app name is actually being used? I tried Googling for my taken app name and can't find a Twitter app by that name. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: statuses.update with OAuth failing with spaces
And that fixed it - the encoding that was happening when I built the signature basestring was off from what was getting sent through the browser... On Jan 7, 1:43 pm, Andy abowl...@gmail.com wrote: Ah - that's probably it. I did not think about the signature getting out of whack with the form. Thanks. Andy On Jan 7, 12:41 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: For best results, normalize your space separation characters to %20 instead of +. Your POST body should contain something like tweet%20from%20the%20api and your OAuth signature basestring would encode this portion as tweet%2520from%2520the%2520api. Some libraries get a little confused with the plus character. Taylor On Fri, Jan 7, 2011 at 9:33 AM, Andy abowl...@gmail.com wrote: I am using OAuth to authenticate and then sending in a status update - which works beautifully if there are no spaces in the status string. As soon as I add one in, I run into a 401 - invalid signature error. Any advice? Posting to:http://api.twitter.com/1/statuses/update.json Here are the Headers (everything's stripped from the authorization): ==Authorization== OAuth oauth_signature=[my oauth sig], oauth_token=[my oauth token], oauth_consumer_key=[consumer key], oauth_nonce=[nonce], oauth_signature_method=HMAC-SHA1, oauth_timestamp=1294421252, oauth_version=1.0 ==Content-Length== 25 ==Content-Type== application/x-www-form-urlencoded; charset=UTF-8 ==User-Agent== oAuthRequestAgent Then the page is: ==method== post ==protocol== HTTP/1.1 ==content== status=tweet+from+the+api -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: statuses.update with OAuth failing with spaces
Hey Andy, Glad to hear that worked out for you. Thanks for letting us know! Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Fri, Jan 7, 2011 at 11:13 AM, Andy abowl...@gmail.com wrote: And that fixed it - the encoding that was happening when I built the signature basestring was off from what was getting sent through the browser... On Jan 7, 1:43 pm, Andy abowl...@gmail.com wrote: Ah - that's probably it. I did not think about the signature getting out of whack with the form. Thanks. Andy On Jan 7, 12:41 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: For best results, normalize your space separation characters to %20 instead of +. Your POST body should contain something like tweet%20from%20the%20api and your OAuth signature basestring would encode this portion as tweet%2520from%2520the%2520api. Some libraries get a little confused with the plus character. Taylor On Fri, Jan 7, 2011 at 9:33 AM, Andy abowl...@gmail.com wrote: I am using OAuth to authenticate and then sending in a status update - which works beautifully if there are no spaces in the status string. As soon as I add one in, I run into a 401 - invalid signature error. Any advice? Posting to:http://api.twitter.com/1/statuses/update.json Here are the Headers (everything's stripped from the authorization): ==Authorization== OAuth oauth_signature=[my oauth sig], oauth_token=[my oauth token], oauth_consumer_key=[consumer key], oauth_nonce=[nonce], oauth_signature_method=HMAC-SHA1, oauth_timestamp=1294421252, oauth_version=1.0 ==Content-Length== 25 ==Content-Type== application/x-www-form-urlencoded; charset=UTF-8 ==User-Agent== oAuthRequestAgent Then the page is: ==method== post ==protocol== HTTP/1.1 ==content== status=tweet+from+the+api -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Can't get Oauth working
I'm trying to develop a twitter program but no matter what I do, I can't seem to authorize. I've followed several tutorials to the letter, and can't authorize using their methods either. Most of the time I get Woah there! This page is no longer valid. It looks like someone already used the token information you provided. Please return to the site that sent you to this page and try again ... it was probably an honest mistake. But if I use the Abraham Williams solution, I get 401 code back which is unauthorized. I even registered a second program with Twitter, thinking that perhaps it was something wrong with my application registration - same results. Can someone please tell me what I'm doing wrong? The error messages I get back are not helpful to me for finding out what's gone wrong. Thanks, -k -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] 502 Bad Gateway when trying to retrieve /1/statuses/mentions.json
Hello folks, My twitter client (TweetStation for the iPhone) broke during the holidays as twitter now sends me back a 502 Bad Gateway error when I post the following: GET /1/statuses/mentions.json?count=200 HTTP/1.1 authorization: [My Oauth goes here] Host: api.twitter.com I am doing this over HTTP, not HTTPS, would that make a difference? Miguel -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] 502 Bad Gateway when trying to retrieve /1/statuses/mentions.json
This error usually occurs when it takes longer than a certain amount of allotted time to serve the request. While I'd prefer it if we could serve 200 tweets at a time on a mentions timeline consistently without throwing a 502 (the time will indeed come), you are likely to get better, more consistently successful results by asking for a lower count value. Alternately, if you receive a 502 as a response to a request, wait a few seconds and then retry the request -- more often than not the first attempt will warm the cache up for you, readying the data for the subsequent request. Taylor On Fri, Jan 7, 2011 at 2:56 PM, Miguel de Icaza miguel.de.ic...@gmail.comwrote: Hello folks, My twitter client (TweetStation for the iPhone) broke during the holidays as twitter now sends me back a 502 Bad Gateway error when I post the following: GET /1/statuses/mentions.json?count=200 HTTP/1.1 authorization: [My Oauth goes here] Host: api.twitter.com I am doing this over HTTP, not HTTPS, would that make a difference? Miguel -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] 502 Bad Gateway when trying to retrieve /1/statuses/mentions.json
That explains it. I stopped using my phone during the holiday break, and after that, nothing worked. I typically send the mentions.json with the count, since_id and max_id parameters, but over the holidays that accumulated and started returning errors. I heard about this problem first from a friend that has been traveling around the world and not using twitter very much and he complained about the same problem. Is this a temporary problem that you guys are working on, or is the recommended practice to do client-side looping? And could we get this documented on the API pages? Miguel. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Feature Request: Share Box from Tweet button optimized for mobile device
Thanks for the official Tweet Button - it's nice to have something familiar and consistent for our users. Our current implementation is to have a Tweet button on a mobile website. Functionally it works great, but the Share Box (and login, if necessary) don't work very well on a mobile device (iPhone, in particular - I haven't tested in Android). The fixed width: http://dev.twitter.com/pages/tweet_button_faq#dimensions helps a little bit, but the form fields and labels are still quite small since the device zooms out the page to fit everything in it. This requires the user to zoom in to be able to see exactly what's going on. And if I don't use the actual button and just open twitter.com/share with a querystring, it's even worse b/c of the iPhone's assumption that web pages are 960px wide. My request is that the HTML/CSS of the Share Box login and post be updated with CSS media queries (or a separate page) to accommodate the smaller screen. thanks! -KevinB -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Names already taken
This error message means that the application name has indeed already been registered. The Twitter username and application name spaces are separate. We don't have a public directory of all registered applications, but if you own the registered trademark for the application you're trying to register, we can help you out. Check out http://support.twitter.com/articles/328848 for more information. Brian Sutorius Twitter API Policy On Jan 7, 10:18 am, Jim jimk...@gmail.com wrote: When you try to give your app a name at dev.twitter.com and get the this name is already taken message does this mean that there's already an app with that name? Or a Twitter user with that name? And does the app name have to be unique across the sets of both usernames and app names? Finally, is there any way to find out if a taken app name is actually being used? I tried Googling for my taken app name and can't find a Twitter app by that name. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Update
I am writing to you to inform you about the site http://freetwitterdesigner.com/, on this web application i was able to make my own twitter background which i found extremely usefull and very recomended because it was also free! Whilst i was making my background i was very disapointed to find out that this website has not been updated and so they layout of twitter is an old one where as on the actual twitter website you have made an update for my regards and everyone who uses that website i would like you to update that website and add more feature's on it. If that website does not belong to you i would suggest you make one. Thank you, Sheikh Hussain -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: ~25% loss rate Streaming API vs. Search API
This is hard to believe. Streaming API is an approved API that should not have any limit. It should give you everything without any limit. On the other hand Search API has rate-limitation. Did you use any filter? On Jan 6, 9:42 pm, Brian Maso br...@blumenfeld-maso.com wrote: Hi All, Using the Streaming API, I'm noticing about a 25% loss rate when tracking multiple hashtags vs. using the good old Search API. I'm fouind it hard to believe this is true, so I tested over and over, but I keep getting the same results. The Streaming API just seems to not provide a fair number of tweets. Note that I have the lowest rate limit with the Streaming API -- perhaps highest rate limits have lower loss rates. Has anyone else noticed the rate loss Streaming vs. Search API? Or am I on crack? Does the loss rate get lower with the higher Streaming API account limits? Brian Maso -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Update
@Sheikh145: seriously...? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk