[twitter-dev] Re: Twitter Error codes ( not HTML errors )
I guess this is a silly question then. Sorry to have bothered you with it. On May 25, 9:59 am, Maomor maldw...@gmail.com wrote: I do not understand why this information is not available, in the documentation or as a reply to my question here ? Is there some reason for it ? On May 23, 12:05 pm, Maomor maldw...@gmail.com wrote: Is there a list of the Twitter errors we get back ? That is, not the HTTP errors like 401 etc, but errors like this ( in JSON ) : { errors: [ { code:39, message:Creation token is missing or invalid -- call similar_places to get a valid creation token } ] } -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Re: Is it possible to Capture a Tweet Button Tweet to fire off another Javascript Call
Thanks Mohan, I'll give it a try. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re: Twitter Error codes ( not HTML errors )
I don't think it's a silly question, just that no one knows except twitter. +1 for an answer from the twitter team is possible, because it's easier to parse and react to '39' than the equivalent strings. Anyone ? Bueller, Bueller, Bueller ? :-) On 26 May 2011, at 08:57, Maomor wrote: I guess this is a silly question then. Sorry to have bothered you with it. On May 25, 9:59 am, Maomor maldw...@gmail.com wrote: I do not understand why this information is not available, in the documentation or as a reply to my question here ? Is there some reason for it ? On May 23, 12:05 pm, Maomor maldw...@gmail.com wrote: Is there a list of the Twitter errors we get back ? That is, not the HTTP errors like 401 etc, but errors like this ( in JSON ) : { errors: [ { code:39, message:Creation token is missing or invalid -- call similar_places to get a valid creation token } ] } -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] authenticate and authorize urls dont work on some BB devices
Hello, In light of recent announcements, we have been trying to update our authorization flow to use OAuth... We have run into some issues with the Authenticate and Authorize pages not functioning on some BlackBerry devices.. These are not even devices that are that old.. It seems that OS 5.0 devices are unable login using the authenticate and authorize urls. The javascript on the page prevents the fields from being completed by the user, while I am sure this due to some broken implementation on the device, it makes it impossible to do run an OAuth flow. Is there some argument or other way to get a very simple basic HTML form that would work on devices with broken javascript? Can twitter at least have someone take a look at their OAuth pages with a 5.0 BlackBerry. I have not tested all BlackBerry OS's, but I know 6.0 devices work, 5.0 devices do not work at all, and 4.2 devices (many in 3rd world still use these) have very very ugly but somewhat functioning interface. Thanks for any insight or workarounds that might be provided. --George -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Sign a request fails
Hi everyone, I'm trying to get a request signed so I can get me a request token and got completely stuck! I have used the info that twitter use in their example in the documentation to be sure that I have formatted my data correctly etc. I have identical Basestring and Key but still I'm not getting the same Signature. I have looked at several other examples and I seem to have done the same thing as most people have done. Would love some help to sort this out! Here is the code: code -- private function sign_request($http_method, $url, $params, $oath) { // SET BASE STRING $sign_params= $this-set_sign_params($params, $oath); $sign_url = $this-set_sign_url($url); $base_string= $this-set_sign_basestring($http_method, $sign_params, $sign_url); print $base_string; // Output the same as the twitter example: POSThttps%3A%2F%2Fapi.twitter.com%2Foauth %2Frequest_tokenoauth_callback%3Dhttp%3A%2F%2Flocalhost %3A3005%2Fthe_dance%2Fprocess_callback%3Fservice_provider_id %3D11%26oauth_consumer_key%3DGDdmIQH6jhtmLUypg82g%26oauth_nonce %3DQP70eNmVz8jvdPevU3oJD2AfF7R7odC2XJcn4XlZJqk%26oauth_signature_method %3DHMAC-SHA1%26oauth_timestamp%3D1272323042%26oauth_version%3D1.0 // GET HMAC-SHA1 SIGNATURE if($this-signature_method == 'HMAC-SHA1') { // SET KEY $key = $this-set_sign_key(); print $key; // Output the same as the twitter example: MCD8BKwGdgPHvAuvgvz4EQpqDAtx89grbuNMRd7Eh98 //SIGN $signature = base64_encode(hash_hmac('sha1', $base_string, $key, true)); print $signature; // DO NOT output the same as the twitter example. Twitteroutput: 8wUi7m5HFQy76nowoCThusfgB+Q= and my outout: Ewqbgi+AMRZGMcqwQTjhE5/ZD80= } return $signature; } /code -- What have I missed? Anyone got any Idea? Also a fun thing is that if I set the signture to the one in the twitter example I still can't get a request token... Thanks in advanced! -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] making tutor token key life time valid
i have got a twitter login button in my application.when the user click that button he/she goes to twitter authentication page and then after performing the necessary things they are directed back to my application.now what i need to do is make that the twitter authentication key i get in return lifetime so that later my application can tweet in the respective user's wall on behalf of user ,but without user getting login.if anybody has the solution plz help me -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] making tutor token key life time valid
Twitter's OAuth 1.0A implementation offers access tokens that do not expire unless manually severed by the end-user. After you've sent the user through the OAuth negotiation steps and you've acquired an access token, store the oauth_token and oauth_token_secret in your database associated with the current user then use that token whenever making Twitter API requests on that user's behalf. @episod http://twitter.com/episod - Taylor Singletary On Thu, May 26, 2011 at 2:14 AM, Mrbeam trn6.hit...@gmail.com wrote: i have got a twitter login button in my application.when the user click that button he/she goes to twitter authentication page and then after performing the necessary things they are directed back to my application.now what i need to do is make that the twitter authentication key i get in return lifetime so that later my application can tweet in the respective user's wall on behalf of user ,but without user getting login.if anybody has the solution plz help me -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] https issue with Tweet button
For the standard tweet button, it uses a JS embed found at ... http://platform.twitter.com/widgets.js For pages on my site with SSL, this throws an errors. The https link to that file throws an error as it cannot find a certificate. Does twitter plan to fix this any time soon? https://platform.twitter.com/widgets.js -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] TweetDeck joins Twitter
Twitter is trying to defend himself of becoming an hostage, since most users use these apps instead of the website. With such huge users base, TweetDeck along with other app, e.g., Echofon, would have enough audience to create a competitor to Twitter eventually. Anyway, there is also room for innovation. Let's put our head to work. Who knows our app becomes the next big purchase by Twitter. :D On Wed, May 25, 2011 at 2:02 PM, Felipe Knorr Kuhn fkn...@gmail.com wrote: I just wish Twitter would focus on the features the users want, rather than spending money buying Twitter clients. Some are really simple like raising the number of lists you can create, an url shortener on the web interface, tweet to groups, etc. Or the really useful feature that is searching for tweets older than one week. But oh well, you can't demand features from a free service, anyway. FK On Wed, May 25, 2011 at 12:34 PM, Matt Harris thematthar...@twitter.comwrote: Hey everyone, Today we announced on the Twitter Blog ( http://blog.twitter.com/2011/05/all-decked-out.html ) that the TweetDeck team has joined Twitter. When Tweetie became part of the Twitter family the user growth was huge, creating more opportunities for developers to build applications for the growing audience. With TweetDeck now joining us we expect to see even more opportunities become available to you and look forward to seeing what you create. TweetDeck is a powerful platform for brands, publishers and advanced Twitter users, and we’re really excited that Iain and his team are joining us. We’re looking forward to working with them as we invest and support the TweetDeck that you all are familiar with. Best @themattharris -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Ernandes Jr. - ALL programs are poems. However, NOT all programmers are poets. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] force_login on authorize?
Please REMOVE me from twitter development talk. Thanks Burhan Tanweer -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] A problem about using the Twitter4j 1.7
I have used Twitter4j 1.7 to develop my application so far. However, I found a big problem there. I have got the following list of a user by using this. IDs friendsIDs = twitter.getFriendsIDs(userID); and Also I'm trying to know who does the user retweet to: LinkedListStatus tweets = twitter.getUserTimeline(userID); for(int i = 0; i != tweets.size(); ++i) { if(tweets.get(i).isRetweet()) { System.out.println(the user has retweeted to user +tweets.get(i).getRetweetedStatus().getUser().getId()); } } However, I found that the people who are retweeted by the user are all not in the following list! How does this happen? The user retweets the people who are not his following? Why? Is there any error I have made? Thanks very much! -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] New Twitter web feature
I was just reading about the new feature rolling out on the website http://techcrunch.com/2011/05/26/now-you-can-see-twitter-the-way-i-see-twitter/ Are there any plans to make this API available to developers? -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Re: Twitter Error codes ( not HTML errors )
Thanks - the silence is strange. On May 26, 12:38 pm, hax0rsteve hax0rc...@btinternet.com wrote: I don't think it's a silly question, just that no one knows except twitter. +1 for an answer from the twitter team is possible, because it's easier to parse and react to '39' than the equivalent strings. Anyone ? Bueller, Bueller, Bueller ? :-) On 26 May 2011, at 08:57, Maomor wrote: I guess this is a silly question then. Sorry to have bothered you with it. On May 25, 9:59 am, Maomor maldw...@gmail.com wrote: I do not understand why this information is not available, in the documentation or as a reply to my question here ? Is there some reason for it ? On May 23, 12:05 pm, Maomor maldw...@gmail.com wrote: Is there a list of the Twitter errors we get back ? That is, not the HTTP errors like 401 etc, but errors like this ( in JSON ) : { errors: [ { code:39, message:Creation token is missing or invalid -- call similar_places to get a valid creation token } ] } -- Twitter developer documentation and resources:https://dev.twitter.com/doc API updates via Twitter:https://twitter.com/twitterapi Issues/Enhancements Tracker:https://code.google.com/p/twitter-api/issues/list Change your membership to this group:https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Incorrect signature
Hello API people. I have a problem I hope someone can help me with. I have developed an OAuth class in IBM LotusScript which enables me to write tweets using background agents with the IBM Domino platform. It was a steep learning curve but the class appears to work (at least in part). Now, today I managed to get my first status update to work and in the excitement I tried my code, which Twitter responded saying it was a duplicate - fair enough, it said hello only. However, since then I can no longer get and status updates to work, I always get Incorrect signature. To check that all the basics are correct, my code allows me to perform a Token Request to https://api.twitter.com/oauth/request_token . This seems to always work and I never get signature issue. And to confirm it works further I can confirm I am getting the correct oauth_token and oauth_token_secret. The problem appears when I try to do a direct status update to https://api.twitter.com/1/statuses/update.json . I have followed the API info and so far spent two solid days but cannot repeat a successful post. Of course I have used the four required keys and secrets and verified that all the base strings are correct, signature calculations correct etc etc. I just wonder if I am sending the status=hello correctly or what... Basically I am at a loss. Can anyone help? desperation is setting in. Is there any additional info I can provide? -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk