[twitter-dev] Home tweets count
Dear Twitter, I have developed a twitter client in C. I have 1 question about home tweet url response. I need total home tweet count from its response. How to get total home tweet count?. Is it possible. How? Could you please help me. Regards, George -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: How to tell an item is a re-tweet?
I am having the exact same problem. First of all home_timeline method does not include retweets made by you and on top of that it does not include whether a particular tweet has been retweeted or not. It is confusion for the end user. User will try to retweet and he will get a error message. But it will better if user knows whether he can retweet a particular tweet or not On Sep 29, 1:18 am, tm0054 tm0...@gmail.com wrote: I'm wondering the exact same thing. One would thing the 'retweet' field would indicate this but it is false all the time for me too regardless if a post has been retweeted or not. It would be very confusing to the end user if they still have the ability to retweet a post that they've already retweeted. On Sep 20, 2:01 pm, Matei mad.doroba...@gmail.com wrote: Hi all, I'm trying to implement similar functionality to the home timeline on twitter where re-tweets appear as such and you have the option of undoing it. The trouble is I cannot tell if a status is a re-tweet or not. Statuses on the home timeline appear to include a re-tweeted parameter but it is always false regardless of the fact I've re- tweeted that item. Can anybody offer some insight on how to do this? Cheers, Matei -- 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: Status Update - Error - 500 Internal Server Error
Hi, Finally fixed. I missed URLEncode the signature in Authorization header. FYI, this signature part is not required to be sent as part of Authorization header when we use any GET request. Thanks, Anandhev On Mon, Oct 25, 2010 at 5:35 PM, Anandhev anand...@gmail.com wrote: Hi, I get the error while sending Status Update request. Details are shown below. Sometimes, I get proper responses when i exclude Authorization signature . But most of the time, I get the following error. My request and response is attached. Kindly help us to fix this issue. Thanks, --Request POST /1/statuses/update.xml?status=success HTTP/1.1 Content-Type: application/x-www-form-urlencoded Authorization: OAuth realm=Twitter API,oauth_version=1.0,oauth_nonce=981E91F,oauth_timestamp=1288007529,oauth_signature_method=HMAC- SHA1,oauth_consumer_key=7vMm4YKEgAWhLCkkvpjchA,oauth_consumer_secret=BX4LciPyn0czUKvQXQWhy7YUyzGqywqFO9UclJ5mX0,oauth_token=146432631- AsYHO57Hyrh1m94f6DQhUkWsR8LMtTHlznHCWJ7C,oauth_token_secret=ZJpq4ZtIb9iODytUHGUHBwC5pnVQXhkEcIX8b58I1A,oauth_signature=FyoCCQwsu5XZHR09Dx6fV2Oh +uw= Host: api.twitter.com Content-Length: 0 Connection: Keep-Alive --Response HTTP/1.1 500 Internal Server Error Date: Mon, 25 Oct 2010 11:54:56 GMT Server: hi Status: 500 Internal Server Error Content-Type: text/html; charset=utf-8 Content-Length: 4659 Cache-Control: no-cache, max-age=300 Set-Cookie: k=122.165.69.143.1288007695731989; path=/; expires=Mon, 01- Nov-10 11:54:55 GMT; domain=.twitter.com Set-Cookie: guest_id=128800769629662265; path=/; expires=Wed, 24 Nov 2010 11:54:56 GMT Set-Cookie: _twitter_sess=BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo %250ASGFzaHsABjoKQHVzZWR7AA%253D %253D--1164b91ac812d853b877e93ddb612b7471bebc74; domain=.twitter.com; path=/ Expires: Mon, 25 Oct 2010 11:59:55 GMT Vary: Accept-Encoding Connection: close -- 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: Invalid / expired Token error message when trying to update status
I shall try creating another application - there are no other differences between the two scripts, other than the account. Thanks J On Oct 25, 4:02 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: If you create an alternate application with the same account, issue access tokens for that account, and perform the same test -- does everything work fine? We've seen some cases where an API key becomes poison but have not yet been able to determine the cause or a solution. Are there any other environmental differences? Taylor On Sat, Oct 23, 2010 at 3:23 PM, angelsk goo...@jocarter.co.uk wrote: I'm using the OAuth token and secret provided in my application settings for My OAuth Token - this is a personal twitter posting cron job. I have exactly the same code in another implementation posting to another twitter account which is working fine. However, when I try and update the status of my main account 'angelsk', I get Invalid / expired Token. Any help would be great. I've tried: * Re-copying and pasting the access token / secret and consumer key / secret * De-authorising the application on my Connections page and revisiting the application page to get a new token Still no luck. J -- 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: Invalid / expired Token error message when trying to update status
Fixed, thanks On Oct 27, 10:00 am, angelsk goo...@jocarter.co.uk wrote: I shall try creating another application - there are no other differences between the two scripts, other than the account. Thanks J On Oct 25, 4:02 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: If you create an alternate application with the same account, issue access tokens for that account, and perform the same test -- does everything work fine? We've seen some cases where an API key becomes poison but have not yet been able to determine the cause or a solution. Are there any other environmental differences? Taylor On Sat, Oct 23, 2010 at 3:23 PM, angelsk goo...@jocarter.co.uk wrote: I'm using the OAuth token and secret provided in my application settings for My OAuth Token - this is a personal twitter posting cron job. I have exactly the same code in another implementation posting to another twitter account which is working fine. However, when I try and update the status of my main account 'angelsk', I get Invalid / expired Token. Any help would be great. I've tried: * Re-copying and pasting the access token / secret and consumer key / secret * De-authorising the application on my Connections page and revisiting the application page to get a new token Still no luck. J -- 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] Does it affect the existing iphone app on appStore if we change Twitter application Default Access type?
Hi I created the new application in Twitter enabled xAuth support for the same. Previously the application Default Access type was read only. Using the consumer key secret I made my iphone application it is now on app store. Now i want to change Default Access type to read-write mode, as read only application cannot use POST method. [i.e. while using method statuses/update to post new tweet i am getting response as : error : Read-only application cannot POST So I want to change Default Access type to read-write. My question is that if i perform above change will it affect my current app users ? As i afraid that doing so will change my consumer key secret (May be) (using which i created app used for app store.) ??? -- 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] Does it affect the existing iphone app on appStore if we change Twitter application Default Access type?
When you change an application from read-only mode to read-write mode, it only effects access tokens created after you've made the switch. So if you want write priviledges for any existing access tokens, you'll have to re-negotiate them. Taylor On Wed, Oct 27, 2010 at 2:58 AM, Niraj Joshi joshi.niraj...@gmail.comwrote: Hi I created the new application in Twitter enabled xAuth support for the same. Previously the application Default Access type was read only. Using the consumer key secret I made my iphone application it is now on app store. Now i want to change Default Access type to read-write mode, as read only application cannot use POST method. [i.e. while using method statuses/update to post new tweet i am getting response as : error : Read-only application cannot POST So I want to change Default Access type to read-write. My question is that if i perform above change will it affect my current app users ? As i afraid that doing so will change my consumer key secret (May be) (using which i created app used for app store.) ??? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: Entities display_url and expanded_url
Is the expanded_url field only intended to be present for t.co- shortened links, or will it be extended to work with bit.ly and other services? Afaik it's only for t.co. To get bit.ly and other shortend url's resolved I use http://long-shore.com/ They have a convenient easy-to-use api -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
Re: [twitter-dev] De-duplicating Site Streams
Quoting Marc Mims marc.m...@gmail.com: De-duplicating statuses in the Streaming API is fairly straightforward. But with Site Streams, where a single status might be received multiple times for multiple mentioned users, and/or as favorites, it is a bit more difficult. I'm wondering if anyone can offer advice on an efficient method for de-duplicating Site Streams. -Marc If you're talking about building something massively scalable for some value of massive, you're getting into the realm of NoSQL databases. I *think* Cassandra has a Perl interface but I haven't looked at it recently. I'm by no means an expert on NoSQL databases - I just picked Cassandra because Twitter uses it for some things. -- M. Edward (Ed) Borasky http://borasky-research.net http://twitter.com/znmeb A mathematician is a device for turning coffee into theorems. - Paul Erdos -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] De-duplicating Site Streams
Hi Marc, I'd throw the hat in for MongoDB, its retardedly fast and I now adore it. Pop me a message on Twitter if you'd like to discuss it more. Scott. On 27 Oct 2010, at 19:05, M. Edward (Ed) Borasky wrote: Quoting Marc Mims marc.m...@gmail.com: De-duplicating statuses in the Streaming API is fairly straightforward. But with Site Streams, where a single status might be received multiple times for multiple mentioned users, and/or as favorites, it is a bit more difficult. I'm wondering if anyone can offer advice on an efficient method for de-duplicating Site Streams. -Marc If you're talking about building something massively scalable for some value of massive, you're getting into the realm of NoSQL databases. I *think* Cassandra has a Perl interface but I haven't looked at it recently. I'm by no means an expert on NoSQL databases - I just picked Cassandra because Twitter uses it for some things. -- 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] updating twitter tools inside my wordpress blog
i dont understand this step? Your Application's Name will be what shows up after via in your twitter 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
[twitter-dev] Twitter authentication
I am trying to write a php script that will post a new status to my twitter account. I have tried several available scripts and they have all failed. The error messages I receive do not give a specific reason for the failure. In my research, I learned that basic authentication was removed in August of this year. I suspect that the scripts I have been trying are using this now disables authentication. If there is a working script out there, I would love to get my hands on it. Otherwise, I would like to get access to documentation for api authentication. So far, I have been unable to find either. 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
Re: [twitter-dev] Twitter authentication
just download TwitterOAuth by @abraham problem solved. On Oct 27, 2010, at 2:35 PM, DallyPost wrote: I am trying to write a php script that will post a new status to my twitter account. I have tried several available scripts and they have all failed. The error messages I receive do not give a specific reason for the failure. In my research, I learned that basic authentication was removed in August of this year. I suspect that the scripts I have been trying are using this now disables authentication. If there is a working script out there, I would love to get my hands on it. Otherwise, I would like to get access to documentation for api authentication. So far, I have been unable to find either. Thanks -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] updating twitter tools inside my wordpress blog
yeah via tweetdeck, via web or ... via your app when clicking on your app goes to app url. On Oct 27, 2010, at 2:11 PM, dave g wrote: i dont understand this step? Your Application's Name will be what shows up after via in your twitter 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 -- 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: GET Querystring for status update not working on new Twitter
Is this the same underlying issue that could be causing the button to not show the a tweet count for some URLs with query strings? For instance, we're passing: a URL (http://www.foo.com/bar.cgi? f=1/2/3456.stuff) encoded as http%3A%2F%2Fwww.foo.com%2Fbar.cgi%3Ff %3D1%2F2%2F3456.stuff in a query string for the button.. I see a response in firebug of twttr.receiveCount({count: 0,url:http:\/\/www.foo.com\/bar.cgi\/?f=1%2F2%2F3456.stuff}) . I'm not sure how those other characters are coming in. If this is the same issue, is there word of a fix? (Matt, I hit reply to author the first time by accident; apologies) On Oct 7, 10:51 am, Matt Harris thematthar...@twitter.com wrote: Hi woodsytime, I wanted to add in here that if you URLencodethe URL you are trying to share it will work appropriately. Instead of what you have I would expect the URL to look like this: http://twitter.com/home?status=ASOS%20embellished%20dress%20http%3A%2... One known issue right now is that %26 is converted to in #newtwitter so anything after it is ignored. The team is aware of this and it is being tracked here: http://code.google.com/p/twitter-api/issues/detail?id=1904 To second what Taylor said, consider using theTweetButtoninstead of the URL. It provides a better experience for your users and allows them toTweetwithout leaving your site. Best @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Thu, Oct 7, 2010 at 9:17 AM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi there woodsytime, I'd recommend using aTweetButtonfor this kind of integration instead -- your approach is kind of the most low rent approach you can take for this, and is less and less supported -- really, it's a hack. The URL you're presenting in your status update has an unencodedquestion mark. But even if you properly encoded it, it doesn't look like this kind of URL is passable in this way. Bug on our end? Maybe. What's the context that users would share this URL? Have you considered the TweetButton? I noticed that even with all of those query parameters, the page you're posting still redirects to the site's home page. What value do the links have to Twitter users who post, read, or click? Taylor On Thu, Oct 7, 2010 at 8:59 AM, woodsytime kr.wood...@gmail.com wrote: I need to update my status through an external link using the GET method. For example...the linked I would like to pass into the browser URL querystring is... http://twitter.com/home?status=ASOS%20embellished%20dress%20http://ww... This has been working, however, I'm using the updated version of Twitter as of today, and this way of updating my status is not working now? It seems to stop at the '=' sign (escape character %3D) in the 'cid %3D8745' part of the querystring towards the end. Any suggestions? Thanks -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter 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 redirecting with oauth_callback to localhost
Hi, I have been having trouble getting my app to redirect to localhost. Here's the URL. http://api.twitter.com/oauth/authenticate?oauth_token=XXXoauth_callback=http%3A%2F%2Flocalhost%2Fmyapp%2FSocialMediaLogin%2Fsocialmedialogin.do%3Fprovider%3DTwitter. What's happening is the twitter application is using the URL supplied as the Callback URL in the browser application. Before URL encoding the callback URL is http://localhost/myapp/SocialMediaLogin/socialmedialogin.do?provider=Twitter. Questions: is the query: ?provider=Twitter throwing off the callback? What else could be causing the callback not to work? Thanks, Bob -- 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: Callback never called with the Streaming API
Nevermind, everything is good! Thanks again! :) On 26 Okt., 16:12, Tobias C. Jensen 2bia...@gmail.com wrote: It seems, though, that if I change just one of the three parameters in the streaming call, the page just continuously loads. I don't know if that's normal. Or maybe it just doesn't send the output to the screen. On 25 Okt., 22:44, Matt Harris thematthar...@twitter.com wrote: Hi Tobias, First thing to do is make sure you have the most recent version of the library. I'm actively developing it and adding various features/utilities to it. Secondly, take a look at the Streaming API example here: http://github.com/themattharris/tmhOAuth/blob/master/examples/streami... Give the example script a try - the library was built around that example (remember to fill in your consumer and user tokens and secrets). If you still have problems let me know on the Github project page issues: http://github.com/themattharris/tmhOAuth Best, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Mon, Oct 25, 2010 at 9:16 AM, Tobias C. Jensen 2bia...@gmail.com wrote: Hi guys. I've been digging into the Twitter API using Themattharris's excellent PHP class a lot these past two weeks. Everything has been fine with standard OAuth calls, but now I would like to make use of the User Stream - which the class appearently supports. However, nothing is returned when I do try the following: tmhOAuth-streaming_request('GET', 'http://stream.twitter.com/1/ statuses/sample.json', array( 'count' = 10, ), 'test_callback'); function test_callback($p) { echo 'Now printing: '; print_r($p); ob_flush(); } I get a status code '200', but test_callback is never called. If I do not set a parameter, I receive an error status, so it seems like it ought to work. Is there a kind person out there, who can get me on the right path, or am I completely off track here? :) I've been struggling with this all day and haven't been able to find a solution anywhere online. I have found a couple of examples that seem to do exactly what I do, but with succes. Thanks in advance - and for the many useful answers I have already found here! - Tobias -- 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] Additional capacity added to stream.twitter.com and betastream.twitter.com clusters
We've completed an upgrade to the stream.twitter.com cluster this afternoon. Additional bandwidth and servers are now in production. This additional capacity should help throughput on certain distant high-volume clients during peak periods. Most other stream.twitter.com clients will not notice a difference in throughput. We also just moved the Site Streams beta onto a larger cluster. Demand has grown significantly over the last few days, and this move will provide headroom and improve stability. Information about the Site Streams beta is here: http://dev.twitter.com/pages/site_streams. The User Streams endpoint is unaffected by these changes. If your streaming client has outbound firewall rules, ignores DNS TTL, or otherwise aggressively caches DNS entries, you may wish to restart, as we're going to decommission at least one virtual ip address that we've retired from rotation. -John Kalucki http://twitter.com/jkalucki Twitter, Inc. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Twitter Desktop Client app with Embedded Browser getting a 401 unauthorized when hitting home_timeline.json
I am using Oauth for Delphi from ChuckBeasley.com I am able to in order 1) get a request token 2) call with my callback url and put in my credentials. 3) get redirected correctly to my callback url in a TEmbeddedWB component. 4) get an access token (at least I believe I am) since screen_name and user_id come back in the response. Then when I try and pull my home_timeline it gives me a 401 unauthorized as a response. What can I be doing wrong? Thanks David -- 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: Entities display_url and expanded_url
Is the expanded_url field only intended to be present for t.co- shortened links, or will it be extended to work with bit.ly and other services? If you want expanded urls for all shorteners, I recommend using http://untiny.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Problem redirecting with oauth_callback to localhost
Never mind. I found that I needed to use the twitter4j getOAuthRequestToken method that accepts a callback URL. Bob On Oct 27, 2:10 pm, Robert Brehm rpbr...@gmail.com wrote: Hi, I have been having trouble getting my app to redirect to localhost. Here's the URL. http://api.twitter.com/oauth/authenticate?oauth_token=XXXoauth_callb What's happening is the twitter application is using the URL supplied as the Callback URL in the browser application. Before URL encoding the callback URL ishttp://localhost/myapp/SocialMediaLogin/socialmedialogin.do?provider= Questions: is the query: ?provider=Twitter throwing off the callback? What else could be causing the callback not to work? Thanks, Bob -- 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: Twitter Desktop Client app with Embedded Browser getting a 401 unauthorized when hitting home_timeline.json
Check the text of the response - it may provide some clues as to where the problem is. On Oct 27, 6:30 pm, DavidD ddudl...@gmail.com wrote: I am using Oauth for Delphi from ChuckBeasley.com I am able to in order 1) get a request token 2) call with my callback url and put in my credentials. 3) get redirected correctly to my callback url in a TEmbeddedWB component. 4) get an access token (at least I believe I am) since screen_name and user_id come back in the response. Then when I try and pull my home_timeline it gives me a 401 unauthorized as a response. What can I be doing wrong? Thanks David -- 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] xAuth request returns 401, need help
Hey all, This is my first post in this group, hi! I am having trouble making a request on https://api.twitter.com/oauth/access_token. I've been at this for 2 days and I can't make any progress. I feel like everything matches up with all examples, documentation, and other forum posts perfectly. Here is my post body: x_auth_username=oauth_test_execx_auth_password=twitter- xauthx_auth_mode=client_auth Here is my base string (using the example's test credentials): POSThttps%3A%2F%2Fapi.twitter.com%2Foauth %2Faccess_tokenoauth_consumer_key%3DJvyS7DO2qd6NNTsXJ4E7zA %26oauth_nonce%3DE0E37C06-F12A-407B-8D80-20C78FF6183A %26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp %3D1288223176%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth %26x_auth_password%3Dtwitter-xauth%26x_auth_username%3Doauth_test_exec Here is my Authorization header: OAuth oauth_timestamp=1288223176, oauth_nonce=E0E37C06- F12A-407B-8D80-20C78FF6183A, oauth_version=1.0, oauth_consumer_key=JvyS7DO2qd6NNTsXJ4E7zA, oauth_signature_method=HMAC-SHA1, oauth_signature=IwPFrvb0PExyS %2F2QQvtbelsWk48%3D -- 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: Does it affect the existing iphone app on appStore if we change Twitter application Default Access type?
Hi Taylor Thanks for your response. Still I have some confusion. My current iphone application on appstore uses the Twitter application having read only access. Now I had used the consumer key consumer secret to access that application. My question is if i change the access type to read-write mode will it affect my current consumer key secret. will they get changed? Doing so will affect the current users of my iphone application or i will have to modify consumer key secret rebuild the app on the appstore? What are the proper steps to change that access type of the twitter application? Can you please elaborate? On Oct 27, 7:17 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: When you change an application from read-only mode to read-write mode, it only effects access tokens created after you've made the switch. So if you want write priviledges for any existing access tokens, you'll have to re-negotiate them. Taylor On Wed, Oct 27, 2010 at 2:58 AM, Niraj Joshi joshi.niraj...@gmail.comwrote: Hi I created the new application in Twitter enabled xAuth support for the same. Previously the application Default Access type was read only. Using the consumer key secret I made my iphone application it is now on app store. Now i want to change Default Access type to read-write mode, as read only application cannot use POST method. [i.e. while using method statuses/update to post new tweet i am getting response as : error : Read-only application cannot POST So I want to change Default Access type to read-write. My question is that if i perform above change will it affect my current app users ? As i afraid that doing so will change my consumer key secret (May be) (using which i created app used for app store.) ??? -- 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