[twitter-dev] Finding old tweets
Is it possible, by way of the API or otherwise, to find a tweet that I sent, and it's reply from the recipient, from May 2010? I know the time of the reply (to the nearest minute) if that helps. I know that is a *very* long time ago in the world of Twitter! Regards, Tim Skipper http://www.intonet-technology.co.uk -- 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] oaut token & secret lengths
Is it still the case that the maximum size for an oauth token or secret is 50 characters? -- 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] Xml output of friendships/show api call
Could I ask the Twitter devs to cast some light on the Xml output from friendsships show? Some of it is a little confusing or misleading I thinnk. Here's a real-world sample response I just received: true 58770203 harrismonkey 58770203 true true true 19742345 timskipper 19742345 true My confusion arises with the nodes which have a "nil" attribute. What is this trying to say? For example, /relationship/source/blocking has not valye, but a nil=true attribute. Is this source blocking the target or not? Some clarity would be much appreciated! Regards, Tim Skipper -- 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: Count of Retweet Messages
On Feb 14, 8:18 am, Myung Jin Lee wrote: > Hi. > > I am making tweet analyzer. > So, I have a question, and I need your help. > > Can I know total count of someone's message retweeted by others? > > I wonder if you can help me. > Thanks. You need this API call: http://dev.twitter.com/doc/get/statuses/retweets_of_me Regards, Tim Skipper -- 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: how to communicate with followers
On Feb 12, 1:15 am, Carlos Eduardo wrote: > I need a help, I'm developing an app for a client where it needs to > communicate with his followers individually, each follower will > receive a different > link, the solution would be to have DM, but with a limit of 250 per day this > becomes impossible, try sending mentions twitter but suspends the User, for > thinking and spam, is there any way? > > thanks > > Eduardo Presumably these followers have opted-in to receive these DMs? In which case why not ask them to opt-in with their email address and send them an email instead? If they've not, then shame on you for adding to the spam pool. Regards Tim -- 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: Looks like our application is DOA...
On Feb 12, 2:19 pm, Gummy Bear wrote: > There's simple workaround for that. Just think about it and you'll > figure it out ;-) Yes, use email instead. I can't help thinking that all these devs up in arms because Twitter have limited use of their (free) service are making twitter apps just because it's the latest bandwagon to jump on, rather than because it's the most suited platform for the task in hand. I personally think Twitter should bin DMs altogether, it seems at odds with what Twitter is all about. Regards Tim -- 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] oAuth Authorization Header
Is the order of the parameters important in the Authorization header? Must it match that of the base string used for signing? Regards, Tim Skipper http://www.intonet-technology.co.uk -- 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] OAuth Echo, keep getting a 401
Hello, I am building a service similar to TwitPic but for long messages. I am using Echo OAuth and I wrote a unit testing script to show you what is going on http://api.tweedom.com/unittest/unittest.php On the back end I am opening the header, unfolding the content in X- Verify-Credentials-Authorization to rebuilt the OAuth headers and I do a GET http://api.twitter.com/1/account/verify_credentials.xml The unit test will show you the content of X-Verify-Credentials- Authorization and the header that is sent to Twitter. What am I missing, please? BTW: I plan to publish extensive code samples about Echo OAuth so that other developers like me can learn how to do it right and stop bugging you ;-) The code of the unit test is *** define ('oauth_http_provider', 'http://api.twitter.com/1/account/ verify_credentials.xml'); $consumer = new OAuthConsumer(CONSUMER_KEY,CONSUMER_SECRET,NULL); $access_token = new OAuthToken($access_token['oauth_token'], $access_token['oauth_token_secret']); $request = OAuthRequest::from_consumer_and_token($consumer, $access_token, 'GET', oauth_http_provider,NULL); $request->sign_request(new OAuthSignatureMethod_HMAC_SHA1(), $consumer, $access_token); // clean up the header, Tweedom is like Twitpic, it prefers a clean list without the 'Authorization: OAuth' label, please $header = $request->to_header(); # Snip out the "Authorization: " part, and add a realm to be polite $real_header = explode("Authorization: OAuth", $header); $header = 'OAuth realm="http://api.twitter.com/";,' . $real_header[1]; # Keep the spaces between elements, even though we shouldn't have to $header = str_replace(",", ", ", $header); echo 'the http header for X-Verify-Credentials-Authorization: '. $header.'calling http://api.tweedom.com/1/jumbotweex/new.xmResponse: '; $response = send_echo_request("POST", 'http://api.tweedom.com/1/ jumbotweex/new.xml', $header, $post, oauth_http_provider); # Evaluate the response if ($response) print_r($response); function send_echo_request($http_method, $url, $auth_header, $postData, $echo_url) { $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_FAILONERROR, false); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true); // Set our OAuth Echo headers curl_setopt($curl, CURLOPT_HTTPHEADER, array( 'X-Verify-Credentials-Authorization: ' . $auth_header, 'X-Auth-Service-Provider: ' . $echo_url )); curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_POSTFIELDS, $postData); $response = curl_exec($curl); //echo $response; if (!$response) { $response = curl_error($curl); } curl_close($curl); return $response; } *** -- 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] (OAuth) Favorite create and destroy malfunctioning, confirmed in Twurl
Favorite Create do a POST with this url /1/favorites/17983195453/create.xml and you get " /1/favorites/17983195453/create.xml Not found " I checked, the ID is correct. Moreover this can be easily repro in Twurl to the same result Destroy performing a POST with id as parameter returns " /1/favorites/destroy.xml This method requires a GET. " Which is garbage since GET is obviously neither the right mode nor in the documentation. Even if one was to use GET and pretend is the right mode, it still does now work (it does not remove the relationship) and it returns a null array. Please fix :-) Thanks!