[twitter-dev] Re: Retweet streams have been frozen for 2 weeks
Yep mine too, the ReTweeted by others stream on my account hasn't been updated since 17th November. The others are OK though On Nov 29, 6:53 am, Zac Bowling zbowl...@gmail.com wrote: The retweet streams have been frozen for 2 weeks. See here:http://twitpic.com/rfcjv I thought it was just me, but a coworker is seeing this as well. Don't need this for dev but it would be nice to know what is going on. The pages take a long time to load and then show that above. I wonder if something is failing and just returning some kind of cache maybe? Don't know. A quick search on twitter shows I'm not alone:http://twitter.com/#search?q=retweets%20by%20others Zac Bowling
[twitter-dev] Re: Retweet streams have been frozen for 2 weeks
I forwarded this thread to the engineers who developed the ReTweet feature. On Nov 29, 12:34 am, Rich rhyl...@gmail.com wrote: Yep mine too, the ReTweeted by others stream on my account hasn't been updated since 17th November. The others are OK though On Nov 29, 6:53 am, Zac Bowling zbowl...@gmail.com wrote: The retweet streams have been frozen for 2 weeks. See here:http://twitpic.com/rfcjv I thought it was just me, but a coworker is seeing this as well. Don't need this for dev but it would be nice to know what is going on. The pages take a long time to load and then show that above. I wonder if something is failing and just returning some kind of cache maybe? Don't know. A quick search on twitter shows I'm not alone:http://twitter.com/#search?q=retweets%20by%20others Zac Bowling
[twitter-dev] Long String Signing
Hi All I'm battling with the oauth stuff, but it looks like my HMAC-SHA1 hashing does not generate the right strings for long input strings. Eg: I enter the following: Normalised Parameters: oauth_consumer_key=keyoauth_nonce=1112009295818146IJ2592BY08TKD28W8IHG5179oauth_signature_method=HMAC- SHA1oauth_timestamp=1259521081oauth_version=1.0 And my string to sign is: GEThttp%3A%2F%2Fterm.ie%2Foauth%2Fexample %2Frequest_token.phpoauth_consumer_key%3Dkey%26oauth_nonce %3D1112009295818146IJ2592BY08TKD28W8IHG5179%26oauth_signature_method %3DHMAC-SHA1%26oauth_timestamp%3D1259521081%26oauth_version%3D1.0 I generate a hash 8B0E9AFC15E265C49A687F7FC0C389A1F0B791C3 but the online one says it should be uyvprElXXCt+KgZ8VCUhPt8FJN0=This is much shorter than mine. I've tested the script on short data strings and it gives the right answer. 1. Is my string above correct for hashing and generating a signature? 2. The just before the oauth_consumer_key should be a ? (question mark) on windows servers. Does this have to be ? or a ? 3. Does anyone have examples of correct strings to hash and the correct signature? Best regards Andre
Re: [twitter-dev] Re: oauth Process flow and status Part 1
Hi Raffi I think I have identified something with the SHA-1 hashing that is giving me the error. So I have to look at something else.. I had a look at the code and it seems to work well. How do I incorporate it into a website so that I can click a link to send the person to the Twitter Authentication screen? I would like to use a standard link if possible but I am sure some people will also want to use a button. Would it be something like this? form name=request input type=hidden name=httpMethod value=GET input type=hidden name=URL value=http://twitter.com/oauth/request_token; input type=hidden name=parameters value= input type=hidden name=oauth_version value=1.0 input type=hidden name=oauth_consumer_key value=e4fuewo1MnWcfyg3Jd8TR input type=hidden name=consumerSecret value=Hpwz23... swU input type=hidden name=oauth_signature_method value=HMAC-SHA1 input type=hidden name= value= tr tdinput type=button value=Sign onClick=sign(document.request)//td /tr /form Best regards Andre On Fri, Nov 27, 2009 at 6:58 PM, Raffi Krikorian ra...@twitter.com wrote: this is my favorite javascript oauth library - http://oauth.googlecode.com/svn/code/javascript/ - its pretty well written, and could be ported relatively easily. The OAuth spec has an example. However it's included as an appendix, so it's not really highlighted http://oauth.net/core/1.0#anchor30 This is an example of a string to encode GEThttp%3A%2F%2Fphotos.example.net%2Fphotosfile%3Dvacation.jpg%26oauth_consumer_key%3Ddpf43f3p2l4k3l03%26oauth_nonce%3Dkllo9940pd9333jh%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1191242096%26oauth_token%3Dnnch734d00sl2jdk%26oauth_version%3D1.0%26size%3Doriginal Getting everything ordered, the right things URL encoded and then concatenated is tedious but it's all pretty straightforward. There are implementations in JavaScript, so I'd imagine a pure ASP version wouldn't be impossible. ---Mark Classic ASP? You may in for a rough road. It not just an encoded URL. You have to generate a signature for the URL using some algorithms that may not be easily implemented in ASP. I'm not saying it's impossible. Why classic ASP? Hi I've found a test site that gives feedback to what the error is athttp://term.ie/oauth/example/ My error is that the signature is incorrect. What must the string look like that needs to be signed? I've tested my script and I know it encodes correctly if you give it the right information. Can someone please post a copy of the string that is sent to be encoded. Best regards Andre Classic ASP Andre, Are you sure there isn't already an OAuth library out there that will work for you? What language are you developing in? --Duane Thank you for the help. I'm still trying to get the first part to work... 1. The first step in the process, you will make a GET request to http://twitter.com/oauth/request_token;. In this request, you will need the following parameters in this specific order: oauth_consumer_key oauth_nonce oauth_signature_method oauth_timestamp oauth_version oauth_signature What string do I sign? The whole URL? Eg: oauth_consumer_key=2FuDFffo1MnWkw9g2JK7621HAoauth_nonce=1112009260947V57BU QK06I7H1BL88VBR65VT2oauth_signature_method=HMAC- SHA1oauth_timestamp=1259226047oauth_version=1.0 or http://twitter.com/oauth/request_token?oauth_consumer_key=2FuDFffo1Mn... When do I UTF-8 encode? Before signing or after signing? Same with the posting? What do i post and when do I UTF-8 encode? Best regards Andre The signature has to go last. That's one mistake that most people make. You are suppose to put the parameters in order EXCEPT the signature parameter. The signature parameter is created by using the other parameters, then it's appended to the end of the query string. The OAuth signature is generated. I made a blog post where I tried to explain it a little better than the documentation does. It's for .Net for the desktop, but the process is the same for any language, and only slightly different for web applications. http://eclipsed4utoo.com/blog/net-twitter-desktop-oauth-authentication/ Hi All I am trying to get my head around the Twitter oauth flow. The twitter documentation links to oauth.net for parameters, but these are general and not well documented. Is the first step to usehttp://twitter.com/oauth/request_token? 1. I created the following URL: http://twitter.com/oauth/request_token?oauth_consumer_key=3Uu...1HAo... When I put this in a browser to test it, I get the following error: Failed to validate oauth signature and token 1. What is wrong with the string? - Is the oauth_signature just your Consumer secret string? - Do I have to use oauth_signature_method and what method do I use. If it is sha1, what string do I hash? The whole URL? Do I POST the data tohttp://twitter.com/oauth/request_tokenorGETor what? Best
[twitter-dev] TwitterVB 2.0 Release
I am pleased to announce the release of TwitterVB 2.0, a .NET library for Twitter applications. The newest version of the library includes several important features: - OAuth for web applications - TwitPic support - TweetPhoto support - URL Shortener support TwitterVB includes comprehensive API documentation, and is free to use. You can check it out at http://TwitterVB.codeplex.com. TwitterVB is 100% Visual Basic.NET. Many thanks to all of the members of this group who have helped me turn TwitterVB from an idea into a reality.
[twitter-dev] Geo-enabled but only geo/ in xml
Hi there, I'm confused by the apparent status of geotagging in twitter. The API documentation only mentions it for status update and advice on geo-enabling in applications. So I enabled this on my profile and so am seeing the geo_enabledtrue/geo_enabled when using 'twitter.com/statuses/ user_timeline.xml' with basic authentication. But. There is pnly a single empty geo/ tag in the XML, no actual data at all. Does anyone know what is happening? Many Thanks, Chris.
Re: [twitter-dev] Geo-enabled but only geo/ in xml
the geotag needs to be passed in explicitly by the application doing the update http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0update Hi there, I'm confused by the apparent status of geotagging in twitter. The API documentation only mentions it for status update and advice on geo-enabling in applications. So I enabled this on my profile and so am seeing the geo_enabledtrue/geo_enabled when using 'twitter.com/statuses/ user_timeline.xml' with basic authentication. But. There is pnly a single empty geo/ tag in the XML, no actual data at all. Does anyone know what is happening? Many Thanks, Chris. -- Raffi Krikorian Twitter Platform Team ra...@twitter.com | @raffi
[twitter-dev] Re: Geo-enabled but only geo/ in xml
HI there Raffi, below is a snippet of the home_timeline.XML (the last 8 lines for the status element). ... statuses_count317/statuses_count notificationsfalse/notifications geo_enabledtrue/geo_enabled verifiedfalse/verified followingfalse/following /user geo/ /status The update was added from twitter.com, so if the site itself doesn't supply the data, would you know which clients are populating geo data at this time? Kind Rgds, Chris. On Nov 29, 6:55 pm, Raffi Krikorian ra...@twitter.com wrote: the geotag needs to be passed in explicitly by the application doing the update http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0u... Hi there, I'm confused by the apparent status of geotagging in twitter. The API documentation only mentions it for status update and advice on geo-enabling in applications. So I enabled this on my profile and so am seeing the geo_enabledtrue/geo_enabled when using 'twitter.com/statuses/ user_timeline.xml' with basic authentication. But. There is pnly a single empty geo/ tag in the XML, no actual data at all. Does anyone know what is happening? Many Thanks, Chris. -- Raffi Krikorian Twitter Platform Team ra...@twitter.com | @raffi
Re: [twitter-dev] Re: Geo-enabled but only geo/ in xml
from http://blog.twitter.com/2009/11/think-globally-tweet-locally.html birdfeed - http://birdfeedapp.com/ foursquare - http://foursquare.com/ gowalla - http://gowalla.com/ twitdroid - http://twidroid.com/ twitterlator pro - http://j.mp/twitpro and seesmic web (http://www.seesmic.com/app) is set up to consume the data. HI there Raffi, below is a snippet of the home_timeline.XML (the last 8 lines for the status element). ... statuses_count317/statuses_count notificationsfalse/notifications geo_enabledtrue/geo_enabled verifiedfalse/verified followingfalse/following /user geo/ /status The update was added from twitter.com, so if the site itself doesn't supply the data, would you know which clients are populating geo data at this time? Kind Rgds, Chris. On Nov 29, 6:55 pm, Raffi Krikorian ra...@twitter.com wrote: the geotag needs to be passed in explicitly by the application doing the update http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses %C2%A0u... Hi there, I'm confused by the apparent status of geotagging in twitter. The API documentation only mentions it for status update and advice on geo-enabling in applications. So I enabled this on my profile and so am seeing the geo_enabledtrue/geo_enabled when using 'twitter.com/statuses/ user_timeline.xml' with basic authentication. But. There is pnly a single empty geo/ tag in the XML, no actual data at all. Does anyone know what is happening? Many Thanks, Chris. -- Raffi Krikorian Twitter Platform Team ra...@twitter.com | @raffi -- Raffi Krikorian Twitter Platform Team ra...@twitter.com | @raffi
[twitter-dev] Re: Trying to trouble shoot DELETE list members with the Twitter gem.
If anyone is still having this problem you should know pengwynn patched this today in 0.7.7 http://github.com/jnunemaker/twitter On Nov 29, 11:04 am, Michael magic6...@gmail.com wrote: Hey mark thanks for the reply. I'm going to give it a shot today On Nov 28, 4:53 pm, Mark McBride mmcbr...@twitter.com wrote: Actually, adding it to :headers isn't going to do what you want at all. Best bet seems to be to patch the gem to issue a POST request along with _method = DELETE ---Mark On Sat, Nov 28, 2009 at 1:26 PM, Mark McBride mmcbr...@twitter.com wrote: This is the twitter gem athttp://github.com/jnunemaker/twitter? The problem seems to be that the list_remove_member in base.rb is trying to pass parameters in with :body in the last hash def list_remove_member(list_owner_username, slug, id) perform_delete(/#{list_owner_username}/#{slug}/members.json, :body = {:id = id}) end However perform_delete in request.rb completely ignores this option def perform_delete send(:delete, uri, options[:headers]) end You might try adding :headers = {:_method = DELETE} to your call, but the best path seems to be to get the gem fixed up. ---Mark On Sat, Nov 28, 2009 at 10:20 AM, Michael magic6...@gmail.com wrote: I have given up with trying to make it work with DELETE and tired sending _method=DELETE along with the body.. no success. i get Unauthorized - Incorrect signature Any ideas? On Nov 28, 12:13 am, Michael magic6...@gmail.com wrote: I know that i should post on the Twitter gem group(and i have) but that place is dead and also i think my problem is not with the gem but understanding how the oauth and REST works. I could be looking down the wrong path tho seeing as how i kinda feel like Alice down the rabbit hole. Everything dealing with lists works on the twitter gem but one thing and that's list_remove_user which is using the DELETE list members API. Now when i use it as planned i get this error. Twitter::RateLimitExceeded: (400): Bad Request - You must specify a member Which is the same error you get if you use the api via curl and leave off the id http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-DELETE-list-mem... It has nothing to do with the rate limit. twitter gem just returns all 400's as a ratelimitexceded. There is no rate limit for adding and removing list items and also my account is whitelisted. Then i moved on and noticed that the delete method was only passing the uri and header options meanwhile post and put had an extra body option. def perform_post send(:post, uri, options[:body], options[:headers]) end def perform_delete send(:delete, uri, options[:headers]) end From that i assumed that the id that gets passed for the users id must be inside of the options[:body] and that's why twitter was telling me You must specify a member When oauth gem creates the url's to query it does it like so and once again they do not include body def post(path, body = '', headers = {}) request(:post, path, body, headers) end def delete(path, headers = {}) request(:delete, path, headers) end But that all blows up when i add body to delete. So after all of this i guess what I'm wondering is.. is there something to do with oauth and REST that will not let you pass along extra params and do i need to look into using a POST method and passing _method=DELETE. I have not tried that yet because i have no idea how to attempt that in the confines of ruby using oauth. thanks for any help, this is driving me nuts. Mike.
[twitter-dev] Twitter API Library Popularity Poll
I created a simple popularity poll for Twitter API Libraries. Why? Simple curiosity on what everyone is using. Please only fill it out once, and only select libraries you use in actual production code. Take the poll here: http://bit.ly/5sFfZc I'll share the results.
[twitter-dev] Oauth authentication just run in IE .. Why?
I'm doing Oauth authentication for my application and it run's well in IE. When i change to Firefox, Safari or Opera this error appears [Exception... Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send] nsresult: 0x80004005 (NS_ERROR_FAILURE) location: JS frame :: when I'm sending the tokens for application. Why this append? thanks for the help.. best regards, Daniel
Re: [twitter-dev] Oauth authentication just run in IE .. Why?
is this a cross domain ajax request issue? I'm doing Oauth authentication for my application and it run's well in IE. When i change to Firefox, Safari or Opera this error appears [Exception... Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send] nsresult: 0x80004005 (NS_ERROR_FAILURE) location: JS frame :: when I'm sending the tokens for application. Why this append? thanks for the help.. best regards, Daniel -- Raffi Krikorian Twitter Platform Team ra...@twitter.com | @raffi
Re: [twitter-dev] Oauth authentication just run in IE .. Why?
Yes, it is. I'm using this Oauth API http://oauth.googlecode.com/svn/code/javascript/oauth.js 2009/11/29 Raffi Krikorian ra...@twitter.com is this a cross domain ajax request issue? I'm doing Oauth authentication for my application and it run's well in IE. When i change to Firefox, Safari or Opera this error appears [Exception... Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send] nsresult: 0x80004005 (NS_ERROR_FAILURE) location: JS frame :: when I'm sending the tokens for application. Why this append? thanks for the help.. best regards, Daniel -- Raffi Krikorian Twitter Platform Team ra...@twitter.com | @raffi -- Cumprimentos, Daniel Silva
Re: [twitter-dev] Re: Geo-enabled but only geo/ in xml
And as of today, Tweetie 2.1. ---Mark On Sun, Nov 29, 2009 at 11:29 AM, Raffi Krikorian ra...@twitter.com wrote: from http://blog.twitter.com/2009/11/think-globally-tweet-locally.html birdfeed - http://birdfeedapp.com/ foursquare - http://foursquare.com/ gowalla - http://gowalla.com/ twitdroid - http://twidroid.com/ twitterlator pro - http://j.mp/twitpro and seesmic web (http://www.seesmic.com/app) is set up to consume the data. HI there Raffi, below is a snippet of the home_timeline.XML (the last 8 lines for the status element). ... statuses_count317/statuses_count notificationsfalse/notifications geo_enabledtrue/geo_enabled verifiedfalse/verified followingfalse/following /user geo/ /status The update was added from twitter.com, so if the site itself doesn't supply the data, would you know which clients are populating geo data at this time? Kind Rgds, Chris. On Nov 29, 6:55 pm, Raffi Krikorian ra...@twitter.com wrote: the geotag needs to be passed in explicitly by the application doing the update http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0u... Hi there, I'm confused by the apparent status of geotagging in twitter. The API documentation only mentions it for status update and advice on geo-enabling in applications. So I enabled this on my profile and so am seeing the geo_enabledtrue/geo_enabled when using 'twitter.com/statuses/ user_timeline.xml' with basic authentication. But. There is pnly a single empty geo/ tag in the XML, no actual data at all. Does anyone know what is happening? Many Thanks, Chris. -- Raffi Krikorian Twitter Platform Team ra...@twitter.com | @raffi -- Raffi Krikorian Twitter Platform Team ra...@twitter.com | @raffi
Re: [twitter-dev] 401 API Authentication Error
The switch from 2018 back to 2009 shouldn't matter. However if your clock is behind, we will reject requests. Is the current clock synced with NTP and on the correct time zone? ---Mark On Sat, Nov 28, 2009 at 9:32 PM, JDG ghil...@gmail.com wrote: That's my first bet -- the oauth_timestamps you used when your date is 2018 are newer than the ones you're using now, and that would probably return invalid timestamp / nonce errors. On Sat, Nov 28, 2009 at 16:34, Raffi Krikorian ra...@twitter.com wrote: that's intriguing - but you'll have to provide a lot more information: are you using oauth, or basic auth? what endpoints are you calling when you are getting the error? Hi We have a program that uses the Twitter API that we wrote and it (used to) work fine but recently we had to change the computer date we were calling our program from to 2018 instead of 2009 - this was done as a temporary test for another application we were running on that same computer unrelated to Twitter. Anyway, after we changed the date to 2018 - the Twitter API program still ran OK but when we then put the date back to 2009 our Twitter program wont run and is now reporting the following. The remote server returned an error: (401) Unauthorized. But when we switch back to 2018 ..it runs fine. Can anyone shed some light on thsi please ? Is ther some date related switch we are missing in our Twitter program ? Thanks ! -- Raffi Krikorian Twitter Platform Team ra...@twitter.com | @raffi -- Internets. Serious business.
Re: [twitter-dev] Oauth authentication just run in IE .. Why?
i think that's the problem - you can't make an ajax request to a server that is not hosting the HTML/Javascript that you are loading in the browser (look for same origin policy). it may be possible to do it using jsonp, but i haven't tried it myself. Yes, it is. I'm using this Oauth API http://oauth.googlecode.com/svn/code/javascript/oauth.js is this a cross domain ajax request issue? I'm doing Oauth authentication for my application and it run's well in IE. When i change to Firefox, Safari or Opera this error appears [Exception... Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send] nsresult: 0x80004005 (NS_ERROR_FAILURE) location: JS frame :: when I'm sending the tokens for application. Why this append? thanks for the help.. best regards, Daniel -- Raffi Krikorian Twitter Platform Team ra...@twitter.com | @raffi
[twitter-dev] Retweets of a given tweet limited to 20 items
Hi all, despite of the fact that the documentation says it's possible to get up to 100 retweets for a given tweet (http://apiwiki.twitter.com/ Twitter-REST-API-Method%3A-statuses-retweets), I get only 20 retweets when I call the API method, even if the given tweet has a lot of retweets as it's seen on the Web. Is it a issue? Do we need paging/cursoring, even if there's no info in the reply? Thank you in advance.
[twitter-dev] Re: Background images on a0.twimg.com giving access denied
Has this been fixed yet... I have this problem also :) On Nov 5, 4:20 pm, Marcel Molina mar...@twitter.com wrote: To follow up I've been told that this is the most critical bug they are working on right now. So it's being worked on. I'll pass along updates as provided. On Wed, Nov 4, 2009 at 1:57 PM, Marcel Molina mar...@twitter.com wrote: Thanks for reporting this. I've forwarded this to the team responsible for the S3 uploading. On Wed, Nov 4, 2009 at 10:28 AM, Kevin kevinh...@gmail.com wrote: We are uploading Twitter backgrounds via the API. We noticed today new attempts to upload seem to be successful, but the profiles show no background image. Looking at the page source, it shows a new background image URL: background: ... url('http://a0.twimg.com/profile_background_images/ bg12573586264055.jpg') ...; However, opening that URL returns an error: ?xml version=1.0 encoding=UTF-8? ErrorCodeAccessDenied/CodeMessageAccess Denied/ MessageRequestId20FB3BC5AEC2A2D5/RequestIdHostIdKheAYU8E/puKx +qm5jtF9YeLLfc/NHcoCr6q2iOWZy2OR3tbtouA3Fo5aTrHUrZn/HostId/Error It would appear Twitter is not adding the S3 access key query string to these background image URLs, or the images are being put into S3 as private items. Hope to see a fix soon. Regards, Kevin Hunt Bubble Fusion Labs -- Marcel Molina Twitter Platform Team http://twitter.com/noradio -- Marcel Molina Twitter Platform Teamhttp://twitter.com/noradio
[twitter-dev] Re: Background images on a0.twimg.com giving access denied
never mind problem resolved ;) '@image' = @{$file};type=image/png notice the ;type=image/png On Nov 29, 7:28 pm, creative i...@s-k-b.net wrote: Has this been fixed yet... I have this problem also :) On Nov 5, 4:20 pm, Marcel Molina mar...@twitter.com wrote: To follow up I've been told that this is the most critical bug they are working on right now. So it's being worked on. I'll pass along updates as provided. On Wed, Nov 4, 2009 at 1:57 PM, Marcel Molina mar...@twitter.com wrote: Thanks for reporting this. I've forwarded this to the team responsible for the S3 uploading. On Wed, Nov 4, 2009 at 10:28 AM, Kevin kevinh...@gmail.com wrote: We are uploading Twitter backgrounds via the API. We noticed today new attempts to upload seem to be successful, but the profiles show no background image. Looking at the page source, it shows a new background image URL: background: ... url('http://a0.twimg.com/profile_background_images/ bg12573586264055.jpg') ...; However, opening that URL returns an error: ?xml version=1.0 encoding=UTF-8? ErrorCodeAccessDenied/CodeMessageAccess Denied/ MessageRequestId20FB3BC5AEC2A2D5/RequestIdHostIdKheAYU8E/puKx +qm5jtF9YeLLfc/NHcoCr6q2iOWZy2OR3tbtouA3Fo5aTrHUrZn/HostId/Error It would appear Twitter is not adding the S3 access key query string to these background image URLs, or the images are being put into S3 as private items. Hope to see a fix soon. Regards, Kevin Hunt Bubble Fusion Labs -- Marcel Molina Twitter Platform Team http://twitter.com/noradio -- Marcel Molina Twitter Platform Teamhttp://twitter.com/noradio
[twitter-dev] Inconsistency between web and API when viewing account blocking you
(S)omeone blocks (Y)ou. Web === If you are logged in as Y and go to http://twitter.com/S, you get no indication that you are blocked, being able to view S's timeline, etc. API === When accessing S's timeline using /statuses/user_timeline/S.xml authenticated as Y, however, you get a 401/Not Authorized. A) Besides 401 having overloaded meanings (wrong credentials. it can also mean S has been deleted [1]), so we can't tell what is wrong, B) It is also inconsistent. Should Y be allowed to view S's timeline (web) or not (API)? [1] http://code.google.com/p/twitter-api/issues/detail?id=1226 [2] Also reported at http://code.google.com/p/twitter-api/issues/detail?id=1243 -- Hwee-Boon
[twitter-dev] Re: Retweets of a given tweet limited to 20 items
I haven't run into this issue yet, but have you tried the count parameter? -John Kalucki http://twitter.com/jkalucki Services, Twitter Inc. On Nov 29, 3:58 pm, Salvo Scellato salvo.scell...@gmail.com wrote: Hi all, despite of the fact that the documentation says it's possible to get up to 100 retweets for a given tweet (http://apiwiki.twitter.com/ Twitter-REST-API-Method%3A-statuses-retweets), I get only 20 retweets when I call the API method, even if the given tweet has a lot of retweets as it's seen on the Web. Is it a issue? Do we need paging/cursoring, even if there's no info in the reply? Thank you in advance.
[twitter-dev] Re: Twitter login with Flex
As long as you are building an AIR app you are okay, but if you're working in Flex and intending to put the result online somewhere, it's not going to work. This is due to Twitter's unfortunate ongoing blocking of Flash apps by using a restrictive crossdomain.xml policy. There is no way right now for a Flash application to make requests of anything other than the search API, unless you use a proxy, which is very lame. Here are some recent threads discussing crossdomain issues with the API: http://groups.google.com/group/twitter-development-talk/browse_frm/thread/d3230be66c27c88e/b25653be788942c9?lnk=gstq=crossdomain#b25653be788942c9 http://groups.google.com/group/twitter-development-talk/browse_frm/thread/4adf2a0297ce052d/e6831b2340a30478?lnk=gstq=crossdomain#e6831b2340a30478 http://groups.google.com/group/twitter-development-talk/browse_frm/thread/e35a708400b529b3/4eec7a31e269c030?lnk=gstq=crossdomain#4eec7a31e269c030 On Nov 26, 9:31 pm, Wilfred yau wld991...@gmail.com wrote: I think you are using Basic Auth to login, but it don't work well in Flex, you should try to use OAuth that have better support on Flex. any you can use some library to help you finish the project:http://code.google.com/p/tweetr/http://code.google.com/p/oauth-as3/ sample code is including in the library. On Nov 26, 9:27 pm, Jef aerts...@gmail.com wrote: Hey guys I'm building an application for a school project where I should be able to do everything you can on Twitter.com, but make it accessible on the desktop (AIR project) But I have absolutely no clue how I can login as a user and update my status. I've looked at the API documentation, but so far it's been nothing but Chinese to me :P Retrieving search information and other timelines is no problem though, it's just the status update part that's been bothering me :D I'd love to get some help on this. Thanks in advance! Jef
Re: [twitter-dev] Long String Signing
The online one is giving you a base 64 encoded value (which should be used). The string you gave (8B0E9AFC15E265C49A687F7FC0C389A1F0B791C3) looks like it's a hex representation of a byte array. Can you try to base 64 encode that and see if there are differences? ---Mark On Sun, Nov 29, 2009 at 9:13 AM, abruton andrebru...@gmail.com wrote: Hi All I'm battling with the oauth stuff, but it looks like my HMAC-SHA1 hashing does not generate the right strings for long input strings. Eg: I enter the following: Normalised Parameters: oauth_consumer_key=keyoauth_nonce=1112009295818146IJ2592BY08TKD28W8IHG5179oauth_signature_method=HMAC- SHA1oauth_timestamp=1259521081oauth_version=1.0 And my string to sign is: GEThttp%3A%2F%2Fterm.ie%2Foauth%2Fexample %2Frequest_token.phpoauth_consumer_key%3Dkey%26oauth_nonce %3D1112009295818146IJ2592BY08TKD28W8IHG5179%26oauth_signature_method %3DHMAC-SHA1%26oauth_timestamp%3D1259521081%26oauth_version%3D1.0 I generate a hash 8B0E9AFC15E265C49A687F7FC0C389A1F0B791C3 but the online one says it should be uyvprElXXCt+KgZ8VCUhPt8FJN0= This is much shorter than mine. I've tested the script on short data strings and it gives the right answer. 1. Is my string above correct for hashing and generating a signature? 2. The just before the oauth_consumer_key should be a ? (question mark) on windows servers. Does this have to be ? or a ? 3. Does anyone have examples of correct strings to hash and the correct signature? Best regards Andre
[twitter-dev] Extraordinary needs for source parameter registration
Hi develop team, I am the developer of Twigee which is a twitter client for android platform. I understand that the source parameter could be registered using OAuth. But, there are some reasons I still would like to request a source parameter. 1. The oauth pages are blocked in some countries such as China, and most of my users are come from China. OAuth might not work when my app needs to grant the access from twitter page in oauth request progress. 2. I would like to keep various login methods for my app because it is based on mobile phone and the basic authentication will be easy for users. Please understand my situation and I am looking forward to geting the approval from your side. Thanks in advance. My app's name is Twigee and the soruce is http://www.twigee.com Thanks.
[twitter-dev] Twitter Search is timing out using a specific query.
I am getting a timeout error when searching from the api and from the twitter search page. This query works fine: http://bit.ly/5Tyvex source:ShopperTalk but this does not: http source:ShopperTalk or this does not: bit.ly source:ShopperTalk I'm new, should I not be trying a search like the ones that are failing? I'm trying to get all tweets that come from my application, is there a better way? Thanks, Jim
Re: [twitter-dev] Unable to access private list statuses
Hi, Thanks for the reply. I am the creator of the list and I am providing the authentication information too. Thanks Kiran On 27-Nov-09, at 10:49 PM, Mark McBride wrote: Are you authenticating when making the call to a private list? If you aren't authenticated as the creator of a private list you will get a 404 on this call. ---Mark On Fri, Nov 27, 2009 at 2:09 AM, Kiran dispatchtoki...@gmail.com wrote: Hi, I have been using twitter API from the fast few months in numerous iPhone Apps. I just started using lists in one of my apps and facing problems with private lists. Able to get response for public lists successfully and getting Not found error for private lists. I have two lists test and private which are public and private respectively. When I try to get public list statuses I am getting the response. For private list it is giving this error Request : http://api.twitter.com/1/CliqueDemo/lists/private/statuses.xml Response: ?xml version=1.0 encoding=UTF-8? hash request/1/CliqueDemo/lists/private/statuses.xml/request errorNot found/error /hash Am I doing something wrong or need to do something more for private lists ?. Thanks in advance for the help. Regards Kiran