Re: [twitter-dev] illegal character in json feed
Same thing's happening to me. Check out: http://search.twitter.com/search.json?q=%23jimromeisburningcallback=doghttp://search.twitter.com/search.json?q=%23jimromeisburningcallback=dog Should look like this: dog( { - - results: [ - - { - from_user_id_str: 257702817 - profile_image_url: http://a1.twimg.com/profile_images/1364757456/2011-05-22_13.20.33_normal.jpg - created_at: Tue, 14 Jun 2011 20:36:33 + - from_user: ATLienSince1987 - id_str: 80735397449183232 - - metadata: { - result_type: recent } - to_user_id: null - text: #JimRomeIsBurning - id: 80735397449183230 - from_user_id: 257702817 - geo: null - iso_language_code: is - to_user_id_str: null - source: lt;a href=quot;http://levelupstudio.comquot; rel=quot;nofollowquot;gt;Plume lt;/agt; } .. ] - max_id: 80735397449183230 - since_id: 0 - refresh_url: ?since_id=80735397449183232q=%23jimromeisburning - results_per_page: 15 - page: 1 - completed_in: 0.185672 - since_id_str: 0 - max_id_str: 80735397449183232 - query: %23jimromeisburning } ) But 3/5 times it doesn't, it looks like this: dog( � ݘYo�F ǿʚF݇Z�� 85b�)� M�č�]�� 7�w��.ےl� ҇�A�o�3�oN%��hj���7�_�2nkY�*���r� A�iH �� U�� �2 ȸ� hϛf��X� 75�w�_� ��@ \� ńt��P �R�2 kS�I�~ `���I#�8i`�^+ Ȏ��.댡_0|���`�}�{���P:�$ ���M�8`�E � e K�$Y�$N��� qs=�л��ԍ���i�� NW�E �ȯֲ�SU~4��_��Vz0Y���,txǧNw��Cg �|VU��H���~MMf�P�sۀ�N��k�V��sP4� �WKk�g�h �J ��n�L �i+�d1��M� � O �g�E[ʿZ� ���{�m W�g�q ���]؈ � ���9 ���֏A� ] v9_��͔wi�CF0 a�qHE�+ Ǧ�P#� Um!�=��Y�`�T�� K+��1�� �c �2� =�� t��v߆A� $�� }� * !b›�| �v9��h- gj( ��.܇ �2 G���4,� � 5�DcS� �s3FF��bɄU*f�H��O� ��4��Dd ���X �5ʍ�[0қN���B�|2h#.D�� ��7�� � A@s# �� O�� �Ę��@љ�@ ��g� Z��py\ Iw)bA�q( ; �S$E � F/e=��O� �%� dG@*A � m���Թ� K�J~B'?�hTɦ�Fu[I��(;c��; � �Gpʇ�E� dQ�IH�/ �.�p �E$ �Q�L�� � ���*��Gb{4 �Y� �S��.�/$���۪ �����υ��P �f��8�OP- ��Z͏�� `ky�'�� D��Lt���D�I� A~ 'M�[ �Od E'5�#:sڥj��� ��Dz9.Z��/��]Q�Y�~�x d3+���f{���,� JIP�M �=� % h$���圜���m���%|���_M� ���Q�#,�*Osj�V\ �� 7B���C`�p�� r odҡ���M n�Z1�N �p(v)�|p ( �Xd���fȵP�!�@�A �p E��hW �d��*iP�fPY%5J�� �ٯ���џ�Rܶj �eW P 'ۡ� �a � c ��3b�kc� �p��v i�O� zB�u��K���r��.r�Do[��uq��zf�ؤ��oSu�� �TM� ۥ${��R u1 �� E�H 5�-(=�7���ZA� ���ei8*�Tvd�TY���L�� yf�t �� = ��Z�w1�H�@� p�*v� ~Ru�N�ܶ �C5���!jJmVC��\�� s�ptk��[ w�^2�){.��q �}���j�wI �K�XնY��3m�Am,/o��7x8� p�` @#�ż��ʸ�/� �lv�#�� vi�-���`2娐 '�aE�Ɗ % � �/m�!�� � D x ); Stackoverflow question: http://stackoverflow.com/questions/6348065/sencha-touch-jsonp-error -- 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: consistency and ecosystem opportunities
Thanks for the clarification Ryan. Two questions: 1) Do you have a clear definition of what counts as a Twitter client? Is it any app/service that posts updates to Twitter, including apps like twitterfeed and Instapaper? Or is it only those apps that are primarily clients? I'm certainly familiar with the challenge of classifying apps ;) but wanted to know who will be covered by the ToS Section 1.5 and how you think about clients given Twitter's updated stance. 2) In section 1.5.A of the ToS it says: Your Client must use the Twitter API as the sole source for features that are substantially similar to functionality offered by Twitter. Some examples include trending topics, who to follow, and suggested user lists. Is the Who to follow functionality available via API from Twitter for clients that want to offer this? I wasn't aware that it been released as API but may have missed it on dev.twitter.com. Thanks, -mike On Mar 11, 3:47 pm, Eric Mill kproject...@gmail.com wrote: More specifically, developers ask us if they should build client apps that mimic or reproduce the mainstream Twitter consumer client experience. The answer is no. We need to ensure users can interact with Twitter the same way everywhere. I'm not sure you can say these things and simultaneously try to say you have a welcoming developer environment. All third party Twitter developers, no matter what they make, are now walking on eggshells, constantly at risk of offending Twitter's ideas of how users should interact with Twitter. You may feel you need this consistency, but you don't. You want it, and are willing to make tradeoffs to get it. I just hope you realize how big those tradeoffs are, and how chilling it is for Twitter to decide that only certain kinds of innovation on the Twitter API are welcome. -- Eric -- 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] Problem with posting info to twitter account
Does anyone know why I get a bunch of + symbols instead of spaces when I use this code that shoots my intranet posting to my twitter account? ? function tweet($status){ // Insert your keys/tokens $consumerKey = ''; $consumerSecret = ''; $OAuthToken = '-'; $OAuthSecret = ''; require 'twitteroauth.php'; $oAu = new TwitterOAuth($consumerKey, $consumerSecret, $OAuthToken, $OAuthSecret); $oAu-post('statuses/update', array('status' = $status)); } function make_jmp_url($url,$login,$appkey,$format = 'xml',$version = '2.0.1') { //create the URL $jmp = 'http://api. /shorten?version='. $version.'longUrl='.urlencode($url).'login='.$login.'apiKey='. $appkey.'format='.$format; $response = file_get_contents($jmp); if(strtolower($format) == 'json') { $json = @json_decode($response,true); return $json['results'][$url]['shortUrl']; } else //xml { $xml = simplexml_load_string($response); return 'http://j.mp/'.$xml-results-nodeKeyVal-hash; } } $tweet = ''; $longURL = 'url' . $row-id; $shortURL = make_jmp_url($longURL, 'admin', '', 'json'); $tweet .= urlencode( $row-title ); if (strlen($tweet) 119) { // shorten status update to fit in 140 with URL $tweet = substr($tweet, 0, 116 ) . '...'; } $tweet .= ' - '; $tweet .= $shortURL; tweet($tweet); ? -- 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: Send status update with OAuth/PHP/cURL
I just need to edit the 3 lines of code rather than anything in the OAuth.php or twitteroauth.php files correct? Or do I need to change stuff in those two files? On Jan 27, 3:06 pm, Abraham Williams 4bra...@gmail.com wrote: Using TwitterOAuth you basically need three lines of code to get started. https://gist.github.com/564882 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 27, 2011 at 13:49, Peter Denton petermden...@gmail.com wrote: Abraham's oAuth library and examples work pretty much out of the box. https://github.com/abraham/twitteroauth If you need any help, please feel free to ask me off the list. regards Peter On Thu, Jan 27, 2011 at 12:59 PM, Mike Jones mikejo...@integer.comwrote: I was using the following code to hook to my twitter account but now since I was using basic authentication instead of OAuth I am not tweeting anymore. Does anyone know of the code of samples that use OAuth with cURL/PHP? ? function make_jmp_url($url,$login,$appkey,$format = 'xml',$version = '2.0.1') { //create the URL $jmp = 'http://api.j.mp/shorten?version='. $version.'longUrl='.urlencode($url).'login='.$login.'apiKey='. $appkey.'format='.$format; //get the url $response = file_get_contents($jmp); //parse depending on desired format if(strtolower($format) == 'json') { $json = @json_decode($response,true); return $json['results'][$url]['shortUrl']; } else //xml { $xml = simplexml_load_string($response); return 'http://j.mp/'.$xml-http://j.mp/%27.$xml- results-nodeKeyVal-hash; } } function tweet($status) { $username = 'test'; $password = 'test'; if ($status) { $tweetUrl = 'http://www.twitter.com/statuses/update.xml'; $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $tweetUrl); curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 2); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_POSTFIELDS, status=$status); curl_setopt($curl, CURLOPT_USERPWD, $username:$password); $result = curl_exec($curl); $resultArray = curl_getinfo($curl); if ($resultArray['http_code'] == 200) { $msg += ' and was Tweeted!'; } curl_close($curl); } } $tweet = ''; $longURL = 'http://test.com'. $row-id; $shortURL = make_jmp_url($longURL, 'username', 'apikey', 'json'); $tweet .= urlencode( $row-title ); if (strlen($tweet) 119) { // shorten status update to fit in 140 with URL $tweet = substr($tweet, 0, 116 ) . '...'; } $tweet .= ' - '; $tweet .= $shortURL; tweet($tweet); ? -- 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 -- Peter Denton Co-Founder, Product Marketing www.mombo.com cell: (206) 427-3866 twitter @Mombo_movies twitter - personal: @petermdenton -- 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] Invalid Unicode value in one or more parameters
Hello, I'm currently sending an oAuth request to request a token for my app and I'm getting the following error in the XML response ?xml version=1.0 encoding=UTF-8? hash ... errorInvalid Unicode value in one or more parameters/error /hash I can't seem to find any additional documentation on this error or anyone else having an issue like this. Any ideas? -- 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] Send status update with OAuth/PHP/cURL
I was using the following code to hook to my twitter account but now since I was using basic authentication instead of OAuth I am not tweeting anymore. Does anyone know of the code of samples that use OAuth with cURL/PHP? ? function make_jmp_url($url,$login,$appkey,$format = 'xml',$version = '2.0.1') { //create the URL $jmp = 'http://api.j.mp/shorten?version='. $version.'longUrl='.urlencode($url).'login='.$login.'apiKey='. $appkey.'format='.$format; //get the url $response = file_get_contents($jmp); //parse depending on desired format if(strtolower($format) == 'json') { $json = @json_decode($response,true); return $json['results'][$url]['shortUrl']; } else //xml { $xml = simplexml_load_string($response); return 'http://j.mp/'.$xml-results-nodeKeyVal-hash; } } function tweet($status) { $username = 'test'; $password = 'test'; if ($status) { $tweetUrl = 'http://www.twitter.com/statuses/update.xml'; $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $tweetUrl); curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 2); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_POSTFIELDS, status=$status); curl_setopt($curl, CURLOPT_USERPWD, $username:$password); $result = curl_exec($curl); $resultArray = curl_getinfo($curl); if ($resultArray['http_code'] == 200) { $msg += ' and was Tweeted!'; } curl_close($curl); } } $tweet = ''; $longURL = 'http://test.com' . $row-id; $shortURL = make_jmp_url($longURL, 'username', 'apikey', 'json'); $tweet .= urlencode( $row-title ); if (strlen($tweet) 119) { // shorten status update to fit in 140 with URL $tweet = substr($tweet, 0, 116 ) . '...'; } $tweet .= ' - '; $tweet .= $shortURL; tweet($tweet); ? -- 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] API support for 'first tweet'
hey you lovely people I know we have the limits on search results but would it be possible to request and get back get the first tweet on for som specific searches. So things like profile and tag searches could support this. The historical data wouldn't change, you just need to capture tithe first time. If you searched a tag for example, you could get you limited results and can make a separate call to get just the first tweet - which would tell you lots... Like who, what and when. Might be a good compromise to some of the limitations of results and really help me out :) ! What do others think? Mike - is a newbie RoR dev, oldie javanista and entrepreneur has a passion for people and their stories loves twitter and other tools for dialogue -- 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] Whitelisted on Twitter
Hey guys We're integrating Twitter into our project, and after looking into whitelisting, it looks like the max calls an hour is 20,000. While that MIGHT be enough for us, we're worried that we will come to close to that number during initial launch of our product. Is there a contact number out there where I can call Twitter and talk to them directly? It seems almost impossible to find something for them. I'd love to boost the 20,000 to maybe 30,000 if possible. Anyone have any thoughts? -- 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] Storing twitter stream public timeline, conversations and hashtag search!
This may (or may not) be helpful depending on the nature of your particular research project... but have a look at: http://nodexl.codeplex.com/ NodeXL is a free Excel template that lets you enter a network edge list, click a button, and see the network graph. It has an import function that grabs from Twitter and allows you to visualize the results as a graph. hth Mike B On Sun, Dec 19, 2010 at 4:19 PM, imbenzene imbenz...@gmail.com wrote: Myself an 2nd year undergrad and I am running a minor research project on twitter analysis. I need to urgently* collect tweet streams for certain users and streams by searching hashtags*. I am completely neo in this development side, with no previous knowledge of scripting and Mysql, python or databases. Any suggestions with what to start from beginning will be highly appreciated, and what shall i start studying, online tutorials and all if available online. I have TWITTER API by Kevin Makice but its too confusing without prior knowledge. I have created the mysql database with phpmyadmin, and created the required 6 tables but its not reading the scripted php codes to download tweets, errors are creeping in and bugging my head. In the previous posts it was mentioned something about *certain websites doing this job and and allowing to export data as whole* I am in urgent need for one, I know one was 140kit.com which is not working these days. In the end I have to just put the collected data into data mining tools like Weka or Tableau public 6.0 and run for visualisations. Web is tooo blogging in sense what shall i start with python, JSON, scala or run a php code for it( if possible suggest tutorials for neo's), Plus will i have to run my laptop full on for week something for streaming? Please help me out as my deadline is just coming up right this week. Any help so that I can make it fast and quick without going through much of gross work, is appreciated. Is there any *online resource paid or unpaid available which can do this work of just collecting tweets for certain hash tags over a period of time and deliver collected data *in desired format with location, and time tags ? thanks a ton in advance! Reply please its very urgent. -- 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] Destroying/Undoing Retweet
Hello, If i try to run 'statuses/destroy' on a status I retweeted, I get the error You may not delete another user's status. I've searched around and found this bug: http://code.google.com/p/twitter-api/issues/detail?id=1274 I see no replies though whether there are plans to implement an easy way to grab the Retweet ID. Can someone confirm or deny that this is in the works right now? Or if I'm just doing something wrong? -- 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: Destroying/Undoing Retweet
Hrm, weird. I attempted adding that param when accessing 'statuses/ user_timeline' but the datapoint was not created. Maybe I overlooked something. I'll try it again and see what happens. On Dec 20, 4:32 pm, Matt Harris thematthar...@twitter.com wrote: Hi Mike This feature is supported as documented in that ticket. To find the right status ID you can call a timeline method with the parameter include_my_retweet=1. The include_my_retweet parameter will cause a new datapoint current_user_retweet to be included in the status if the current user has retweeted it. This datapoint contains the status ID of the retweet the authenticating user created. This is the status ID to destroy if you wish to undo the retweet. If the element is not included it means the user you are OAuthing with hasn't retweeted that status. Example: current_user_retweet: { id: 26815871309, id_str: 26815871309 }, Best, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Mon, Dec 20, 2010 at 10:48 AM, Mike under619ta...@gmail.com wrote: Hello, If i try to run 'statuses/destroy' on a status I retweeted, I get the error You may not delete another user's status. I've searched around and found this bug: http://code.google.com/p/twitter-api/issues/detail?id=1274 I see no replies though whether there are plans to implement an easy way to grab the Retweet ID. Can someone confirm or deny that this is in the works right now? Or if I'm just doing something wrong? -- 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: oAuth still working for everyone.?
Anyone using PHP can use https://github.com/abraham/twitteroauth . It supports the oauth_verifier (as of its most recent update). Earlier versions of twitteroauth didn't support it and had a different parameter order for making requests, so if you're updating, be sure to check those things out. This guide will help those looking to be walked through a bit too - http://blancer.com/tutorials/73877/how-to-authenticate-users-with-twitter-oauth/ On Dec 2, 7:19 pm, kprobe goo...@kprobe.com wrote: I am using TwitterEPI library. Mine was out of date. Uploaded the newest version and my app now works. Mark On Dec 2, 7:06 pm, Tim Haines tmhai...@gmail.com wrote: Hey Taylor, Thanks for rolling this back. It seems odd that you'd push this out without notice when you know it will break apps. Or was there notice somewhere? Can you deploy your new code to a test endpoint so people (myself included) can test that their new code complies with your new requirements? Cheers, Tim. On Fri, Dec 3, 2010 at 7:59 AM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Folks, We're going to rollback a subset of these changes for now. Before we give this another try, we'll let everyone know the specific pain points and give some time to adjust to them. In the meantime, those who experienced trouble today will want to verify that their libraries are doing the right thing in regard to the bullet points I posted above. Also useful is making sure that you don't send additional headers related to basic auth in an OAuth request, that you're using the proper, versioned api-subdomain end points, etc. Dave: It's pretty crucial that you send an oauth_verifier on the access token step. It's not valid OAuth 1.0a without it. Sorry about the mess folks. We should never have let these bugs persist for so long. Taylor On Thu, Dec 2, 2010 at 2:45 PM, Tom van der Woerdt i...@tvdw.eu wrote: Waiting doesn't help solve the issue. The spec hasn't changed, the API is just a bit more watching for the mistakes which some developers tend to make. I'd recommend diving into the code and fixing the errors, instead of asking the Twitter API team to accept your broken OAuth implementations. :-) Tom On 12/2/10 11:42 PM, LeeS - @semel wrote: I am using this library on all my sites: https://github.com/jmathai/twitter-async, all of which are now broken and fail to let anyone log in. Any way this can be rolled back until all the various oAuth libraries people are using are brought up to date? Lee On Dec 2, 5:35 pm, Dave-twiendsi...@davesumter.com wrote: Thanks Taylor, yip unfortunately I wrote my oauth code about 18 months ago, before most of the libraries were out, so there could be anything wrong. It's probably not 100% spec compliant, which is probably why it broke. I've tracked down the issue to the access_token exchange part of the process. The access token's that I have from before are still working, just can't get new ones. I've noticed I'm not passing oauth_verifier back in the request, which could be causing the issue.. Will let you guys know how I get on... Thanks for the pointers Dave On Dec 2, 9:57 pm, Taylor Singletarytaylorsinglet...@twitter.com wrote: We've corrected a number of long-standing OAuth-related bug fixes -- mainly in areas where we more liberal than we should have been when verifying signatures. Here are a few things to verify: * Verify that you are using your consumer key where the consumer key is supposed to go. Compare this to what you see for you app on dev.twitter.com * Likewise, verify that you are using your consumer secret where it is supposed to go. Compare this to what you see for you app on dev.twitter.com * Laugh at the obviousness and absurdity of a check like that. Cry a little because we already know some people were doing the wrong thing here, especially on end points that didn't require authentication. * Verify that your timestamps are in range * If you're sending a request to a resource that doesn't require authentication but you're including OAuth credentials: - we used to just give you a free pass even if the credentials were incorrect. Hey, it doesn't require auth, so why bother checking? - now we check this. if you pass us an OAuth header or anything that looks like an OAuth-based request, we will check it for validity, even if it's a resource that doesn't require auth. We haven't changed anything about our actual core signature validation code -- what was a valid signature before should be a valid one now. We're just checking the validity in more use cases than we were previously, and checking other validity points we were flexible with previously. Taylor On Thu, Dec 2, 2010 at 1:32 PM,
[twitter-dev] [bug] New Twitter/Flash Player
Someone linked to a YouTube video in their tweet, so I clicked the tweet so the tweet appeared in my right panel; but when I clicked the Twitter home logo on the top right of the page, the right panel slid to the left, disappeared, but the video continued to play. -- 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] @Anywhere Typo (Minor)
Under Users login signup Custom Connect with Twitter Button it reads: If the default look and feel of the Connect with Twitter button don't meet your needs, @Anywhere makes it easy to build a custom button. I believe it should be buttons don't or button doesn't. :) -- 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] @Anywhere OAuth Question
Hello, I've created a full feature app using twitteroauth PHP library found on GitHub, and know most calls like the back of my hand.. haha. I was looking into using the @Anywhere javascript library, and watched the slideshow from a workshop presented by @themattharris, so I seen how to pass the OAuth Bridge Code to a script and convert the OAuth 2.0 token to a OAuth 1.0 token. Now, in my PHP application, I have it storing the users token and token secret so they don't have to login each time they use my app. (i.e., they close out of their browser, come back to my app, it takes their user id upon other things in my system and matches them up to the token and token secret for them in my database, and logs them in.) My question: Is there any way to login a user with @Anywhere without checking to see if they are logged into Twitter or having them click the Connect with Twitter button every time they would go to my app? Thanks in advance, @mikehelmick -- 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] User Background Error
Well, I recently updated my Twitter background from an image to just a solid color. @mikehelmick On an application that is using the Twitter API, I am pulling in the users background, but on my page; it still shows my previous background image rather than just a solid color. Hope to see a fix for this. :) -- 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?hl=en
[twitter-dev] Really need assistance with a basic user timeline
Hello all, I am pulling my hair out trying to find an answer to this problem and what seems like a simple problem really isn't turning out to have a simple answer. All I want to do is list the most recent tweets and retweets in my account on my website. I used to do this easily using PHP and cURL but that feature has been broken since Twitter moved to oAuth. Now I want to duplicate this functionality but I just cannot seem to understand how to do it. All of the tutorials I've read are for creating apps with sign ins and updating your accounts, but all I want is the dang FEED - no updating status, no direct messages, just my stream. Can someone please help me? I am frantic. Thanks, Mike -- 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?hl=en
[twitter-dev] Re: Really need assistance with a basic user timeline
I suggest using http://github.com/abraham/twitteroauth Set up an application on http://dev.twitter.com/apps/new Plug the CONSUMER_KEY and CONSUMER_SECRET you get after creating the App into the TwitterOAuth script. Run the script and login, etc. In callback.php; you'll need to print_r on $_SESSION and save those tokens as strings. Then you'll want to make a connection to the TwitterOAuth with the tokens you have and do: $connection-get('statuses/user_timeline'); $connection-get('statuses/retweeted_by_me'); And you'll be able to structure a list of tweets from that data. Ultimately, if you are not TOO concerned about having your retweets on your site, and your tweets are not protected; you can make a SimpleXMLElement from: http://api.twitter.com/version/statuses/user_timeline.xml?screen_name=yourscreenname And structure a list from that feed. If you need any help and just want me to do it, I might have a little free time tonight. Give me a holler at m...@michaelhelmick.com On Sep 17, 3:27 pm, Mike mikemcl...@gmail.com wrote: Hello all, I am pulling my hair out trying to find an answer to this problem and what seems like a simple problem really isn't turning out to have a simple answer. All I want to do is list the most recent tweets and retweets in my account on my website. I used to do this easily using PHP and cURL but that feature has been broken since Twitter moved to oAuth. Now I want to duplicate this functionality but I just cannot seem to understand how to do it. All of the tutorials I've read are for creating apps with sign ins and updating your accounts, but all I want is the dang FEED - no updating status, no direct messages, just my stream. Can someone please help me? I am frantic. Thanks, Mike -- 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?hl=en
[twitter-dev] Re: Really need assistance with a basic user timeline
@Taylor: statuses/user_timeline does not return retweets and will return blank if their last status was a retweet. To get retweets you need to use statuses/retweeted_by_me, which does require Authentication. On Sep 17, 3:35 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Mike, If your intention is to just fetch the tweets you author and the retweets you create, you can make an unauthenticated request to something along the lines of : GEThttp://api.twitter.com/1/statuses/user_timeline.atom?screen_name=epis... Without using OAuth, you can make a call such as this up to 150 times a day from a single IP address. If you prefer RSS to ATOM, just change the extension to .rss (or .json, or .xml). Replace the screen_name value with your own screen name. Thanks, Taylor On Fri, Sep 17, 2010 at 12:27 PM, Mike mikemcl...@gmail.com wrote: Hello all, I am pulling my hair out trying to find an answer to this problem and what seems like a simple problem really isn't turning out to have a simple answer. All I want to do is list the most recent tweets and retweets in my account on my website. I used to do this easily using PHP and cURL but that feature has been broken since Twitter moved to oAuth. Now I want to duplicate this functionality but I just cannot seem to understand how to do it. All of the tutorials I've read are for creating apps with sign ins and updating your accounts, but all I want is the dang FEED - no updating status, no direct messages, just my stream. Can someone please help me? I am frantic. Thanks, Mike -- 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?hl=en -- 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?hl=en
[twitter-dev] Client hourly limitations
I have several twitter accounts. Each account has generated its own set of OAUTH credentials. I am just using to look at data of those who are following me based on a list of all my followers IDs. I understand that there is a 150 per hour limit on client requests. But after reaching 150 with my first twitter account credentials, I then get this message for all accounts, with different credentials. hash request /1/friendships/show.xml?source_id=110236585target_id=132286315 /request error Rate limit exceeded. Clients may not make more than 150 requests per hour. /error /hash So what is being checked in order to determine the number of times a client has made a request? I also need confirmation on source_id and target_id. I am assuming *I* am the source_id and that my follower is therefore the target_id ... Mike -- 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?hl=en
Re: [twitter-dev] Client hourly limitations
On 9/16/10 8:05 PM, yaemog Dodigo at yae...@gmail.com wrote: Check AnyEvent::Twitter::Stream for connecting to Streaming in Perl. It doesn't do oAuth yet, though. Not sure that oAuth is important here (unless your followers are protected users). At least I can get the followers of public users and create a stream based on these without using oAuth (unless you can do oAuth unknowingly, which would be sad since I cannot get oAuth to work willingly) LOL. I hear ya. Thanks for the above, I'll check it out right now cheers d -- 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?hl=en
Re: [twitter-dev] Client hourly limitations
On 9/16/10 7:37 PM, M. Edward (Ed) Borasky at zn...@borasky-research.net wrote: Check AnyEvent::Twitter::Stream for connecting to Streaming in Perl. It doesn't do oAuth yet, though. OK I'll take a look - 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?hl=en
[twitter-dev] Twitter Search/Stream API
What is the difference between the Search and Stream API? I can't really tell. Detail would be great, and how it can be applied in the real world other then the Search one over the Stream. -- 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?hl=en
Re: [twitter-dev] Twitter Search/Stream API
Finally a perfect answer! Thanks! On Wed, Sep 15, 2010 at 9:29 AM, Tom van der Woerdt i...@tvdw.eu wrote: The search gives you back a list of tweets from the past, the stream will send tweets to your application the moment they are sent. Tom On 9/15/10 6:13 PM, Mike wrote: What is the difference between the Search and Stream API? I can't really tell. Detail would be great, and how it can be applied in the real world other then the Search one over the Stream. -- 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?hl=en -- Mike Flynn Creative Vision Media 502-939-2619 mfl...@cvmediaonline.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?hl=en
[twitter-dev] Re: Auto tweet implementation
Hi Morris, This is assuming you are using the twitter-oauth library on http://github.com/abraham/twitteroauth Add some fields to your member table, oauth_token and oauth_token_secret.. So you're member table may look like this: id, username, oauth_token, oauth_token_secret When a user signs up for an event check if oauth_token and oauth_token_secret is NULL or empty or whatever... if it is then: On callback.php; when the $_SESSION['access_token'] is set, you can store those keys ($_SESSION['access_token']['oauth_token'] and $_SESSION['access_token']['oauth_token_secret']) in your database for the specific user. Now, when a user signs up for the event all you got to do is grab the oauth_token and oauth_token_secret from the database and use those when initiating the Twitter class. Hope this helps! On Sep 15, 5:30 am, Morris Li morris...@gmail.com wrote: Hi, My client requested a function to enable his club members to auto post tweets to twitter when they join any event on the website. When any member signs up for an event, we do something about updating the database, and at that point, we also want to post a tweet to twitter. Following the example I can work out how to post a message using PHP after getting authorization. But what I can do now is slight different from what I need to. i.e. we expect a member login once on our site then he / she doesn't need to login again every time he / she signs an event. Is it possible to achieve this by a PHP script? Many thanks for all of you. Morris Li -- 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?hl=en
[twitter-dev] Re: List Widget code upgraded yet?
Hi Matt, this is the code. script src=http://widgets.twimg.com/j/2/widget.js;/script script new TWTR.Widget({ version: 2, type: 'list', rpp: 16, interval: 8000, title: 'Foo whatever', subject: '', width: 'auto', height: 300, theme: { shell: { background: '#FF', color: '#FF' }, tweets: { background: '#FF', color: '#313131', links: '#2CA4E3' } }, features: { scrollbar: false, loop: true, live: true, hashtags: true, timestamp: true, avatars: true, behavior: 'default' } }).render().setList('cnn', 'cnnnews').start(); /script Thanks, Mike On Sep 8, 11:38 pm, Matt Harris thematthar...@twitter.com wrote: Hi Mike, Can you share the widget code you are using. The API for lists hasn't been changed, and neither has the lists widget, so I need to see what code you are using and the list you are following. Thanks, Matt On Wed, Sep 8, 2010 at 1:03 PM, Mike rotti...@gmail.com wrote: Hi, we have a list widget implemented, and recently started seeing the issue:http://www.wired.com/epicenter/2010/08/twitter-login-errors/ Has the widget code been updated, and if I use the generator here: http://twitter.com/goodies/widget_list ...will I get the correct code? Thanks, Mike -- 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?hl=en -- Matt Harris Developer Advocate, Twitterhttp://twitter.com/themattharris -- 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?hl=en
[twitter-dev] Re: User_Timeline - include_rts not working
timrnicholson wrote: I'm properly calling api.twitter.com/1/statuses/user_timeline with include_rts as true and retweets are not being included. The only stream that I can get to return retweets (because it doesn't even require the include_rts parameter) is the home_timeline. For example, the following doesn't work: http://api.twitter.com/1/statuses/user_timeline/RWW.xml?count=20page=1include_rts=true The worst part about this is not just that the include_rts parameter doesn't work for including retweets, the returned timeline doesn't even have 20 records in it when there are retweets. In other words, the API is not only ignoring the include_rts parameter but its not even returning the right number of requested records when it thinks include_rts is false. This totally screws up my pagination methods because I'm getting less than the expected number of records back, so my app thinks there's no more timeline to be retrieved. I certainly don't want to just always include a next page link when there really aren't any more records left. Also, the count parameter is being ignored in all of this as well, but I've latched on to another thread about that. On Aug 30, 12:50 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Timmerk, Make sure you're using api.twitter.com as the host for all of your API requests. The proper API is not at twitter.com -- it's at api.twitter.com. Include_rts will not work against twitter.com (and one day you'll find all of your requests rejected.) Also, please note that proper API routes include a version component. The call you're making should be:http://api.twitter.com/1/statuses/user_timeline.json?screen_name=NuWa... Taylor On Mon, Aug 30, 2010 at 10:43 AM, timmerk timm...@gmail.com wrote: I'm having the same issue - you can see an example here: http://twitter.com/statuses/user_timeline.json?screen_name=NuWaveGOV;... As you can see, there are no retweets included in the JSON. Thanks! On Aug 25, 2:30 pm, Matt Harris thematthar...@twitter.com wrote: Hey Hen, Are you still finding retweets are not showing up for you? Matt On Sat, Aug 21, 2010 at 7:19 AM, henasraf doku...@gmail.com wrote: Matt, Any user I show in my app would not show retweets, even if they surely exist. You can see for yourself athttp://wosaic.net/twitguin(still early stages, don't mind it being a bit lame), see any user such as myself athttp://wosaic.net/twitguin/user/henasraf;you may go through pages and see that no retweets ever show; they should be color coded in orange. You can compare tohttp://twitter.com/henasraftosee retweets that should show. Thanks, Hen On Aug 19, 11:34 pm, Matt Harris thematthar...@twitter.com wrote: Hey, Retweets should be included if they exist in the users timeline when you request them. For example if you request 20 Tweets of the timeline and one of those last 20 was a retweet - it will be included. If one of the last 20 Tweets wasn't a retweet it won't be included, even if include_rts is true. Does this explain what is happening in your app? If not could you give an example of a username which shows this problem. Best, Matt On Thu, Aug 19, 2010 at 1:24 PM, henasraf doku...@gmail.com wrote: Hey all, I'm using user_timeline to fetch the timeline of a user in my app. Problem is, it doesn't include native Retweets, even though I've set include_rts to true. The docs clearly say it should work, but it doesn't. What could be the problem? Thanks in advance :) -- Matt Harris Developer Advocate, Twitterhttp://twitter.com/themattharris -- Matt Harris Developer Advocate, Twitterhttp://twitter.com/themattharris-Hide quoted text - - Show quoted text - -- 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?hl=en- Hide quoted text - - Show quoted text - -- 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?hl=en
[twitter-dev] List Widget code upgraded yet?
Hi, we have a list widget implemented, and recently started seeing the issue: http://www.wired.com/epicenter/2010/08/twitter-login-errors/ Has the widget code been updated, and if I use the generator here: http://twitter.com/goodies/widget_list ...will I get the correct code? Thanks, Mike -- 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?hl=en
Re: [twitter-dev] Re: About OAuth
On 9/5/10 4:26 AM, Scott Wilcox at sc...@dor.ky wrote: I wrote a small PHP script which can be run CLI: Its at: http://dor.ky/entry/twitter-api-oauth-update-status If you need any help adapting that to your needs, just pop me an email off list and I'll be happy to help you. Scott. Thanks Scott I appreciate you taking time to reply. I'll grab the script and see how I can adapt it. Mike -- 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?hl=en
Re: [twitter-dev] Re: On the demise of basic authentication.
On 9/4/10 11:05 PM, Dustin Shea at demonicpa...@gmail.com wrote: There was plenty of notification on when Basic Auth was going to be discontinued. Dustin, I can't comment on what notification you received, and am glad you received it. I can only comment on the notification that *I* received: this was, on 9/2/10, addressed to the email addys associated with all 11 twitter accounts, the message that 3 days earlier basic auth had been expired. While I may be a perl hobbyist, in my professional life I do know how to identify, open and read an email. -- 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?hl=en
[twitter-dev] Re: Coming soon: a solution for Open Source applications using OAuth with the Twitter API
Yes, and your application's consumer secret ends with the following characters: jOU I obviously know the entire string and have the good sense not to reveal it here. The point is, it's trivially easy for me or anybody else to unzip your packaged download and get your secret. You didn't need to send it to me. I can now start spoofing your chrome extension in my Twitter client. I can use your secret to spam the crap out of people, and the folks at Twitter will eventually revoke the key, rendering your chrome extension useless to your users. Don't feel bad, it takes even less skill to get the consumer secret for the twitter client that I wrote. It's not even zipped. Download it and grep the source if you want to... you can spoof me, too! OAuth is not just broken for open source apps, it's broken for any app that resides on a client's computer... it's just slightly worse for open source applications because we have to go through the extra effort of not sharing our secrets along with the source code, if only to pretend that it's somehow making the secret safer. It's not. If you embed a secret into an application that lives on someone else's PC, that secret will be uncovered eventually if it's worth the effort. .mike On Sep 1, 7:08 pm, Abraham Williams 4bra...@gmail.com wrote: I have an open source Twitter client for Google Chrome and this is how I distribute it. The source is available with no API key. If developers wish to play with the source they must register their own OAuth application. http://github.com/abraham/omnitweet For users there is a packaged download that includes an API key. They just install the extension and off they go. http://github.com/abraham/omnitweet/downloads Abraham - Abraham Williams | Hacker Advocate |http://abrah.am @abraham |http://projects.abrah.am|http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Wed, Sep 1, 2010 at 15:58, John Meyer john.l.me...@gmail.com wrote: On 8/19/2010 11:50 AM, briandunnington wrote: as Julio stated above, the official response from Taylor (in another thread) was that this solution will *not* be rolled out. there is currently no other alternative being offered other. and just to repeat what has already been said a few time in this thread - this is not just a problem with open source apps. any app that is distributed (ie: not running on your own web server) has this problem. i read on Daring Fireball the other day about a new Twitter app called Hibari, so i downloaded it and got the consumer key and secret within a couple of minutes. others apps are just as susceptible - any time the user has the code, the secret must be considered unsecure. And that assumes that you distribute the consumerkey and consumersecret with the app. Nothing about Open Source requires this. You could just as easily just distribute the source and require that users obtain their own ConsumerKey combos. -- 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?hl=en -- 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?hl=en
Re: [twitter-dev] Re: Change in error response objects
Raffi Krikorian wrote: it is designed so that we can send multiple error codes back, but in practice, right now, we only send one. On Sun, Aug 29, 2010 at 4:25 PM, Dewald Pretorius dpr...@gmail.com wrote: Raffi, Will the new error construct always be: [errors][code] [errors][message] Or can it be sometimes: [errors][0][code] [errors][0][message] [errors][1][code] [errors][1][message] -- 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?hl=en -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi -- 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?hl=en
[twitter-dev] Re: Promoted Content: API Changes
Hey Matt, I want to make sure I understand the comment you made about We’re still working out the exact value and will keep you informed on developments. Is that in reference to the rev share for Promoted Tweets? Dick C was really clear that it was 50/50 split at Chirp (http:// techcrunch.com/2010/04/14/twitter-execs-address-the-big-question- monetization/). That hasn't changed, right? Thanks, -mike On Aug 9, 7:10 pm, M. Edward (Ed) Borasky zn...@borasky- research.net wrote: Quoting themattharris thematthar...@twitter.com: A Promoted Trend is one a topic which is already trending on Twitter but not popular enough to make it onto the Trending Topics list. A topic which isn’t popular on Twitter already cannot become a Promoted Trend. Let's say I've produced a movie - I am a Villager - Diary of a Werewolf. I've promoted that movie lots of places, and people are starting to talk about it on Twitter. How do I know when it makes it into the already trending on Twitter but not popular enough position? Does Twitter's sales team call me up and say, We've noticed that 'I am a Villager' is an emerging trend - would you like to buy 'Promoted Tweets' and 'Promoted Trends'? Or does the studio or an agency come to Twitter at the beginning of the campaign and say, We've got a really great movie coming out and want to buy exposure on Twitter. How do we do that? I would hope and pray that it's the latter! I would hope it's something like the Old Spice campaign that some of my friends here in Portland helped to build. There *have* to be planning, coordination, partnerships, tools, design, metrics, analytics, key performance indicators, etc. to make this stuff work. As developers the benefit to you of displaying the Promoted Products is that Twitter will share revenue with you. We’re still working out the exact value and will keep you informed on developments. Is there a penalty attached to *not* displaying them? Is there a penalty attached to ignoring the whole API? ;-) For users the benefit is that they will see time, context and event sensitive trends promoted by advertising partners. Only Tweets which users engage with will be kept. This means if users don’t interact with a Promoted Tweet it will disappear. Like all of the other Twitter services, there's what the web application reads and writes and what third-party tools read and write on behalf of users via the API. Is there going to be a distinction in the metrics for resonance of a Promoted Tweet between interactions coming from the web application and interactions coming from other sources? Will the analytics be available to the third-party developers, or do we need to build those into our applications? -- M. Edward (Ed) Boraskyhttp://borasky-research.nethttp://twitter.com/znmeb A mathematician is a device for turning coffee into theorems. - Paul Erdos
[twitter-dev] Search API issue involving server cookies
There appears to be an issue with Twitter's API and cookies. The following yields no results found: GET http://search.twitter.com/search.json?q=%23tweetz HTTP/1.1 Accept: */* Accept-Language: en-us Content-Type: application/x-www-form-urlencoded UA-CPU: AMD64 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0; .NET4.0C; .NET4.0E) Host: search.twitter.com Connection: Keep-Alive Cookie: k=68.40.12.103.1280961938551221; guest_id=128035711958013764; lang=en; _twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCJWulT8qASIKZmxhc2hJQzonQWN0aW9uQ29u %250AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7ADoHaWQiJWQ3%250AMWIxNzJlZmUzNThmM2Y1NGRkYzYwZTRjZmM1YmNh--0871d612503b63999c65c8c6abefb83f6bed9643 The response is: HTTP/1.0 200 OK Date: Thu, 05 Aug 2010 00:32:14 GMT Server: hi Status: 200 OK X-Served-From: sjc1r085 X-Runtime: 0.02556 Content-Type: application/json; charset=utf-8 X-Timeline-Cache-Hit: Hit X-Served-By: sjc1v012.prod.twitter.com Cache-Control: max-age=15, must-revalidate, max-age=300 Expires: Thu, 05 Aug 2010 00:37:14 GMT Content-Length: 251 Vary: Accept-Encoding X-Varnish: 2325786061 Age: 0 Via: 1.1 varnish X-Cache-Svr: sjc1v012.prod.twitter.com X-Cache: MISS Connection: close {results:[],max_id:20340216330,since_id: 20294384707,refresh_url:?since_id=20340216330q= %23tweetz,results_per_page:15,page:1,completed_in: 0.017987,warning:adjusted since_id to 20294384707 due to temporary error,query:%23tweetz} Issue the same request without the cookies and search returns expected results. I can't remove the cookies since they're server issued (I'm running in a browser). Is there a workaround?
[twitter-dev] Issues with parameters in API console
Hi, When using the Twitter API console at http://dev.twitter.com/console it seems support for query parameters is broken: 1. select GET /1/statuses/home_timeline.json 2. under Parameters and values put page and 4 3. press + Add a query parameter 4. press Send The result is always page 1 of the home timeline. Looking at the request I don't see any signs of a page query parameter. Is this a known issue? I tested with Firefox 3.6.6 and Google Chrome on Ubuntu Linux. Also, the documentation for home_timeline at http://dev.twitter.com/doc/get/statuses/home_timeline states there are pagination limits (see page parameter doc). I wasn't able to find any specific info in the FAQ; could someone point me to the details? Thanks, Mike
Re: [twitter-dev] Oauth rate status?
Hi, On Thu, Jul 15, 2010 at 05:52, johnw john.we...@gmail.com wrote: In using the account rate status call, I only seem to get the basic auth status back of 150 left. Where can I get the oauth status (the 350)? You need to authenticate with Twitter using OAuth. See the Authentication section of the documentation at http://dev.twitter.com/doc for details. HTH, Mike
Re: [twitter-dev] Issues with parameters in API console
Hi Matt, Thanks for the reply, I got twurl set up. Any thoughts on the second question in my email? Also, the documentation for home_timeline at http://dev.twitter.com/doc/get/statuses/home_timeline states there are pagination limits (see page parameter doc). I wasn't able to find any specific info in the FAQ; could someone point me to the details? I notice that only the first 40 pages contain tweets, any request with page 40 returns an empty array of statuses. Is this a documented limitation? Does it change over time? Thanks, Mike On Wed, Jul 14, 2010 at 23:38, Matt Harris thematthar...@twitter.com wrote: Hi Mike, Thanks for letting us know about this. It is a known bug and is being tracked on our issue tracker [1]. We don't have an eta for a fix so in the meantime we recommend you try using the twurl command line tool [2] or a service like Apigiee [3]. Best, Matt 1. http://code.google.com/p/twitter-api/issues/detail?id=1661 2. http://github.com/marcel/twurl 3. http://apigee.com/ On Wed, Jul 14, 2010 at 12:05 AM, Mike Mazur mma...@gmail.com wrote: Hi, When using the Twitter API console at http://dev.twitter.com/console it seems support for query parameters is broken: 1. select GET /1/statuses/home_timeline.json 2. under Parameters and values put page and 4 3. press + Add a query parameter 4. press Send The result is always page 1 of the home timeline. Looking at the request I don't see any signs of a page query parameter. Is this a known issue? I tested with Firefox 3.6.6 and Google Chrome on Ubuntu Linux. Also, the documentation for home_timeline at http://dev.twitter.com/doc/get/statuses/home_timeline states there are pagination limits (see page parameter doc). I wasn't able to find any specific info in the FAQ; could someone point me to the details? Thanks, Mike -- Matt Harris Developer Advocate, Twitter http://twitter.com/themattharris
[twitter-dev] Re: @replies missing
I can see at least 1 missing tweet from my mentions list (at 9:20pm EDT 7/4/2010) This tweet: http://twitter.com/RodBegbie/status/17703020160 http://api.twitter.com/1/statuses/show.json?id=17703020160 doesn't appear in my mentions (permalink to my mentions via twitter hurl, but requires login. Is there a better permalink to send?): http://bit.ly/c79poT The tweet was sent ~20 hours ago, and doesn't appear in the mentions, even though newer mentions do. -mike On Jul 4, 4:25 pm, John Kalucki j...@twitter.com wrote: The mentions timelines were updating with additional latency, perhaps a few minutes, for about a day, but they were updating. They should be updating in near real time now. -John Kaluckihttp://twitter.com/jkalucki Infrastructure, Twitter Inc. On Sun, Jul 4, 2010 at 1:16 PM, Naveen Ayyagari nav...@getsocialscope.comwrote: Hello, Hoping we can get post on status.twitter.com about @replies not showing up... We have been getting a lot of reports that they are missing, and a quick twitter search seems to indicate it is not limited to our application. http://search.twitter.com/search?had_popular=trueq=repliesresult_ty...
Re: [twitter-dev] Re: statuses/update: Expect: 100-Continue header rejected
Interestingly, last night when I was doing testing I noticed Twitter was rejecting my Expect: 100-Continue header the same way you stated below. Today, Twitter is accepting the header. I'm going to comment it out of my code for now so I don't get unexpected results later. THe payloads are usually so small that the 100-continue behavior shouldn't be needed. On Thu, May 20, 2010 at 5:47 PM, Richard Barnett richard.d.barn...@gmail.com wrote: On May 20, 10:38 pm, Cameron Kaiser spec...@floodgap.com wrote: I've been playing with oacurlhttps:// code.google.com/apis/buzz/v1/oacurl.html and tried to use it to send a tweet. oacurl sends Expect: 100-Continue but Twitter rejects this with we only allow the 100-continue expectation. Is this fixable, or avoidable in the meantime? (I know about twurl, but oacurl seems generic - can I use twurl to make oauth calls to MySpace?) Just change the header to simply send a blank Expect:. With regular cURL a simple -H Expect: will work. Thanks for your reply. Although oacurl supports -H like curl, using -H Expect: adds a second Expect: header to the request, the Twitter server still fails because of Expect: 100-Continue. I'll raise the oacurl bug with one of the authors, but that still leaves a bug in Twitter's handling of Expect:. /c/download: echo status=Testing+oacurl | java -cp oacurl-1.0.0.jar com.google.oacurl.Fetch -X POST -H Expect: -v http://api.twitter.com/1/statuses/update.json POST /1/statuses/update.json HTTP/1.1 Content-Type: application/atom+xml Expect: Authorization: OAuth oauth_token=34507306-fJYSoMdju3Vv9SecfdyCUbYu5JdlIPLyaVN3xElNw, oauth_consumer_key=FFUZwLopTkug9Dlj1KamA, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1274396737, oauth_nonce=571291495191528, oauth_version=1.0, oauth_signature=CqiI%2FY%2Br96PGVPkCSClqnkmfHAo%3D Transfer-Encoding: chunked Host: api.twitter.com Connection: Keep-Alive User-Agent: Apache-HttpClient/4.0 (java 1.5) Expect: 100-Continue status=Testing+oacurl[\n] -- Richard
Re: [twitter-dev] OAuth issues with some POSTs only
I think you have the same problem I posted about yesterday. In your base string the '%' chars of the status are supposed to also be escaped. Here is an example from my app My status update string timestamp:1274472570 Rejoice! I am done debugging :-). POSThttp%3A%2F%2Fapi.twitter.com %2F1%2Fstatuses%2Fupdate.xmloauth_consumer_key%%26oauth_nonce%3DUWVWKGEKDOYBSHLVRFGJIVLMLRUOCYQVHFZKABLK%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1274472570%26oauth_token%x%26oauth_version%3D1.0%26status%3Dtimestamp %253A1274472570%2520Rejoice%2521%2520I%2520am%2520done%2520debugging%2520%253A-%2529. See how the '%' char is also escaped to %25? On Fri, May 21, 2010 at 11:34 AM, DWF dwfr...@pivotallabs.com wrote: We're having lots of success with OAuth now, which is great. So far it looks like all our GETs are working just fine. And some of our POSTs - but not all. Here's a POST that works (deleting a user's tweet): url: https://api.twitter.com/1/statuses/destroy.json parameters: {id: 12532480661} Base String: POSThttps%3A%2F%2Fapi.twitter.com http://2fapi.twitter.com/ %2F1%2Fstatuses%2Fdestroy.jsonid %3D12532480661%26oauth_consumer_key%3D-%26oauth_nonce %3D1274466742322abc143248%26oauth_signature_method%3DHMAC- SHA1%26oauth_timestamp%3D1274466742%26oauth_token%3D- %26oauth_version%3D1.0 AuthHeader: Authorization = OAuth oauth_signature_method=HMAC-SHA1, oauth_nonce=1274466742322abc143248, oauth_timestamp=1274466742, oauth_consumer_key=-, oauth_version=1.0, oauth_token=-, oauth_signature=mg23Yowg9Y40imqcOH9SibMHSHE%3D And here's one that's NOT working (updating a status): url: https://api.twitter.com/1/statuses/update.json parameters: {source: tweed, status: Tweet} BaseString: POSThttps%3A%2F%2Fapi.twitter.com http://2fapi.twitter.com/ %2F1%2Fstatuses %2Fupdate.jsonoauth_consumer_key%3D---%26oauth_nonce %3D1274466366892abc252116%26oauth_signature_method%3DHMAC- SHA1%26oauth_timestamp%3D1274466366%26oauth_token%- %26oauth_version%3D1.0%26source%3Dtweed%26status%3DTweet AuthHeader: Authorization = OAuth oauth_signature_method=HMAC-SHA1, oauth_nonce=1274466366892abc252116, oauth_timestamp=1274466366, oauth_consumer_key=, oauth_version=1.0, oauth_token=-, oauth_signature=V4HjQU7%2BTYF2MFtkkR7T8OYM54Q %3D The error we get is: { status: 401, responseText: {request:/1/statuses/ update.json,error:Incorrect signature} } Thoughts?
Re: [twitter-dev] OAuth issues with some POSTs only
quickly one more thing, i twould also be cool to get some more details about what exactly went wrong when the server side validation of the signature fails. All you get now is 'Invalid Signature' and there are quite a few things you could get wrong in developing that signature. On Fri, May 21, 2010 at 1:11 PM, Mike Dice mikedice...@gmail.com wrote: I think you have the same problem I posted about yesterday. In your base string the '%' chars of the status are supposed to also be escaped. Here is an example from my app My status update string timestamp:1274472570 Rejoice! I am done debugging :-). POSThttp%3A%2F%2Fapi.twitter.com http://2fapi.twitter.com/ %2F1%2Fstatuses%2Fupdate.xmloauth_consumer_key%%26oauth_nonce%3DUWVWKGEKDOYBSHLVRFGJIVLMLRUOCYQVHFZKABLK%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1274472570%26oauth_token%x%26oauth_version%3D1.0%26status%3Dtimestamp %253A1274472570%2520Rejoice%2521%2520I%2520am%2520done%2520debugging%2520%253A-%2529. See how the '%' char is also escaped to %25? On Fri, May 21, 2010 at 11:34 AM, DWF dwfr...@pivotallabs.com wrote: We're having lots of success with OAuth now, which is great. So far it looks like all our GETs are working just fine. And some of our POSTs - but not all. Here's a POST that works (deleting a user's tweet): url: https://api.twitter.com/1/statuses/destroy.json parameters: {id: 12532480661} Base String: POSThttps%3A%2F%2Fapi.twitter.com http://2fapi.twitter.com/ %2F1%2Fstatuses%2Fdestroy.jsonid %3D12532480661%26oauth_consumer_key%3D-%26oauth_nonce %3D1274466742322abc143248%26oauth_signature_method%3DHMAC- SHA1%26oauth_timestamp%3D1274466742%26oauth_token%3D- %26oauth_version%3D1.0 AuthHeader: Authorization = OAuth oauth_signature_method=HMAC-SHA1, oauth_nonce=1274466742322abc143248, oauth_timestamp=1274466742, oauth_consumer_key=-, oauth_version=1.0, oauth_token=-, oauth_signature=mg23Yowg9Y40imqcOH9SibMHSHE%3D And here's one that's NOT working (updating a status): url: https://api.twitter.com/1/statuses/update.json parameters: {source: tweed, status: Tweet} BaseString: POSThttps%3A%2F%2Fapi.twitter.com http://2fapi.twitter.com/ %2F1%2Fstatuses %2Fupdate.jsonoauth_consumer_key%3D---%26oauth_nonce %3D1274466366892abc252116%26oauth_signature_method%3DHMAC- SHA1%26oauth_timestamp%3D1274466366%26oauth_token%- %26oauth_version%3D1.0%26source%3Dtweed%26status%3DTweet AuthHeader: Authorization = OAuth oauth_signature_method=HMAC-SHA1, oauth_nonce=1274466366892abc252116, oauth_timestamp=1274466366, oauth_consumer_key=, oauth_version=1.0, oauth_token=-, oauth_signature=V4HjQU7%2BTYF2MFtkkR7T8OYM54Q %3D The error we get is: { status: 401, responseText: {request:/1/statuses/ update.json,error:Incorrect signature} } Thoughts?
Re: [twitter-dev] OAuth issues with some POSTs only
That will be very helpful. Thanks Taylor. On Fri, May 21, 2010 at 1:20 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Mike, We're going to be a lot more informative on signature generation errors in the near future -- we have a newer implementation of OAuth 1.0a waiting in the wings that will provide the signature base string we generated on a failed request. More details when the staggered release of that is drawing near. Taylor Singletary Developer Advocate, Twitter http://twitter.com/episod On Fri, May 21, 2010 at 1:14 PM, Mike Dice mikedice...@gmail.comwrote: quickly one more thing, i twould also be cool to get some more details about what exactly went wrong when the server side validation of the signature fails. All you get now is 'Invalid Signature' and there are quite a few things you could get wrong in developing that signature. On Fri, May 21, 2010 at 1:11 PM, Mike Dice mikedice...@gmail.com wrote: I think you have the same problem I posted about yesterday. In your base string the '%' chars of the status are supposed to also be escaped. Here is an example from my app My status update string timestamp:1274472570 Rejoice! I am done debugging :-). POSThttp%3A%2F%2Fapi.twitter.com http://2fapi.twitter.com/ %2F1%2Fstatuses%2Fupdate.xmloauth_consumer_key%%26oauth_nonce%3DUWVWKGEKDOYBSHLVRFGJIVLMLRUOCYQVHFZKABLK%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1274472570%26oauth_token%x%26oauth_version%3D1.0%26status%3Dtimestamp %253A1274472570%2520Rejoice%2521%2520I%2520am%2520done%2520debugging%2520%253A-%2529. See how the '%' char is also escaped to %25? On Fri, May 21, 2010 at 11:34 AM, DWF dwfr...@pivotallabs.com wrote: We're having lots of success with OAuth now, which is great. So far it looks like all our GETs are working just fine. And some of our POSTs - but not all. Here's a POST that works (deleting a user's tweet): url: https://api.twitter.com/1/statuses/destroy.json parameters: {id: 12532480661} Base String: POSThttps%3A%2F%2Fapi.twitter.com http://2fapi.twitter.com/ %2F1%2Fstatuses%2Fdestroy.jsonid %3D12532480661%26oauth_consumer_key%3D-%26oauth_nonce %3D1274466742322abc143248%26oauth_signature_method%3DHMAC- SHA1%26oauth_timestamp%3D1274466742%26oauth_token%3D- %26oauth_version%3D1.0 AuthHeader: Authorization = OAuth oauth_signature_method=HMAC-SHA1, oauth_nonce=1274466742322abc143248, oauth_timestamp=1274466742, oauth_consumer_key=-, oauth_version=1.0, oauth_token=-, oauth_signature=mg23Yowg9Y40imqcOH9SibMHSHE%3D And here's one that's NOT working (updating a status): url: https://api.twitter.com/1/statuses/update.json parameters: {source: tweed, status: Tweet} BaseString: POSThttps%3A%2F%2Fapi.twitter.com http://2fapi.twitter.com/ %2F1%2Fstatuses %2Fupdate.jsonoauth_consumer_key%3D---%26oauth_nonce %3D1274466366892abc252116%26oauth_signature_method%3DHMAC- SHA1%26oauth_timestamp%3D1274466366%26oauth_token%- %26oauth_version%3D1.0%26source%3Dtweed%26status%3DTweet AuthHeader: Authorization = OAuth oauth_signature_method=HMAC-SHA1, oauth_nonce=1274466366892abc252116, oauth_timestamp=1274466366, oauth_consumer_key=, oauth_version=1.0, oauth_token=-, oauth_signature=V4HjQU7%2BTYF2MFtkkR7T8OYM54Q %3D The error we get is: { status: 401, responseText: {request:/1/statuses/ update.json,error:Incorrect signature} } Thoughts?
Re: [twitter-dev] Re: Incorrect signature when calling update url /1/statuses/update.xml
I will write my own if I have to. But before I do, I'd like to understand as many details as possible about the specifics of Twitter's RFC 3986 behavior. In my experience with RFC specs, they usually provide a lot of detail but they almost always leave some of those details to be interpreted by implementors and those interpretations are not always the same. No spec is perfect. On Thu, May 20, 2010 at 1:28 PM, Cameron Kaiser spec...@floodgap.comwrote: FYI - I am writing a .Net based library and so I currently use System.Uri.EscapeDataString http://msdn.microsoft.com/en-us/library/system.uri.escapedatastring.aspx to do my escaping I don't know what that routine is, but if it's not RFC 3986 compliant, it won't work. You might want to roll your own, it's a couple lines of code and a regex. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- EH! STEVE! ---
Re: [twitter-dev] Re: Incorrect signature when calling update url /1/statuses/update.xml
Thanks a lot Cameron! I was just sitting down to write my lib, planning on doing as you suggest below. On Thu, May 20, 2010 at 5:06 PM, Cameron Kaiser spec...@floodgap.comwrote: I will write my own if I have to. But before I do, I'd like to understand as many details as possible about the specifics of Twitter's RFC 3986 behavior. This is the regex I'm using, which is known to work: $x =~ s/([^-0-9a-zA-Z._~])/%.uc(unpack(H2,$1))/eg; In short, letters, numbers, and the set of -._~ are NOT URL encoded. Everything else is. Note this routine is not 100% UTF-8 safe as written; I have other code that handles that, so you may need to do that as your library warrants. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- People are weird. -- Law Order SVU ---
[twitter-dev] Re: alert() in anywhere.js
Any update on this? I'm getting it on a site for certain users/ browsers even though it's all configured correctly as well. The alerts are very intrusive for a production website when things are configured correctly. Especially with user emails rolling in complaining about getting the error. On May 16, 10:22 am, Dan Webb d...@twitter.com wrote: This does sound like a regression of some kind. We'll get this fixed ASAP. On Sat, May 15, 2010 at 3:41 PM, JohnB johnfakor...@yahoo.com wrote: Are we really talking about incorrect installations here? Twitter's own @Anywhere documentation page (http://dev.twitter.com/anywhere/ begin) is throwing this same error in older browsers, including Chrome 3.0.195. -- Dan Webb Front-end Engineer, Platform d...@twitter.com / @danwrong+1 415 425 5631
[twitter-dev] home_timeline and mentions from non-followed users
Hello, I understand that the home_timeline API usually does not show replies to people who you do not follow, but it appears that this is true even when you are the one being mentioned or replied to? E.g., my twitter ID is @mdesjardins. Someone I do *not* follow (e.g., @JustinBieber) posts @mdesjardins you look like a turnip shouldn't that show up in my (i.e., authenticated as @mdesjardins) home_timeline API call, even if I don't follow @JustinBieber? This is how the main site behaves, so I'm surprised that the API doesn't behave similarly. Thanks! - mike
[twitter-dev] Re: @Anywhere + Access Tokens
Sort of wondering the same thing. After authenticating, you'll notice your browser stores a cookie called twtter_anywhere, which I believe contains the request token. Would love to be able to use that request token to make Twitter API calls, but have no idea how to get the token secret. Thanks in advance. On Apr 17, 1:03 pm, aztroboy jbasur...@gmail.com wrote: Hi! I just managed to use @Anywhere on a website for authentication. Now, I would like to know how do I get the Access Token and the Token Secret with @Anywhere. I've successfully made the signin with Twitter example. However after I've got the user information, I don't know any method that can give me his access tokens. Is there some way to do it? thank you in advance. -- Subscription settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Creating or editing applications through dev.twitter.com causes apps to lose write access
When creating or editing an app through the new dev.twitter.com site, the application will lose (or never be permitted) write access and will only have read access. The options to choose between read access or read write access that's on the old oAuth page are no longer accessible on the new dev page. Is this being done away with or was it just left out? -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] Re: Where am I going wrong?
Figured it out, the documentation must need to be updated a bit still. Change: twttr.anywhere(anywhereApiKey, 1.0.0, onAnywhereLoad); To: twttr.anywhere(onAnywhereLoad); And it should work for you. On Apr 15, 2:47 pm, jgervin jger...@gmail.com wrote: I am trying to follow your example on inserting the twitter login button but nothing is showing up. Here is my code: div id=twitter-connect-placeholder/div script type=text/javascript var anywhereApiKey = mykeyxx; twttr.anywhere(anywhereApiKey, 1.0.0, onAnywhereLoad); function onAnywhereLoad(twitter) { // Simplest use case: Append a connect button to the specified DOM // element. twitter(#twitter-connect-placeholder).connectButton(); // Connect buttons have a range of sizes to choose from: // small, medium, large, xlarge. medium is the default size. // You can specify the size as follows: twitter(#twitter-connect-placeholder).connectButton({ size: large }); }; /script This is in my head of my application.html.erb file script src=http://platform.twitter.com/anywhere.js? id=myKeyxv=1 type=text/javascript/script -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] Re: Where am I going wrong?
The same thing is happening for me. Firebug shows it as returning a 403: Forbidden. My response text is - ?xml version=1.0 encoding=UTF-8? ErrorCodeAccessDenied/CodeMessageAccess Denied/ MessageRequestIdD383456151C16F65/ RequestIdHostIdF7MvMBRIBSKfj5NFUl1B4nPeKW8csb98Ow0zp6oLJ/SYeaZKlqh +T3fKB4O7ID42/HostId/Error On Apr 15, 2:47 pm, jgervin jger...@gmail.com wrote: I am trying to follow your example on inserting the twitter login button but nothing is showing up. Here is my code: div id=twitter-connect-placeholder/div script type=text/javascript var anywhereApiKey = mykeyxx; twttr.anywhere(anywhereApiKey, 1.0.0, onAnywhereLoad); function onAnywhereLoad(twitter) { // Simplest use case: Append a connect button to the specified DOM // element. twitter(#twitter-connect-placeholder).connectButton(); // Connect buttons have a range of sizes to choose from: // small, medium, large, xlarge. medium is the default size. // You can specify the size as follows: twitter(#twitter-connect-placeholder).connectButton({ size: large }); }; /script This is in my head of my application.html.erb file script src=http://platform.twitter.com/anywhere.js? id=myKeyxv=1 type=text/javascript/script
[twitter-dev] Re: Creating or editing applications through dev.twitter.com causes apps to lose write access
Yeah, I was able to switch my app back via the old page, but just wanted to bring it to attention. On Apr 15, 4:35 pm, Dewald Pretorius dpr...@gmail.com wrote: In that case, you might not want to edit your app settings through dev. because since early this morning, the old edit URL [1] has been throwing a fail whale. You won't be able to restore your r/w setting. [1]http://twitter.com/oauth_clients/details/ On Apr 15, 5:12 pm, Mike Davis (mcdavis) mcda...@gmail.com wrote: When creating or editing an app through the new dev.twitter.com site, the application will lose (or never be permitted) write access and will only have read access. The options to choose between read access or read write access that's on the old oAuth page are no longer accessible on the new dev page. Is this being done away with or was it just left out? -- To unsubscribe, reply using remove me as the subject.
Re: [twitter-dev] OAuth Revoke Token?
A scenario for justifying invalidateToken: - User visits AwesomeApp and wants to connect his Twitter account - AwesomeApp redirects to Twitter's OAuth flow - User fails to notice that someone else, UserX, is already logged in to Twitter in the current browser and clicks through - AwesomeApp detects (somehow, perhaps later) that the wrong Twitter user is connected. They can be a good citizen and revoke the token completely, then send the user back through a full OAuth flow that asks for username/password regardless of sign-in state. Just my $0.02, Mike On Thu, Apr 8, 2010 at 12:06 PM, Josh Roesslein jroessl...@gmail.comwrote: There is no API endpoint that I know of and don't think one should exist. Users should not trust thirdparties to self-revoke access to their accounts. Users should know how to do it from twitter.com via the connections page. It might be nice if we could generate a redirect link to a page on twitter.com where the user can then revoke the access (sort of like the authorization page). Josh On Wed, Apr 7, 2010 at 11:59 PM, Ryan Amos amos.r...@gmail.com wrote: Is there anyway to send a request to revoke a token completely without requiring the user goto their connections page on twitter? We allow our users to revoke access via our application, but that only revokes it on our side. The application would still show up on their twitter.com connections page. Google has one by sending a request to: https://www.google.com/accounts/accounts/AuthSubRevokeToken -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] Re: Fred Wilson article on Twitter API
Yeah, interesting post form Fred, especially coming a week before Chirp. Are there classes of killer apps that should be built but haven't been? I left a comment on his blog that I would love an app that somehow aggregated the recommendations from my twitter stream for things like books, music, movies, etc. I tend to trust social recommendations often times more than algorithmic ones. And I certainly expect more and more great apps will be built around data mining the tweet stream and the streaming API. What would have to change for there to be 10X the number of (quality) Twitter apps as there are now? A simpler way to make money? More success stories? A fund for Twitter app developers? Changes/maturity in the Twitter platform? I'd be curious to hear what folks think. Cheers, -mike -- Mike Champion Engineering Lead http://oneforty.com On Apr 7, 12:12 pm, Chad Etzel jazzyc...@gmail.com wrote: As dougw pointed out, a timely article: http://www.avc.com/a_vc/2010/04/the-twitter-platform.html Chad -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] Detecting Twitter themes using profile_background_image_url
I am working on an app that updates the user's profile background image quite often. My problem is this: I need to be able to detect if the user has set a Twitter theme. If the user's Twitter account is brand new and he does not change any settings, the app can detect the Twitter theme just fine. Complications arise when he changes the background to a graphic file and then maybe decides to change it back to a theme. Any time after the user switches to a background image and then back to a Twitter theme, the API reports back the old background image (using profile_background_image_url) that the user had previously had set before the change to the theme. How can I detect if the user switches back to a theme at this point? Hopefully I explained this clearly enough. It's a little confusing. Thanks so much for your help. This is a huge issue with my app and I would like to resolve it. - Mike To unsubscribe from this group, send email to twitter-development-talk+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[twitter-dev] twitter dev meetup at SXSW on Friday
I'll be heading to SXSW later this week and wondering who else will be going this year? On Friday afternoon oneforty is going to buy the first few rounds at a beer o'clock meetup. If you're going to SXSW, or in the Austin area, it'd be great to meetup. Always more fun to talk about rate limiting, OAuth and future APIs over drinks. If you can come, please RSVP so we get a head count: http://tweetvite.com/event/beeroclock Details: Friday, March 12 from 4-6pm CST at the Marriott Courtyard in Austin, TX. It's located at 300 East Fourth Street, Austin, TX 78701 (http://bit.ly/cyI7O3). We'll have a section of the Restaurant Patio. The hope is to try to keep it to twitter developers (and not just fans of twitter). Cheers, -mike @graysky
[twitter-dev] Read/write app is sometimes denied read access
I have an application that has read/write access, which tries to create friendships. Sometimes this works and sometimes it doesn't. Ie, when authenticated as mtraven, it works fine, but when authenticated with the test account mtraven_tunes, I get consistent errors like this: request: /friendships/create.json?screen_name=3QD Error from Twitter: Read-only application cannot POST I have cleared out all of the cookies for both twitter and my app so I don't think the problem can be a stale authentication token (the app was originally read-only). I'm kind of baffled by this, but perhaps there is some simple explanation. The app in question is at http://twitlines.net/blogs Thanks, Mike
[twitter-dev] Re: Introduce yourself!
Hey folks, I'm Mike Champion, a Ruby/Rails developer outside Boston working at oneforty.com. I've worked with the Twitter API for a couple years off on, working on a friend recommendation site called whoshouldifollow.com (trying to help the on-ramp problem) and wrote a Twitter integration for a mobile photo sharing service called SnapMyLife, and a couple other unpublished/half-finished projects. One of the things we've been playing with at oneforty is how to measure which apps are being used in the wild. We monitor the garden hose (and other sources) to see which apps are posting, but would love to find better ways to know what (non-posting) apps people are using. So having a more structured source parameter would go a long way (which Raffi has been great about). Open to talking with anyone who has thoughts on this area. And I'm excited to see the rumors of having an Sign Up API (http:// www.readwriteweb.com/archives/twitter_rolls_out_new_api_citysearch_first_to_impl.php) which would be great for a site like ours. Finally, I'm interested in figuring out how I can help the Twitter dev community more. Would be curious if Raffi and other Twitter folks have a wishlist that they would like to see the community do. I'll be at Chirp in April and would love to meet other twitter devs, and any in the Boston area before then. Cheers, -mike On Feb 22, 11:23 am, Andrew Badera and...@badera.us wrote: I heard the ante's been up'd to a train. --ab On Mon, Feb 22, 2010 at 10:47 AM, Scott Wilcox sc...@tig.gr wrote: I hear to get a link in that space you have to be sleeping with one of the team ;) On 22 Feb 2010, at 14:19, twittelator wrote: I'd love feature parity with Twitter web - like a flag to home timeline that would include RT's. I'd like access to xAUTH like some other vendors already have, to have Apple Push Notification Service built in to twitter's device delivery options, and while I'm fantasizing, a link to our app in the ad-space! http://stone.com So. Who are you, what do you do, what have you built, and what feature do you most want to see added?
[twitter-dev] Cannot view my OAuth client's details - over capacity messages
Over the past several weeks, I have never been able to view the details of 1 of my OAuth clients, when I go to: http://twitter.com/oauth_clients/details/XX I can view the details of my other apps, but this one has *consistently* given Over Capacity messages. I went to twitter.com/ help and didn't see any other issues filed, and even though I was logged in to ZenDesk, didn't see a way to open a support request. I'm posting here because I'm stumped at how to fix this, and it is for our company's main app so I'd really like to be get this resolved. Has anyone seen this? Any clues on what I can do? Thanks, -mike
[twitter-dev] oneforty e-commerce alpha launch
The oneforty team is excited to be launching an alpha version of our ecommerce platform for Twitter applications this Thursday, Jan 14th. We wanted to let other Twitter developers know, and offer the opportunity to have their app highlighted as we roll out this marketplace. If you're interested in building a premium version of your app, we'd like to work with you to make it simple to get discovered and process sales. We have a getting started guide (http://oneforty.com/pages/seller_guide) that covers the process, and documentation on our API (http://oneforty.com/pages/fulfillment) for app developers. I'm happy to answer any questions, or find us in on IRC in #oneforty on freenode. Thanks, -mike -- Mike Champion http://oneforty.com
[twitter-dev] Geodata on direct messages
Hello, Is it possible to apply geodata to direct messages? I don't seem to be getting any either from the XML or JSON. If it's not currently possible, is there a way to request it as a future update? Thank you! Mike
[twitter-dev] Re: Geodata on direct messages
Thanks a lot, Raffi. Where is the best place to follow developments in the API? I follow the API Twitter account, but is there someplace better? On Dec 10, 9:20 am, Raffi Krikorian ra...@twitter.com wrote: hi mike. its on the list of features we will be adding - but, unfortunately, i don't have a date for you. On Thu, Dec 10, 2009 at 6:13 AM, Mike mikemcl...@gmail.com wrote: Hello, Is it possible to apply geodata to direct messages? I don't seem to be getting any either from the XML or JSON. If it's not currently possible, is there a way to request it as a future update? Thank you! Mike -- Raffi Krikorian Twitter Platform Teamhttp://twitter.com/raffi
[twitter-dev] December 5 still broken
It's December 5, links still broken, especially for .info urls
[twitter-dev] oneforty e-commerce pilot
The oneforty team has been hard at work to build a simple way for Twitter developers to sell versions of their apps, and a smooth process for customers to purchase them. We're interested to talk to any developers who would be curious to learn more our pilot program. Developers in the pilot group will have the opportunity to be the first to kick the tires on our new e-commerce engine and will have significant input into the initial phase of our e-commerce product launch. We're looking for partners who have the ability to be actively involved in the pilot from now until the end of the year and have a product at or near completion that they wish to sell on a one-time license key or one-time download basis. If you’re interested in working with us to sell your Twitter app, just drop me a note at m...@oneforty.com Thanks, -mike -- Mike Champion Engineering Lead http://oneforty.com
[twitter-dev] Re: My Twitter app suddenly and inexplicably stopped working...can't figure out why
Andrew, Do you mean to manually go to the page on my site that Twitter redirects you to after performing OAuth, and plug in the OAuth token into the URL? If so, that did nothing either. The site still hung. Thanks, - Mike On Nov 7, 2:19 am, Andrew Badera and...@badera.us wrote: 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] Search API: Can you have OR relationship with author and keywords?
We are trying to do a search where the results can come from two keywords, or from an author. It seems that the search API has an AND relationship between the author and keywords. If you specify an author, it searches for the keywords only within that author's tweets. For instance, our author is called louisvillemojo. We want to have a search return results from Louisville mojo, or keywords louisville kentucky. So it would find recent tweets that contain louisville or kentucky, or tweets from user louisvillemojo. Can this be done? Thanks in advance for any help! Mike
[twitter-dev] Re: About the oneforty application directory
Thanks Alex. I work at oneforty, and would be really interested to hear what would be useful for twitter developers. I've written a couple Twitter-based apps, and found it is hard to have them discovered, hear back from users, or even see what else is out there in the space. (And having half of them named Tw-something, doesn't help!) If you're interested in checking it out, I'll make sure anyone who signs up via this link gets in quickly: http://oneforty.com/?code=TWAPI Cheers, -mike -- Mike Champion Engineering Lead, oneforty @graysky On Sep 24, 3:24 pm, Alex Payne a...@twitter.com wrote: Just wanted to pass on a note from the team at oneforty.com, who recently launched with over 1300 Twitter applications in their directory. Your app might already be on their site. If it's not yet, you can register as a developer and add it. Once you register and claim your app you can promote it with screenshots, descriptions, tags, and reviews. If you saw the early alpha version of oneforty, it's much improved - real home page, most popular apps ranking and essentials. New item pages just launched and look much better than the prototype did. Their team working on the ability to sell apps right on the site. They're also definitely looking for your feedback. @freerobby, @graysky, @macasek, and @pistachio are often in the #twitterapi IRC channel. There's more contact info below, too. A note from the oneforty team and info on how to register, claim, edit add stuff: We built oneforty to help the best stuff being built on the Twitter API get found and get profitable. Come claim your apps, add content and add new projects in the Twitter appstore oneforty.com To get started: Sign in via oauth. (We whitelisted as many dev usernames as we could find. If you can't login already use invite code TWAPI and we'll let you right in.) Register as a developer:http://oneforty.com/me/developer_profile Search for and claim your app (Suggest Item if we don't have it yet!) Check out your item's page, make sure it's tagged well, tweet a link to it, etc Once approved, add details, screenshots, media coverage and more In the near future you'll be able to offer things for sale right in oneforty. For now we link to your sites and (optionally) let you collect donations. We want to help you get your app found, rated, reviewed and into the hands of the users who need it the most. We also want to get the Twitter community to do a better job supporting developers and apps so that your innovation can flourish. It's frustrating when great apps go defunct because of server costs, etc. We're anticipating decent blog and press coverage, so we want your to look its best! Please let us know whatever we can do to help you. Thank you. We'd really love to know what you think and what you want: Uservice feedback forum. Any questions at all, develop...@oneforty.com or 617-645-7767, anytime. oneforty Founder Laura (@Pistachio) Fitton will be at events in Fort Worth 9/25, Seattle 9/26-27, SF/bay area 9/27-30 and Boston 10/1 and would love to meet you (seehttp://bit.ly/tour140for Tweetup event info). She also wrote Twitter for Dummies. Check 'em out! -- Alex Payne - Platform Lead, Twitter, Inc.http://twitter.com/al3x
[twitter-dev] Search Operator OR needs more work!
Hi, I'm very amazed by the API.. but when using the OR operator I was hoping to see something like what Google does. for ex: If I'm searching 3 keywords with OR operator. Google will list items that has more keyword occurrences first. Twitter search will return results with one keyword occurrence.
[twitter-dev] Re: using Twitter API with PHP
here ya go. PHP libraries ready to roll. http://apiwiki.twitter.com/Libraries#PHP I have been using this one PHP Twitter by Aaron Brazell, original code from David Billingham. successfully. No Oauth support yet. You are going to have to play around with the libraries, however, to make things sing and dance. Long on features, short on docs. On Aug 23, 4:45 pm, Termanater13 termana...@gmail.com wrote: Ive been looking to use the Twitter API with my php Site and I cant find much just a bunch of URLs used wuth the Twitter API and the curl commands used with the API. Can someone point me in the direction of where to start, and please nothing done by the comunity unless its a tutorial on how to write my own if at al possible.
[twitter-dev] Re: Stop playing around with Source parameters
HTML does not make the order of attributes significant, so it's not a good idea to rely on a specific order. Sounds like you want to strip out markup, so you should already be running a whitelist of acceptable attributes, and not let through the the rest. For example, you wouldn't want to let through any inline event handler attributes, or inline styles. This approach will help solve the issue you are having, as well as giving you a starting point for consuming HTML safely. Here's some guidance on doing that: http://diveintomark.org/archives/2003/06/12/how_to_consume_rss_safely On Sat, Aug 22, 2009 at 5:17 AM, TCIticoconid...@gmail.com wrote: Recently you added nofollow's, and now you moved the nofollow after the href. Some of us filter these out and you changing them is only making it more complicated. Please make up your mind and stop changing these... a href=http://fun140.com/;Fun140/a a rel=nofollow href=http://fun140.com/;Fun140/a a href=http://fun140.com/; rel=nofollowFun140/a
[twitter-dev] Re: Developer Preview: Geolocation API
Very cool! Will Twitter Search be changed to use the new geo-tweet info? Right now if you search for near=Boston,MA it seems to be mostly (only?) looking at a user's location field. I'd be curious to know if Twitter Search will be the best place to determine tweets within a given area and how Search will behave if my location is set to Boston, but my tweet georss is in SF, for example. Thanks, -mike On Aug 21, 9:59 am, @epc epcoste...@gmail.com wrote: On Aug 20, 6:37 pm, Ryan Sarver rsar...@twitter.com wrote: Users will need to come to the website to change the setting. If we provided an API, a misbehaving application would change the setting without the user knowing - hence the read-only attribute. Perfect, that’s what I’d expect. But I throw this out anyway: once someone has opted in, would you consider adding an API method to allow geo to be turned on/off? Or would you expect the individual applications to allow users to mask their location when posting a tweet? -- -ed costello
[twitter-dev] Re: Platform downtime is expected
I am still having OAuth issues and have not seen a recent status update. We have been down since Saturday. We are receiving timeout errors when trying to OAuth. Have these issues been resolved? If so, are there any IP ranges being blocked. Our app is hosted on Rackspace. I would really appreciate an update. Thanks Mike On Aug 17, 11:54 am, Dewald Pretorius dpr...@gmail.com wrote: *bump*
[twitter-dev] Re: Platform downtime is expected
I am still experiencing OAuth issues. Have they been resolved or are there still problems? We have been down since Saturday. Our application is hosted on Rackspace and is receiving timeout errors when attempting to OAuth. If the Oauth issues have been resolved are any IP ranges currently being blocked? Thank You, Mike On Aug 15, 2:08 pm, Doug Williams d...@twitter.com wrote: Hi all --If you have been monitoring our status blog [1] or been to Twitter.com today you have noticed that we are once again experiencing problems due to external causes. The issues causing the downtime require that we once again take measures to bring the site back online. The first step our operations team must take will likely cause API downtime, especially affecting OAuth. We apologize for the inconvenience and we will work quickly to reduce the impact to the API. We appreciate your patience and I will update you as soon as we know more. Thanks, Doug
[twitter-dev] Re: Platform downtime is expected
We are still experiencing OAuth Issues. I haven't seen an official status update this morning. Have these issues been resolved? We have been down since Saturday and are receiving timeout exceptions when trying OAuth. If the issues have been resolved are any IP ranges currently being blocked. Our application is hosted on Rackspace. Regards, Mike On Aug 16, 9:11 pm, Ryan Sarver rsar...@twitter.com wrote: Dewald, What exact issues are you having? Can you please provide packet dumps or more information so we can debug? Thanks, RyanOn Sun, Aug 16, 2009 at 4:18 PM, Dewald Pretoriusdpr...@gmail.com wrote: Thanks Ryan, but unfortunately that does not help me. It does not tell my users that most, if not all calls to the API are being rejected with connection refused. In other words, from my perspective, the API is completely down / inoperative / unresponsive. My issue has nothing to do with OAuth. Dewald On Aug 16, 7:41 pm, Ryan Sarver rsar...@twitter.com wrote: Everyone, Please see the updated post on status.twitter.com -http://status.twitter.com/post/164410057/trouble-with-oauth-and-api-c We are continuing to assess the issue and will report back when we know more. Thanks for your patience, Ryan On Sun, Aug 16, 2009 at 2:32 PM, Hwee-Boon Yarhweeb...@gmail.com wrote: Can you confirm if OAuth access is the only known issue? I feel silly repeating the same question over and over again: Even / rate_limit_status calls are timing out on my server. I have no API access *at all*. -- Hwee-Boon On Aug 17, 5:21 am, Chad Etzel jazzyc...@gmail.com wrote: We've asked the keeper-o-the-blog to post something to that effect. Hopefully it will appear soon. -Chad On Sun, Aug 16, 2009 at 4:42 PM, Dewald Pretoriusdpr...@gmail.com wrote: Can you at the very least PLEASE publish something on status.twitter.com about the API being down and/or very unresponsive at times, so that I have a link where I can refer my users, so that they can see I am not shitting them? Dewald
[twitter-dev] Re: FW: Twitter is Suing me!!!
In short, Twitter has filed a trademark application and in doing so they must attempt to defend the name if they hope to be awarded trademark protection. Twitter allowed its original application to lapse and refiled on April 29, 2009. http://tess2.uspto.gov/bin/showfield?f=docstate=4003:eq5aoa.2.5 If Twitter continues to allow developers to use its name without attempting to defend its use it will certainly be denied a trademark. Twitter will also have to inform other existing clients, like Twiterific and TwitterBerry, to cease and desist as well if it hopes for a success application. As an business owner I completely understand Twitter's position here. I'm hopeful however, that they will be equally as diligent in working with the development community to help apps succeed while staying in bounds of Twitter's needs and user expectations. Twitter is at a turning point where it is almost certain to crush a few developers in the process of rolling out its business model. It's a delicate balance, monetize while keeping the development community happy, attracting more average users, and keeping the power users purists happy. Should be fun to watch. Mike Langford CEO, Tweetworks LLC Tweet Me: @MikeLangford Email Me: m...@tweetworks.com On Aug 11, 10:48 pm, Dean Collins d...@cognation.net wrote: Any other developer being sued by Twitter today? If so give me a call - feel free to tweet outwww.MyTwitterButler.com/I'm_Being_Sued http://www.mytwitterbutler.com/I'm_Being_Sued to anyone you want - looking forward to the press having a field day with this. Regards, Dean Collins d...@mytwitterbutler.com mailto:d...@mytwitterbutler.com?subject=i'm%20being%20Sued +1-212-203-4357 New York +61-2-9016-5642 (Sydney in-dial). +44-20-3129-6001 (London in-dial). From: Dean Collins Sent: Tuesday, August 11, 2009 10:37 PM To: 'newtec...@meetup.com' Subject: Twitter is Suing me!!! So not only are Twitter fighting battles with Russian hackers they are now fighting their own third party API developer community !! I received this email 30 minutes ago stating that Twitter is suing me?? Basically they feel that my application -www.MyTwitterButler.com http://www.mytwitterbutler.com/ does the following. 1/ That anyone using the API to auto follow people are breaching the TOS?? 2/ That no one can use the word Twitter in their domain 3/ That somehow people might be confused my application is related to twitter even though every page is labeled Copyright 2009 (c) My Twitter Butler - Not related in anyway to Twitter Inc, if I owned Twitter would i be spending my time building this app?? Is this the end for Twitter 3rd party developers? Have they forgotten that it was people like me who saw a need and built an application using the publicly defined Twitter API to add value to the Twitter ecosystem? I have asked Twitters lawyers for a conference call tomorrow to clear up 'WHY' they feel anyone using the twitter API to auto follow people is an illegal act and will be looking forward to their answers about 'WHY' the twitter API was built in the first place if they want to sue people for using it. www.MyTwitterButler.com/I'm_Being_Sued http://www.mytwitterbutler.com/I'm_Being_Sued Regards, Dean Collins d...@mytwitterbutler.com +1-212-203-4357 New York +61-2-9016-5642 (Sydney in-dial). +44-20-3129-6001 (London in-dial). FENWICK WEST LLP SILICON VALLEY CENTER 801 CALI FORN IA STREET MOUNTAIN VIEW, CA 94041 TEL 650.988.8500 FAX 650.938.5200 WWW.FENWICK.COM August 11, 2009 KAREN WEBB VIA CERTIFIED MAIL AND EMAIL Dean Collins Attn: MyTwitterButler.com d...@cognation.net Re: Infringement of Twitter, Inc.'s Trademark Rights Dear Mr. Collins: EMAIL kw...@fenwick.com DIRECT DIAL (650) 335*7656 This firm represents Twitter, Inc. (Twitter), owner of the TWITTER trademark and the popular social networking and micro-blogging website atwww.twitter.com. We are contacting you regarding your violation of Twitter's Terms of Service (TOS) and spam rules, and your infringement of Twitter's trademark rights. Twitter has recently become aware that you have registered and are using the MyTwitterButler.com domain, where you advertise and offer for sale the My Twitter Butler software that facilitates aggressive and automatic following to Twitter users. On your website you also claim to have used the same aggressive following techniques. This activity violates Twitter's TOS and rules. In addition to the above violations, you are also infringing on Twitter's trademark rights by using the MyTwitterButler.com domain and the TWITTER trademark. As you are likely aware, Twitter's extensive and widespread use of its TWITTER trademark provides Twitter with strong and defensible rights in the mark, and has caused the mark to become well-known, if not famous, in today's online marketplace. Twitter owns
[twitter-dev] Query on the status of the Tweets Posted
Hi, I have a query regarding the tweets posted from an API. when the tweets are posted from my site it shows From API, Instead, I need it to be from web or my website name. For Instance: The below is one of my tweet Why we should be grateful for climate change. Watch to the end. Frightening6:58 AM Aug 10th http://twitter.com/chavansoft/status/3228082066 from APIhttp://apiwiki.twitter.com/ I tried Oath for twitter, but i could not get the perfect code for it. Please can any one [you] help me in this case. With Regards Chavan PHP Programmer M: +91 9345186462
[twitter-dev] Re: Continuous oAuth Issues
I've noticed a similar issue. I was able to login to my OAuth-enabled app easily with Safari but had to manually clear my cookies in FireFox before it worked. -mike On Aug 8, 8:25 am, Derek Gathright drg...@gmail.com wrote: Oh, nice. I was unable to get into my client over the last few days, but followed the suggestion of clearing your cookies in Safari and it works fine now. Thanks On Sat, Aug 8, 2009 at 2:15 AM, Rich rhyl...@gmail.com wrote: I still can't get mobile safari to oAuth, some people obviously are as I can see the number of users occassionally go up in the oAuth clients page On Aug 8, 4:08 am, Chris Corriveau chris.corriv...@gmail.com wrote: Hi Mike what version of FF are you running? I'mable to use 3.5 now, but Twitter may have changed something after I was Able to login and get my cookie set. - Chris- On Aug 7, 2009, at 6:21 PM, Mike Lewis mikelikes...@gmail.com wrote: Genevate, Still doesn't work for me in FF On Aug 7, 3:15 pm, Genevate chris.corriv...@gmail.com wrote: Firefox oAuth issue seems to be fixed now. Not sure for how long but I can actually login. Chris- On Aug 7, 5:29 pm, Rich rhyl...@gmail.com wrote: It also doesn't seem to be working properly on Mobile Safari either on the iPhone On Aug 7, 10:12 pm, Ryan Sarver rsar...@twitter.com wrote: Brian, Thanks for letting us know. We will try to dig in on the OAuth issues and see if we can come up with any solutions. Best, Ryan On a side note, we are seeing more issues withFirefoxand very few with Safari but we are exploring On Fri, Aug 7, 2009 at 1:40 PM, Brian Knoth b.kn...@gmail.com wrote: Thanks for update Ryan, but I got to tell you, I have not gotten a single oAuth request through from our app since early yesterday morning before the original attack. It's not intermittent, it's really nothing. Now, out app is hosted in EC2, so I'm not sure if that is making a difference with any IP blacklisting. Brian On Fri, Aug 7, 2009 at 4:37 PM, Ryan Sarver rsar...@twitter.com wrote: We are noticing a number of people are experiencing issues with OAuth. There is nothing inherently broken with OAuth, instead the issue is tied to API calls periodically timing out due to the attack. All calls, including unauthenticated calls are experiencing the same problems. We are working to resolve this and all the other API-related issues and will keep you informed as we make progress. Best, Ryan On Fri, Aug 7, 2009 at 10:59 AM, AdamHertz adamdhe...@gmail.com wrote: Ours recurred this morning, as well. On Aug 7, 10:49 am, Rich rhyl...@gmail.com wrote: Mine has re-occured... if you're going to force people to use oAuth from now on, at least get it running again fast! On Aug 7, 2:22 pm, Brian b.kn...@gmail.com wrote: Our app is still experiencing oAuth denial issues since the DDOS problem yesterday. Has anyone heard any update to this problem? or is there some action that app developers need to take to get back in business? Thanks, brian
[twitter-dev] Re: Continuous oAuth Issues
I'm having issues where I get the auth page, and then after clicking authorize it times out and then I get a blank response. This is in firefox. It appears to be working OK in safari, or at least, less problematic. I tried flushing my DNS cache, cookies, etc. Also tried browsing in firefox private browsing mode to no avail. Thanks, Mike On Aug 7, 1:37 pm, Ryan Sarver rsar...@twitter.com wrote: We are noticing a number of people are experiencing issues with OAuth. There is nothing inherently broken with OAuth, instead the issue is tied to API calls periodically timing out due to the attack. All calls, including unauthenticated calls are experiencing the same problems. We are working to resolve this and all the other API-related issues and will keep you informed as we make progress. Best, Ryan On Fri, Aug 7, 2009 at 10:59 AM, AdamHertz adamdhe...@gmail.com wrote: Ours recurred this morning, as well. On Aug 7, 10:49 am, Rich rhyl...@gmail.com wrote: Mine has re-occured... if you're going to force people to use oAuth from now on, at least get it running again fast! On Aug 7, 2:22 pm, Brian b.kn...@gmail.com wrote: Our app is still experiencing oAuth denial issues since the DDOS problem yesterday. Has anyone heard any update to this problem? or is there some action that app developers need to take to get back in business? Thanks, brian
[twitter-dev] Re: Continuous oAuth Issues
Ryan: I've experienced some issues with safari. They seem to happen once you're logged in, but go away once you clear your cookies. No such thing happens with Firefox and I haven't been able to authorize once with FF. Also, logging out of an account seems to be quite problematic. Cheers, Mike On Aug 7, 2:12 pm, Ryan Sarver rsar...@twitter.com wrote: Brian, Thanks for letting us know. We will try to dig in on the OAuth issues and see if we can come up with any solutions. Best, Ryan On a side note, we are seeing more issues with Firefox and very few with Safari but we are exploring On Fri, Aug 7, 2009 at 1:40 PM, Brian Knoth b.kn...@gmail.com wrote: Thanks for update Ryan, but I got to tell you, I have not gotten a single oAuth request through from our app since early yesterday morning before the original attack. It's not intermittent, it's really nothing. Now, out app is hosted in EC2, so I'm not sure if that is making a difference with any IP blacklisting. Brian On Fri, Aug 7, 2009 at 4:37 PM, Ryan Sarver rsar...@twitter.com wrote: We are noticing a number of people are experiencing issues with OAuth. There is nothing inherently broken with OAuth, instead the issue is tied to API calls periodically timing out due to the attack. All calls, including unauthenticated calls are experiencing the same problems. We are working to resolve this and all the other API-related issues and will keep you informed as we make progress. Best, Ryan On Fri, Aug 7, 2009 at 10:59 AM, AdamHertz adamdhe...@gmail.com wrote: Ours recurred this morning, as well. On Aug 7, 10:49 am, Rich rhyl...@gmail.com wrote: Mine has re-occured... if you're going to force people to use oAuth from now on, at least get it running again fast! On Aug 7, 2:22 pm, Brian b.kn...@gmail.com wrote: Our app is still experiencing oAuth denial issues since the DDOS problem yesterday. Has anyone heard any update to this problem? or is there some action that app developers need to take to get back in business? Thanks, brian
[twitter-dev] Re: DDoS update: Friday 8PM PDT
Thanks for the update. Definitely appreciate the honesty despite what must be a challenging situation, as it helps those of us downstream make more informed decisions. -mike On Aug 7, 11:34 pm, Josh Roesslein jroessl...@gmail.com wrote: Let's just hope the attackers behind this get bored and move on soon. Great work guys on battling this onslaught. :) On Fri, Aug 7, 2009 at 10:29 PM, Chris Corriveau chris.corriv...@gmail.comwrote: Thank you Chad appreciate this update. Even though there is no real resolution telling us this helps and gives us some stuff to tell our users. Good luck and keep the updates coming. - Chris- On Aug 7, 2009, at 11:20 PM, Chad Etzel c...@twitter.com wrote: Hello all, Here is the state of things as we know them: - The DDoS attack is still ongoing, and the intensity has not decreased at all. Because of this, interaction with the site and with the API will continue to be shaky due to the defenses that have been put in place by our Ops team. At this point, removing any of those defenses is not an option. - Whitelisted IPs that have a restricted rate-limit is a *known issue,* and we are still working on restoring increased rate-limiting. - OAuth funkiness is a *known issue* which seems to be exacerbated by the whole DDoS thing. - Automatic blacklisting of valid or innocent IPs is a *known issue* and a result of the DDoS defenses. These blacklistings are temporary, though the amount of time they stick is variant upon the number of requests being made. The best thing to do to avoid this is throttle back your requests. We know that this may not be an option for everyone, but if you can, it will help. - Keep respecting 302's as you get them. THIS IS THE MOST IMPORTANT POINT. PLEASE READ IT TWICE: *There is no ETA on fixing any of this* *There is no ETA on fixing any of this* I know that sounds harsh and cold, but if you want us to be perfectly honest with you, that's the truth. Things will continue to be rocky as long as this attack continues. They may get worse, they may get better. That should not be read as we don't care about fixing it or we're not going to fix it until everything blows over but instead as we can't promise when things will be back to normal, but in the meantime we are working on fixing is ASAP. Ops is going to be working around the clock this weekend. We will also be monitoring the situation and giving out new information as we have it. Please remain patient with us. As much as you want it to be fixed, we want it to be fixed more. Some of my personal apps are completely borked as well. We're all going to have to ride this out together. Communications may be slowed over the weekend, but please know that we are not ignoring the situation. Thanks, -Chad -- Josh
[twitter-dev] Re: 400 error on create but not exists?
Thanks so much... I was using GET instead of POST! On Thu, Jul 9, 2009 at 9:45 PM, Abraham Williams 4bra...@gmail.com wrote: What is the text that Twitter is sending back with the request? 2 recommendations: Try http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-account%C2%A0verify_credentialsto make sure the account credentials are correct. Make sure you are doing a POST request and not a GET request. Abraham On Thu, Jul 9, 2009 at 20:36, mikepuerto mikepue...@gmail.com wrote: Hi I'm working on integrating the API into a script that just follows a user. I have used http://twitter.com/friendships/exists.$format?user_a=$user_IDAauser_b=$user_IDB and successfully gotten the response of true or false... but as soon as I try using, http://twitter.com/friendships/create/$user_ID.xml I get a 400 error. Would this be a rate limit issue? I'm using php with curl... Is this a rate limit issue even though I can still use the other method without error? -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham Project | http://fireeagle.labs.poseurtech.com This email is: [ ] blogable [x] ask first [ ] private.
[twitter-dev] Deletion page in Firefox 3.5
As can be seen in the screenshot, the numbers on the page where you can delete your Twitter-account aren't correctly aligned in Firefox 3.5. Screenshot: http://i32.tinypic.com/21bt3p.png
[twitter-dev] Re: List of API methods
Sorry, don't know if the message I just sent got sent or discarded. In short: http://github.com/mikelikespie/TwitterLibGen/ data.py What I'd like the data to be something like. (first 3 at least) (the rest were scraped and probably are incorrect) tweetgen.py Self generating library that uses the data.py info when you import it (play around with it in interactive shell) test.py example that uses tweetgen. comment back in the one to see the auth working (there should be exceptions, it's part of the demo) the rest is just the scaper my colleague wrote On May 4, 1:21 pm, Doug Williams d...@twitter.com wrote: Mike, That would be great. A good demo can go a long way. Thanks, Doug Doug Williams | Platform Support | Twitter, Inc. 539 Bryant St. Suite 402, San Francisco, CA 94107http://twitter.com/dougw On Mon, May 4, 2009 at 11:28 AM, Mike Lewis mikelikes...@gmail.com wrote: Hi Doug, An example of what I'd be interested in is http://www.flickr.com/services/api/flickr.reflection.getMethods.html and http://www.flickr.com/services/api/flickr.reflection.getMethodInfo.html With something like that for the twitter API which shows the parameters, the request type, if authentication is required, etc. it would be very easy to write something that generates a library for the API. It would be able to be very robust because most of the parameter checking could be done client-side, which means less guessing and invalid requests to twitter. Also, when there's API changes, the library could be updated automatically. Maybe tonight or something, I'll take a couple twitter methods and put them in a format similar to what I'd expect, and make a little demo on how one could generate a library. Cheers, Mike On May 4, 10:56 am, Doug Williams d...@twitter.com wrote: What we have to offer is available at the wiki. If you have a great idea for something we should add, a working demonstration goes a long way to helping us prioritize. Thanks, Doug Doug Williams | Platform Support | Twitter, Inc. 539 Bryant St. Suite 402, San Francisco, CA 94107 http://twitter.com/dougw On Mon, May 4, 2009 at 12:16 AM, Mike Lewis mikelikes...@gmail.com wrote: I'm asking for the latter. I'm quite familiar with the apiwiki. On May 3, 11:19 pm, Paul Kinlan paul.kin...@gmail.com wrote: If I am not mistaken, you can look here: http://apiwiki.twitter.com/Twitter-API-Documentation. That is unless you are asking for programmatic access to an api list via an api? 2009/5/4 Mike Lewis mikelikes...@gmail.com Is there a way to generate a list of API methods in JSON, or CSV with the parameters, or a place where one could download one. I'm interested in this for generating a library. Thanks, Mike
[twitter-dev] Re: List of API methods
Here's a few other examples to show that this isn't the first time somebody thought this might be a nice method http://www.rememberthemilk.com/services/api/methods/rtm.reflection.getMethodInfo.rtm http://84.234.17.86:84/Tools/API/Method/?name=metaweather.reflection.getMethodInfo http://developer.etsy.com/docs#getmethodtable On May 5, 1:46 am, Mike Lewis mikelikes...@gmail.com wrote: Sorry, don't know if the message I just sent got sent or discarded. In short: http://github.com/mikelikespie/TwitterLibGen/ data.py What I'd like the data to be something like. (first 3 at least) (the rest were scraped and probably are incorrect) tweetgen.py Self generating library that uses the data.py info when you import it (play around with it in interactive shell) test.py example that uses tweetgen. comment back in the one to see the auth working (there should be exceptions, it's part of the demo) the rest is just the scaper my colleague wrote On May 4, 1:21 pm, Doug Williams d...@twitter.com wrote: Mike, That would be great. A good demo can go a long way. Thanks, Doug Doug Williams | Platform Support | Twitter, Inc. 539 Bryant St. Suite 402, San Francisco, CA 94107http://twitter.com/dougw On Mon, May 4, 2009 at 11:28 AM, Mike Lewis mikelikes...@gmail.com wrote: Hi Doug, An example of what I'd be interested in is http://www.flickr.com/services/api/flickr.reflection.getMethods.html and http://www.flickr.com/services/api/flickr.reflection.getMethodInfo.html With something like that for the twitter API which shows the parameters, the request type, if authentication is required, etc. it would be very easy to write something that generates a library for the API. It would be able to be very robust because most of the parameter checking could be done client-side, which means less guessing and invalid requests to twitter. Also, when there's API changes, the library could be updated automatically. Maybe tonight or something, I'll take a couple twitter methods and put them in a format similar to what I'd expect, and make a little demo on how one could generate a library. Cheers, Mike On May 4, 10:56 am, Doug Williams d...@twitter.com wrote: What we have to offer is available at the wiki. If you have a great idea for something we should add, a working demonstration goes a long way to helping us prioritize. Thanks, Doug Doug Williams | Platform Support | Twitter, Inc. 539 Bryant St. Suite 402, San Francisco, CA 94107 http://twitter.com/dougw On Mon, May 4, 2009 at 12:16 AM, Mike Lewis mikelikes...@gmail.com wrote: I'm asking for the latter. I'm quite familiar with the apiwiki. On May 3, 11:19 pm, Paul Kinlan paul.kin...@gmail.com wrote: If I am not mistaken, you can look here: http://apiwiki.twitter.com/Twitter-API-Documentation. That is unless you are asking for programmatic access to an api list via an api? 2009/5/4 Mike Lewis mikelikes...@gmail.com Is there a way to generate a list of API methods in JSON, or CSV with the parameters, or a place where one could download one. I'm interested in this for generating a library. Thanks, Mike
[twitter-dev] Re: List of API methods
Just a side note, after thoroughly inspecting the API wiki, the docs are very inconsistent from method to method. On May 5, 1:41 pm, Chad Etzel jazzyc...@gmail.com wrote: I fully support this idea since, by definition, an API is a list or document of function prototypes (or signatures of what have you). Chad Sent from an airplane. Shh don't tell anyone. On May 5, 2009, at 1:17 PM, Mike Lewis mikelikes...@gmail.com wrote: Here's a few other examples to show that this isn't the first time somebody thought this might be a nice method http://www.rememberthemilk.com/services/api/methods/rtm.reflection.ge... http://84.234.17.86:84/Tools/API/Method/?name=metaweather.reflection http://developer.etsy.com/docs#getmethodtable On May 5, 1:46 am, Mike Lewis mikelikes...@gmail.com wrote: Sorry, don't know if the message I just sent got sent or discarded. In short: http://github.com/mikelikespie/TwitterLibGen/ data.py What I'd like the data to be something like. (first 3 at least) (the rest were scraped and probably are incorrect) tweetgen.py Self generating library that uses the data.py info when you import it (play around with it in interactive shell) test.py example that uses tweetgen. comment back in the one to see the auth working (there should be exceptions, it's part of the demo) the rest is just the scaper my colleague wrote On May 4, 1:21 pm, Doug Williams d...@twitter.com wrote: Mike, That would be great. A good demo can go a long way. Thanks, Doug Doug Williams | Platform Support | Twitter, Inc. 539 Bryant St. Suite 402, San Francisco, CA 94107http://twitter.com/dougw On Mon, May 4, 2009 at 11:28 AM, Mike Lewis mikelikes...@gmail.com wrote: Hi Doug, An example of what I'd be interested in is http://www.flickr.com/services/api/ flickr.reflection.getMethods.html and http://www.flickr.com/services/api/flickr.reflection.getMethodInfo.html With something like that for the twitter API which shows the parameters, the request type, if authentication is required, etc. it would be very easy to write something that generates a library for the API. It would be able to be very robust because most of the parameter checking could be done client-side, which means less guessing and invalid requests to twitter. Also, when there's API changes, the library could be updated automatically. Maybe tonight or something, I'll take a couple twitter methods and put them in a format similar to what I'd expect, and make a little demo on how one could generate a library. Cheers, Mike On May 4, 10:56 am, Doug Williams d...@twitter.com wrote: What we have to offer is available at the wiki. If you have a great idea for something we should add, a working demonstration goes a long way to helping us prioritize. Thanks, Doug Doug Williams | Platform Support | Twitter, Inc. 539 Bryant St. Suite 402, San Francisco, CA 94107 http://twitter.com/dougw On Mon, May 4, 2009 at 12:16 AM, Mike Lewis mikelikes...@gmail.com wrote: I'm asking for the latter. I'm quite familiar with the apiwiki. On May 3, 11:19 pm, Paul Kinlan paul.kin...@gmail.com wrote: If I am not mistaken, you can look here: http://apiwiki.twitter.com/Twitter-API-Documentation. That is unless you are asking for programmatic access to an api list via an api? 2009/5/4 Mike Lewis mikelikes...@gmail.com Is there a way to generate a list of API methods in JSON, or CSV with the parameters, or a place where one could download one. I'm interested in this for generating a library. Thanks, Mike
[twitter-dev] Re: List of API methods
I'm asking for the latter. I'm quite familiar with the apiwiki. On May 3, 11:19 pm, Paul Kinlan paul.kin...@gmail.com wrote: If I am not mistaken, you can look here:http://apiwiki.twitter.com/Twitter-API-Documentation. That is unless you are asking for programmatic access to an api list via an api? 2009/5/4 Mike Lewis mikelikes...@gmail.com Is there a way to generate a list of API methods in JSON, or CSV with the parameters, or a place where one could download one. I'm interested in this for generating a library. Thanks, Mike
[twitter-dev] Re: List of API methods
Hi Doug, An example of what I'd be interested in is http://www.flickr.com/services/api/flickr.reflection.getMethods.html and http://www.flickr.com/services/api/flickr.reflection.getMethodInfo.html With something like that for the twitter API which shows the parameters, the request type, if authentication is required, etc. it would be very easy to write something that generates a library for the API. It would be able to be very robust because most of the parameter checking could be done client-side, which means less guessing and invalid requests to twitter. Also, when there's API changes, the library could be updated automatically. Maybe tonight or something, I'll take a couple twitter methods and put them in a format similar to what I'd expect, and make a little demo on how one could generate a library. Cheers, Mike On May 4, 10:56 am, Doug Williams d...@twitter.com wrote: What we have to offer is available at the wiki. If you have a great idea for something we should add, a working demonstration goes a long way to helping us prioritize. Thanks, Doug Doug Williams | Platform Support | Twitter, Inc. 539 Bryant St. Suite 402, San Francisco, CA 94107http://twitter.com/dougw On Mon, May 4, 2009 at 12:16 AM, Mike Lewis mikelikes...@gmail.com wrote: I'm asking for the latter. I'm quite familiar with the apiwiki. On May 3, 11:19 pm, Paul Kinlan paul.kin...@gmail.com wrote: If I am not mistaken, you can look here: http://apiwiki.twitter.com/Twitter-API-Documentation. That is unless you are asking for programmatic access to an api list via an api? 2009/5/4 Mike Lewis mikelikes...@gmail.com Is there a way to generate a list of API methods in JSON, or CSV with the parameters, or a place where one could download one. I'm interested in this for generating a library. Thanks, Mike
[twitter-dev] List of API methods
Is there a way to generate a list of API methods in JSON, or CSV with the parameters, or a place where one could download one. I'm interested in this for generating a library. Thanks, Mike
[twitter-dev] Re: Freelance Twitter API Dev directory?
Hi, Please add me to the list Real Name: Mike Lewis Twitter Username: @mikelikespie Email: m...@narwhalconsulting.com Web page: http://narwhalconsulting.com Example: tweeptracker.com Consulting firm out of SF bay area. Expertise in Python, Pylons, Postgres, REST API's, OAuth, AJAX, Flex, Javascript, C, etc. Cheers, Mike On Mar 12, 2:24 pm, Ollie olliedud...@googlemail.com wrote: Can I be added to the list please? Real Name: Ollie Parsley Twitter Username: @ollieparsley Email: ol...@ollieparsley.com Freelance PHP developer based in Dorset, UK. Have quite a bit of experience with the Twitter APIs for bespoke web apps using PHP/MySQL. Done a fair bit of .NET with Oracle too. http://footytweets.comhttp://twitterleague.comhttp://h1debate.com Thanks Ollie
[twitter-dev] Re: Callback url during development
It doesn't allow you to set http://localhost/ or http://127.0.0.1 as a callback URL. This is rather frustrating because I don't want to have to make a fake host and make all my developers make the same fake host on their respective machines as well, just to get something trivial like this to work. On Apr 27, 1:08 pm, Paul Kinlan paul.kin...@gmail.com wrote: This is going to sound silly, but I had it with a port on the settings page I addedhttp://www.twedaq.com:8080/oauthin to the oauth conf page, and then changed my host file and all worked really well. Paul 2009/4/27 Benjamin Cox b...@insourcery.com Unfortunately, I'm working on a dev machine that's doubling as a web server for another small project. I simply cannot run on port 80 in development. Does that mean there is no way I can test oauth integration with Twitter? Would you consider adding the ability to put a port number in the callback URL on the settings page? Please? Cheers, Ben On Apr 26, 11:41 pm, Paul Kinlan paul.kin...@gmail.com wrote: I managed to set a port on the page when I was doing some google app engine stuff. But saying that my dev server now runs on port 80 on my machine so it isn't a problem much. Paul On 27 Apr 2009, at 06:58, Dimebrain daniel.cre...@gmail.com wrote: How are you able to set this up for a non-standard port? HOSTS file is just for the domain/authority, and you can't specify a port in the callbackURL on the settings page? On Apr 23, 7:31 pm, Jochen Kaechelin giss...@gissmog.de wrote: Am 24.04.2009 um 00:29 schrieb Paul Kinlan: Hi, During development I tend to modify my hosts file to point the callbackURL domain to my box for instance. This is quite good because all it affects is my box. I just had the same idea ... ;-) Works as expected now!!! Thanx Paul On 23 Apr 2009, at 23:16, Abraham Williams 4bra...@gmail.com wrote: The oauth_callback parameter was just disabled do to security issues. Currently only the registeredcallbackworks. If you need a differentcallbacklocation for development set up a second application. On Thu, Apr 23, 2009 at 17:12, Jochen Kaechelin giss...@gissmog.de wrote: Am 22.04.2009 um 15:37 schrieb Abraham Williams: Also when you are building the authorize url to send users to twitter.com you can add oauth_callback=http://localhost/ callback and that will override your applications registeredcallback. OAuth::Consumer.new(xx, xx, { :site= http://twitter.com/oauth/authorize?oauth_callback=http://localhost:30 ... }) I can see the site where I have to Deny or Allow access. When I click Allow I will be redirected to the Domain which I entered in the OAUTHClients Registration Form (http://www.twitter.com/ oauth_cleints) Seems that the oauth_callback parameter does not work! Is it in the wrong place? Any hints!? Thanx -- Abraham Williams |http://the.hackerconundrum.com Hacker |http://abrah.am|http://twitter.com/abraham Web608 | Community Evangelist |http://web608.org This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
[twitter-dev] Re: statuses/replies now include mentions
Great, this will be a helpful change. Any discussion of codifying Retweets in a similar way in the search API? It seems like they are also a subset of Mentions where 1) starts with RT 2) includes a @mention 3) rest of the content (fuzzy) matches a previous tweet by the @mention tweeter. -mike On Mar 30, 10:28 pm, tweetip twee...@mac.com wrote: In changing our code, we've decided: Show my replies becomes Show my mentions but Reply to is not becoming Mention to - it stays Reply to otoh having both my replies and my mentions is something users will ask for... hth :)
[twitter-dev] Re: Freelance Twitter API Dev directory?
I'd like to be added to the list. Mike Matz URL: http://pixor.net/ Twitter: @pix0r Focus: Large-scale PHP web apps; iPhone software. Thanks.
[twitter-dev] Re: Passing curl to XML
Hi, I am really new to all of this. I got the greatbundi's code to work and also another code. What I am not understanding is why it does not display other informormation. For instance, for me at least, this code does not tell me what friend's update I am reading. It only shows the text and for the life of me I can not figure out why! A brief explanation would be appreciated. Thank you. On Jan 7, 8:29 pm, thegreatbund...@gmail.com thegreatbund...@gmail.com wrote: Worked perfectly, thanks Chad! I'm sure I'll have another problem soon, but for now I'm rolling. Thanks again! :D On Jan 7, 8:05 pm, Chad Etzel jazzyc...@gmail.com wrote: I think the XML parser will choke on the headers that are being returned from your curl_exec. Try setting this instead: curl_setopt($ch, CURLOPT_HEADER, false); You'll also want to set this: curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); so that the XML is actually stored in $str when curl_exec returns; Try that out, -Chad On Wed, Jan 7, 2009 at 6:29 PM, thegreatbund...@gmail.com thegreatbund...@gmail.com wrote: Hello everyone, I'm working on my first Twitter-related project and am very excited to be doing so. What I'm trying to do is create a site that lists my friends_timeline. With that account, I'm following a group of individuals in a particular industry. Right now, I've been able to use curl to display the raw XML. Now I'm struggling to display that data the way I need to. Here's what I have written. blockquote ?php // set user/pswd $username = '123'; $password = 'abc'; // create a new curl resource $ch = curl_init(); // set URL and options curl_setopt($ch, CURLOPT_URL, http://twitter.com/statuses/ friends_timeline/ACCOUNT+NAME.xml); curl_setopt($ch, CURLOPT_HEADER, 1); curl_setopt($ch, CURLOPT_USERPWD, $username:$password); // execute and pass to browser $str = curl_exec($ch); // close curl resource curl_close($ch); $xml = simplexml_load_string ($str); foreach ($xml-status as $status) { print $status-text . \n; } ?/blockquote Again, this outputs the last 20 entries in friends_outline as XML just fine, but fails at the array. The following appears immediately afterward. blockquote Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Start tag expected, '' not found in / projects/tweets/test/curltest.php on line 20 Warning: simplexml_load_string() [function.simplexml-load-string]: 1 in /projects/tweets/test/curltest.php on line 20 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /projects/tweets/test/curltest.php on line 20 Warning: Invalid argument supplied for foreach() in /projects/tweets/ test/curltest.php on line 21/blockquote I only have rudimentary PHP skills, but I'm a fairly quick study. Any advice is appreciated! Thanks in advance for the help! --Alex
Re: Storing twitter info on my database
Search the archives and you'll find that for the most part it's perfectly fine. However sending an email off to a twitters legal team, with a better description of what your planning to do would not go astray. On Sun, Jan 11, 2009 at 4:16 PM, danny dco...@gmail.com wrote: I just want to be clear. Is it cool if I store data coming from the twitter API and store it on my own database? (messages, twits, etc.)? I find the API rate limit of 100 an hour too restrictive.
Re: IP ranges from The Planet will be blocked
Oh no, I commend Twitter as well. I was talking about the planet. Twitter is not a corporate... not yet at least. On Tue, Jan 6, 2009 at 9:47 PM, Randal Hicks rhick...@tampabay.rr.com wrote: HEAR HERE! ...spot on Dharmesh. Abuse issues of any kind are handled at an ISP level. If the ISP is uncooperative you block that range as it's the ISP's responsibility to manage their subscribers (which is why large chunks of China, Russia, and the Ukraine have found their way into my firewall rules). Responsible ISP's can quarantine the user(s) so in this instance, unfortunately, anyone from this ISP will be impacted by Twitters logical decision. Perhaps when enough customers from The Planet complain that ISP will have no choice but to resolve the abuse issue which began this mess... and if not Zac, maybe it's time to shop for a new hosting provider? RandaL On Jan 5, 2009, at 11:22 PM, Dharmesh wrote: I don't think this is really corporate hostility or bureaucracy on twitter's part. They're simply trying to address a case of abuse -- which ultimately impacts their ability to deliver service to their users. On Jan 5, 7:29 pm, Mike Scott mic...@gmail.com wrote: Oh don't you just love corporate hostility. Bureaucracy at its best! On Tue, Jan 6, 2009 at 1:17 PM, Alex Payne a...@twitter.com wrote: Unfortunately, no, not until we hear back from The Planet. On Mon, Jan 5, 2009 at 14:21, zbowling zbowl...@gmail.com wrote: NOOO... :-) My 3 servers are at The Planet. They are the worlds largest managed hosting provider so its a significant chunk of the internet so I'm sure there will be an outcry. Can you whitelist my range? 70.86.83.50-70.86.83.63 Zac Bowling http://zbowling.com/ On Jan 5, 4:05 pm, Alex Payne a...@twitter.com wrote: Our operations team has informed me that we'll soon be blacklisting IPs originating at hosting provider The Planet (http://www.theplanet.com/). We've attempted to resolve a number of abuse complaints with them over a long period of time and have not received an acceptable response. If your service or application is hosted at The Planet, please be aware that this will impact your ability to talk directly to the Twitter API. -- Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x -- Alex Payne - API Lead, Twitter, Inc. http://twitter.com/al3x
Re: rate_limit_status
Alex, this seems to have been resolved for me about 30 minutes ago. It still wasn't working when I first tried this morning, but at one point i refreshed the m.twitter.com page on my phone and it returned the page in HTML code. After that, the API limit was reset. I don't know if that's related but I thought it was interesting... Mike On Dec 18, 2:25 pm, Alex Payne a...@twitter.com wrote: Yes, I think it's a bug in the underlying rate limiting code. It'll be exposed anywhere rate limiting is applied. On Thu, Dec 18, 2008 at 11:05, rhysmeister therhysmeis...@hotmail.com wrote: This doesn't seem limited to rate_limit_status. I've just tried using the status replies method and got a (400) Bad Request. at 18:55 and my reset time is now bumped up to 2008-12-18T19:55:23+00:00. On Dec 18, 6:48 pm, rhysmeister therhysmeis...@hotmail.com wrote: Cool, thanks guys. On Dec 18, 6:34 pm, Alex Payne a...@twitter.com wrote: Yeah, I think we've got a bug here. Hold tight, I'll look into it today. On Thu, Dec 18, 2008 at 10:06, Ed Finkler funkat...@gmail.com wrote: Oh, I see now. So it changes each time you *check*, not just each time you hit 100. Yes, that doesn't sound right. -- Ed Finkler http://funkatron.com AIM: funka7ron ICQ: 3922133 Skype: funka7ron On Thu, Dec 18, 2008 at 12:32 PM, rhysmeister therhysmeis...@hotmail.com wrote: Definitely something funny going on. Around 16:30 this afternoon rate_limit_status was reporting that my reset time was 17:15. When querying this at 17:26 the reset time was reported as 2008-12-18T18:26:04+00:00. On Dec 18, 4:07 pm, Ed Finkler funkat...@gmail.com wrote: I believe the reset time indicates when your block will be lifted, so having it be 1 hour after you hit the limit seems sensible. -- Ed Finklerhttp://funkatron.com AIM: funka7ron ICQ: 3922133 Skype: funka7ron On Thu, Dec 18, 2008 at 10:53 AM, rhysmeister therhysmeis...@hotmail.com wrote: HI, I've recently noticed that calls to the rate_limit_status seem to extend my reset time by exactly one hour after I have hit the 100 request limit. For example if I hit my 100 limit at 4:00 PM then the reset time is 5:00PM. If I check this at 4:45PM it then states the reset time is 5:45PM. It seems to happen for a couple of times before stopping. Is this known behavior? Thanks, Rhys -- Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x -- Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x
Re: rate_limit_status
oops. its broken again :( - hash reset-time type=datetime2008-12-19T17:31:40+00:00/reset-time remaining-hits type=integer0/remaining-hits hourly-limit type=integer100/hourly-limit reset-time-in-seconds type=integer1229707900/reset-time-in- seconds /hash And i only accessed through API once about 2 hours ago. On Dec 19, 9:34 am, Mike shotzomb...@gmail.com wrote: Oh, and also when the m.twitter.com page did load again, it returned the full site instead of the mobile one. Even though the m was still in the address bar and i refreshed a couple times. Thanks On Dec 19, 9:32 am, Mike shotzomb...@gmail.com wrote: Alex, this seems to have been resolved for me about 30 minutes ago. It still wasn't working when I first tried this morning, but at one point i refreshed the m.twitter.com page on my phone and it returned the page in HTML code. After that, the API limit was reset. I don't know if that's related but I thought it was interesting... Mike On Dec 18, 2:25 pm, Alex Payne a...@twitter.com wrote: Yes, I think it's a bug in the underlying rate limiting code. It'll be exposed anywhere rate limiting is applied. On Thu, Dec 18, 2008 at 11:05, rhysmeister therhysmeis...@hotmail.com wrote: This doesn't seem limited to rate_limit_status. I've just tried using the status replies method and got a (400) Bad Request. at 18:55 and my reset time is now bumped up to 2008-12-18T19:55:23+00:00. On Dec 18, 6:48 pm, rhysmeister therhysmeis...@hotmail.com wrote: Cool, thanks guys. On Dec 18, 6:34 pm, Alex Payne a...@twitter.com wrote: Yeah, I think we've got a bug here. Hold tight, I'll look into it today. On Thu, Dec 18, 2008 at 10:06, Ed Finkler funkat...@gmail.com wrote: Oh, I see now. So it changes each time you *check*, not just each time you hit 100. Yes, that doesn't sound right. -- Ed Finkler http://funkatron.com AIM: funka7ron ICQ: 3922133 Skype: funka7ron On Thu, Dec 18, 2008 at 12:32 PM, rhysmeister therhysmeis...@hotmail.com wrote: Definitely something funny going on. Around 16:30 this afternoon rate_limit_status was reporting that my reset time was 17:15. When querying this at 17:26 the reset time was reported as 2008-12-18T18:26:04+00:00. On Dec 18, 4:07 pm, Ed Finkler funkat...@gmail.com wrote: I believe the reset time indicates when your block will be lifted, so having it be 1 hour after you hit the limit seems sensible. -- Ed Finklerhttp://funkatron.com AIM: funka7ron ICQ: 3922133 Skype: funka7ron On Thu, Dec 18, 2008 at 10:53 AM, rhysmeister therhysmeis...@hotmail.com wrote: HI, I've recently noticed that calls to the rate_limit_status seem to extend my reset time by exactly one hour after I have hit the 100 request limit. For example if I hit my 100 limit at 4:00 PM then the reset time is 5:00PM. If I check this at 4:45PM it then states the reset time is 5:45PM. It seems to happen for a couple of times before stopping. Is this known behavior? Thanks, Rhys -- Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x -- Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x
Re: rate_limit_status
On Dec 18, 10:53 am, rhysmeister therhysmeis...@hotmail.com wrote: HI, I've recently noticed that calls to the rate_limit_status seem to extend my reset time by exactly one hour after I have hit the 100 request limit. For example if I hit my 100 limit at 4:00 PM then the reset time is 5:00PM. If I check this at 4:45PM it then states the reset time is 5:45PM. It seems to happen for a couple of times before stopping. Is this known behavior? Thanks, Rhys I've had similar troubles. I haven't been able to log in via API for a few days, but was unaware that there may be a connection to checking my rate_limit_status. I was under the impression that using a web browser did not affect my reset time. http://twitter.com/mike_white The no API thing is really bumming me out.
Re: rate_limit_status
On Dec 18, 11:07 am, Ed Finkler funkat...@gmail.com wrote: The web site does not affect API limits. Your account may have another issue if it's been blocked for this long. -- That's what I was afraid of. I've been tracking it over here; http://getsatisfaction.com/twitter/topics/apis_over_used_so_no_twirl_paused_for_5_min_but_it_has_been_paused_for_3_days?utm_medium=widgetutm_source=widget_twitter But with no resolution so far.