Re: [twitter-dev] Re: http://groups.google.com/group/twitter-development-talk
Hi, *Use header-based OAuth* - OAuth provides for means to pass OAuth-related parameters on a query string or to provide them as a HTTP Authorization header. Twitter prefers header-based auth because it separates concerns, makes debugging easier, and avoids common issues with under or over URL escaping parameters. That is web request url contains only http://api.twitter.com/1/statuses/user_timeline.json and other oauth parameters are filled into header rquest..right. Regards, George On Thu, Jul 7, 2011 at 9:17 PM, Paul Shriner p...@audiencepoint.com wrote: Apparently that was it. On Jul 6, 8:25 pm, Georgooty varghese georgo...@gmail.com wrote: Hi, Use header based authentication.. Regards, George On Wed, Jul 6, 2011 at 11:35 PM, Paul Shriner p...@audiencepoint.com wrote: Matt, I am having the same problem and ti started right about the same time as this post. Here are the details: Here are the response headers Status: 401 Unauthorized X-Transaction: 1309969076-98811-26180 X-RateLimit-Limit: 350 X-Frame-Options: SAMEORIGIN X-RateLimit-Remaining: 348 X-Runtime: 0.02492 Pragma: no-cache X-Access-Level: read-write X-RateLimit-Class: api_identified X-Revision: DEV X-MID: 4ea2b57c4cf85a22ee50fa2a7c5674aa26844059 X-RateLimit-Reset: 1309972621 Content-Length: 372 Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post- check=0 Content-Type: application/json; charset=utf-8 Date: Wed, 06 Jul 2011 16:17:57 GMT Expires: Tue, 31 Mar 1981 05:00:00 GMT Last-Modified: Wed, 06 Jul 2011 16:17:57 GMT Set-Cookie: k=204.251.185.1.1309969076964694; path=/; expires=Wed, 13- Jul-11 16:17:56 GMT; domain=.twitter.com,guest_id=v1%3A130996907700036484; domain=.twitter.com; path=/; expires=Sat, 06 Jul 2013 04:17:57 GMT,lang=en; path=/,_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCBTTPQAxAToHaWQiJWMxYWYyYTAzM2JlMjM3%250AYThjNmE1ZTViZTAyMGZlMTE4IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy %250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--13e6aa6dc4f9fb55afa9c2212509c53e04554bb6; domain=.twitter.com; path=/; HttpOnly Server: hi WWW-Authenticate: OAuth realm=http://api.twitter.com; Vary: Accept-Encoding Connection: close Here are the contents of the message: hash errorThis method requires authentication./error - request /1/statuses/user_timeline.xml? count=100oauth_consumer_key=4vqfXySDSPUncNbSQdrhnwoauth_nonce=2886488oauth_signature_method=HMAC- SHA1oauth_timestamp=1309974284oauth_token=190741720- EzxXr983TNYs28xhdd3tG610rtnQPxiy5LpeOLwwoauth_version=1.0user_id=573027936oauth_signature=LnYtMOdMopPYtaNMCfl9E +unjcA= /request /hash No idea on where to start on this. On Jun 23, 5:24 pm, Matt Harris thematthar...@twitter.com wrote: Hi dalvir, The REST API lives on the domain api.twitter.com not twitter.com. The request you are making should be made to: http://api.twitter.com/1/statuses/user_timeline.json To understand the reason for the error you will need to inspect the response that comes back from the API. We put more details about errors in the response body to help you identify what you need to do in your code. Best, @themattharris https://twitter.com/intent/follow?screen_name=themattharris Developer Advocate, Twitter On Thu, Jun 23, 2011 at 12:32 AM, dalvir sainidal...@gmail.com wrote: I am using the following code. This was working fine. oAuthTwitter oAuth = new oAuthTwitter(); oAuth.Token = Token; oAuth.TokenSecret = secrentoken; TwitterToken objtwitter = new TwitterToken(); oAuth.oAuthWebRequest(oAuthTwitter.Method.GET, http://twitter.com/ statuses/user_timeline.xml, null);//This line return the following 401 error But Now it stoped to work. and returning the error The remote server returned an error: (401) Unauthorized. Why this error is coming? -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter:https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter:https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements
Re: [twitter-dev] Re: http://groups.google.com/group/twitter-development-talk
Hi, Use header based authentication.. Regards, George On Wed, Jul 6, 2011 at 11:35 PM, Paul Shriner p...@audiencepoint.comwrote: Matt, I am having the same problem and ti started right about the same time as this post. Here are the details: Here are the response headers Status: 401 Unauthorized X-Transaction: 1309969076-98811-26180 X-RateLimit-Limit: 350 X-Frame-Options: SAMEORIGIN X-RateLimit-Remaining: 348 X-Runtime: 0.02492 Pragma: no-cache X-Access-Level: read-write X-RateLimit-Class: api_identified X-Revision: DEV X-MID: 4ea2b57c4cf85a22ee50fa2a7c5674aa26844059 X-RateLimit-Reset: 1309972621 Content-Length: 372 Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post- check=0 Content-Type: application/json; charset=utf-8 Date: Wed, 06 Jul 2011 16:17:57 GMT Expires: Tue, 31 Mar 1981 05:00:00 GMT Last-Modified: Wed, 06 Jul 2011 16:17:57 GMT Set-Cookie: k=204.251.185.1.1309969076964694; path=/; expires=Wed, 13- Jul-11 16:17:56 GMT; domain=.twitter.com,guest_id=v1%3A130996907700036484; domain=.twitter.com; path=/; expires=Sat, 06 Jul 2013 04:17:57 GMT,lang=en; path=/,_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCBTTPQAxAToHaWQiJWMxYWYyYTAzM2JlMjM3%250AYThjNmE1ZTViZTAyMGZlMTE4IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy %250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--13e6aa6dc4f9fb55afa9c2212509c53e04554bb6; domain=.twitter.com; path=/; HttpOnly Server: hi WWW-Authenticate: OAuth realm=http://api.twitter.com; Vary: Accept-Encoding Connection: close Here are the contents of the message: hash errorThis method requires authentication./error - request /1/statuses/user_timeline.xml? count=100oauth_consumer_key=4vqfXySDSPUncNbSQdrhnwoauth_nonce=2886488oauth_signature_method=HMAC- SHA1oauth_timestamp=1309974284oauth_token=190741720- EzxXr983TNYs28xhdd3tG610rtnQPxiy5LpeOLwwoauth_version=1.0user_id=573027936oauth_signature=LnYtMOdMopPYtaNMCfl9E +unjcA= /request /hash No idea on where to start on this. On Jun 23, 5:24 pm, Matt Harris thematthar...@twitter.com wrote: Hi dalvir, The REST API lives on the domain api.twitter.com not twitter.com. The request you are making should be made to: http://api.twitter.com/1/statuses/user_timeline.json To understand the reason for the error you will need to inspect the response that comes back from the API. We put more details about errors in the response body to help you identify what you need to do in your code. Best, @themattharris https://twitter.com/intent/follow?screen_name=themattharris Developer Advocate, Twitter On Thu, Jun 23, 2011 at 12:32 AM, dalvir sainidal...@gmail.com wrote: I am using the following code. This was working fine. oAuthTwitter oAuth = new oAuthTwitter(); oAuth.Token = Token; oAuth.TokenSecret = secrentoken; TwitterToken objtwitter = new TwitterToken(); oAuth.oAuthWebRequest(oAuthTwitter.Method.GET, http://twitter.com/ statuses/user_timeline.xml, null);//This line return the following 401 error But Now it stoped to work. and returning the error The remote server returned an error: (401) Unauthorized. Why this error is coming? -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter:https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] XAuth Authorization
Hi, xAuth is not enabled by deafult when you registering the application. To enabling this, you should send a detailed mail to a...@twitter.com with the application details. Regards, George On Mon, Jun 27, 2011 at 2:55 PM, yatibawri yatiba...@gmail.com wrote: Hi all, I have a query on how can i register my app with xAuth. I get an error in this line : AccessToken token = twitter.getOAuthAccessToken(); I get an error:Failed : The screen name / password combination seems to be invalid. and Error 401.. So please help me to solve my issue -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Using xAuth in N8 (HELP)
Hi, Actually your problem is not mentioned here. A list of Twitter OAuth libraries are available at http://dev.twitter.com/pages/libraries. You can start with twitter functionality integration using javasript twitter client library. Regards, George On Fri, Jun 24, 2011 at 12:56 AM, Victor vitucho3...@gmail.com wrote: Hello there, i am having troubles using the xAuth protocol in Widget for nokia N8. I was using javascript and php with the oAuth protocol and things went just fine, but now i don't have a clue where to start... i just doesn't get iti read tutorials, and the official docs in the sitebut without results. Pliz help me. Grettings. VĂctor -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Method /version/statuses/user_timeline.json not functioning properly
Dear Twitter, I have found some mismatching in header value. Rquest url is given below, http://api.twitter.com/1/statuses/user_timeline.json?include_rts=trueoauth_consumer_key=oauth_nonce=15d_Hx5zHE_9ntMQZR30RbGI6UAeZoauth_signature_method=HMAC-SHA1oauth_timestamp=1308205453oauth_token**oauth_version=1.0page=1 screen_name=MayuriModa9oauth_signature=e2eZoO42zO%2B95IRf6QHhvxfnRP0%3D In response I got json response. But in header values ,I have found, Status Value :200 OK :X-Warning Value :Invalid OAuth credentials detected Its working fine. But I have a doubt, In future any problem? So I have changed the http request to authentication mechanism to rquest url to auth header. request url http://api.twitter.com/1/statuses/user_timeline.json?screen_name=***?page=1?include_rts=true header is given below, OAuth include_rts=true,oauth_consumer_key=**, oauth_nonce=PaIdH40QrMznwDjGbD75a_hRDuE7Ys, oauth_signatu re_method=HMAC-SHA1, oauth_timestamp=1308206637,oauth_token=**, oauth_version=1.0,page=1,screen_name=, oauth_signature=YJ8LsrrXd13v0YLtnKSRdHScjaQ%3D But I didnt got the result , got 404 Not Found error. Please help me to solve this issue. Regards, Geoirge -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Method /version/statuses/user_timeline.json not functioning properly
Thanks for quick reply. I have corrected the request url. Then I got the correct result. In header I have made no change. Thanks once again . Regards, George On Thu, Jun 16, 2011 at 12:27 PM, kamesh SmartDude kamesh.smartd...@gmail.com wrote: The Requrl u Supplied http://api.twitter.com/1/statuses/user_timeline.json?screen_name=***? page=1?include_rts=true is wrong. and in the headers u can remove the parameters correct one is http://api.twitter.com/1/statuses/user_timeline.json?screen_name=***; page=1include_rts=truehttp://api.twitter.com/1/statuses/user_timeline.json?screen_name=***?page=1?include_rts=true And the headers OAuth oauth_consumer_key=**, oauth_nonce=PaIdH40QrMznwDjGbD75a_hRDuE7Ys, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1308206637, oauth_token=**, oauth_version=1.0, oauth_signature=YJ8LsrrXd13v0YLtnKSRdHScjaQ%3D Here in Headers removed the screen_name, include_rts, and page parameters //kamesh On Thu, Jun 16, 2011 at 12:19 PM, Georgooty varghese georgo...@gmail.comwrote: Dear Twitter, I have found some mismatching in header value. Rquest url is given below, http://api.twitter.com/1/statuses/user_timeline.json?include_rts=trueoauth_consumer_key=oauth_nonce=15d_Hx5zHE_9ntMQZR30RbGI6UAeZoauth_signature_method=HMAC-SHA1oauth_timestamp=1308205453oauth_token**oauth_version=1.0page=1 screen_name=MayuriModa9oauth_signature=e2eZoO42zO%2B95IRf6QHhvxfnRP0%3D In response I got json response. But in header values ,I have found, Status Value :200 OK :X-Warning Value :Invalid OAuth credentials detected Its working fine. But I have a doubt, In future any problem? So I have changed the http request to authentication mechanism to rquest url to auth header. request url http://api.twitter.com/1/statuses/user_timeline.json?screen_name=***?page=1?include_rts=true header is given below, OAuth include_rts=true,oauth_consumer_key=**, oauth_nonce=PaIdH40QrMznwDjGbD75a_hRDuE7Ys, oauth_signatu re_method=HMAC-SHA1, oauth_timestamp=1308206637,oauth_token=**, oauth_version=1.0,page=1,screen_name=, oauth_signature=YJ8LsrrXd13v0YLtnKSRdHScjaQ%3D But I didnt got the result , got 404 Not Found error. Please help me to solve this issue. Regards, Geoirge -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re: Problem With Fetching Followers and Following Id's
I am facing the same issue.. On Tue, Jun 14, 2011 at 11:56 AM, kamesh SmartDude kamesh.smartd...@gmail.com wrote: Is Anybody have IDEA about the solution of above problem //kamesh On Jun 13, 12:49 pm, kamesh SmartDude kamesh.smartd...@gmail.com wrote: Dear All, I am developing a twitter mobile application, and i have a problem in fetching the followers and following list. earlier i used http://api.twitter.com/version/statuses/friends.formathttp://api.twitter.com/version/statuses/followers.format API's to fecth the Followers and following people list. But now they are depricated. Now i want to use the API's http://api.twitter.com/version/friends/ids.formathttp://api.twitter.com/version/followers/ids.format to fetch the ID's of the follower and following people Id's and http://api.twitter.com/version/users/lookup.format API to get the user List. Now My problem is that i want to fetch the Specific number (as per my requirement it is 16) of follower and following id's using the above two API's (friends/ids.format and followers/ids.format). But these two API's ignoring the count Parameter (suppose if i sent a request to fetch the followers of the user = sachin_rt http://api.twitter.com/1/followers/ids.json/screen_name=sachin_rtcur... it is ignoring the count parameterand returning an amount 5000 followers ID's. ) and returning a huge number of Id's. As i am developing a mobile app i don't want to store this amount of data in my database until user go for showmore/ or scroll to the bottom of the list. please let me know is there any solution to fetch the specific number of ID's of the followers/follwing. Thanks in AdvanceKamesh -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Re: Follower/Friends ID's count of each request
How to limit the follower/friends i's limit..? How to resolve this issue? Could you please help me? I am waiting for your reply. Regards, George On Mon, Jun 13, 2011 at 9:57 AM, Georgooty varghese georgo...@gmail.comwrote: Dear Twitter, I want to know about the count of follower/friends count of each request. I have using cursor field in each request. In first request , cursor value set to -1. In response I got next next_cursor_str ,previous_cursor_str fields. but values are 0. *I want to limit the count of each request to 20. Is it possible ? how. For this purpose, I have using count field in query, but no hope. I got 24 id's.* *http://api.twitter.com/1/friends/ids.json?count=20cursor=-1oauth_cons umer_key=*oauth_nonce=**oauth_signat ure_method=HMAC-SHA1oauth_timestamp=1307938433oauth_token=*oauth_version=1.0user_id=14471 7423oauth_signature= Could you pleas help me.. Regards, George -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Could not retrieve /statuses/friends.xml: 403 Forbidden
/statuses/friends.xml API has deprecated by Twitter.So you did not get these details. For getting friends details you can use a combination of friends.ids and user/lookup. Regards, George On Tue, Jun 14, 2011 at 8:34 AM, cadetandrew homerthi...@gmail.com wrote: I'm currently using an application for mIRC named BitlBee (bitblee.org). With it you can see tweets from those you are following and send tweets out. When you add your account it gives you an OAuth token and an OAuth token. When the link is clicked it gives you a link to a page where there is a pin number. This all went fine, but about a week ago when I tried to sign in it give me: Login error: Could not retrieve /statuses/friends.xml: 403 Forbidden Anyone know what might be causing this and possibly have a solution? Note that I am not a developer for BitlBee, just a user. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Follower/Friends ID's count of each request
Dear Twitter, I want to know about the count of follower/friends count of each request. I have using cursor field in each request. In first request , cursor value set to -1. In response I got next next_cursor_str ,previous_cursor_str fields. but values are 0. *I want to limit the count of each request to 20. Is it possible ? how. For this purpose, I have using count field in query, but no hope. I got 24 id's.* *http://api.twitter.com/1/friends/ids.json?count=20cursor=-1oauth_cons umer_key=*oauth_nonce=**oauth_signat ure_method=HMAC-SHA1oauth_timestamp=1307938433oauth_token=*oauth_version=1.0user_id=14471 7423oauth_signature= Could you pleas help me.. Regards, George -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Username Password Authentication
Hi, Basic authentication was removed currently. So you can use xAuth authentication, Using xAuth , you can directly enter username and password into your application... Regards, George On Mon, May 9, 2011 at 6:14 PM, Bahrain aaljow...@gmail.com wrote: Hi All, I am new to this email group and new to the whole Twitter development field, however I have a pretty good knowledge about Java, which is what I will be using to develop my test Desktop app... I am aiming to create a desktop application which I can feed in 2 (or more) usernames and password(s) for my personal account and be able to view the timelines of these accounts.. I have developed my test app using OAuth where it requires me to register the app and give it access permission and all.. then hardcode the token and consumer secret keys... However, I was wondering if it was at all possible to use the basic way of authentication (username/password). if so, can someone point me at the right direction please? Thanks Regards, A. Aljowder -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re: Mobile Development
Hi, 1. You should register a application in twitter. Have u browser support into your app? On Fri, Apr 8, 2011 at 12:02 PM, abhishek nalwaya nalwayaabhis...@gmail.com wrote: I can't use callback. As it is mobile Native app I don't know what callback URL should i register with twitter? I am not sure how snaptu and other mobile authentication work as we manually type username and password in these app. -- 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] Error: Operation could not be completed. (HTTP error 404.)
could u please describe your issue in detailed.. On Mon, Mar 21, 2011 at 3:50 PM, sangeeta katsange...@gmail.com wrote: Hello I am getting this Error: Operation could not be completed. (HTTP error 404.) when using the /status/show.xml api. My url is like this- https://api.twitter.com/statuses/show/268146346.xml Can anybody pliz help me. Thanking you in advance. -- 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] how to get the home timeline of a user
can you please send the issues detailed.. Regards, George On Fri, Mar 18, 2011 at 12:53 PM, vinay kumar vinaykond...@gmail.comwrote: Hi, i did all the basic things like registering a site and getting the keys. there is url in twitter statuses/home_timeline.json. it needs authentication. i am trying to get the data through javascript Oauth. i am able to get the oauth-nonce, oauth-nonce, oauth-timestamp and all the related parameters when i am sending a reuest to get the request token cross domain issue is blocking me. what i need to do. any help will be appriciated Thanks, Vinay -- 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] - Each http request (home tweet) json data count
Dear Twitter, I have implemented a twitter client in C. I have used xAuth authentication. I have used pagination for each http request for home page/user time line request. Please look the below url, this was used for getting home tweets *http://api.twitter.com/1/statuses/home_timeline.json?page=1* This http request response json data count is 17 other times may be 20 I did not get consistent 20,, I expect the count is 20. My question is to getting 20 count of each http request, what can I do for the http request? Could you please help me.. I am waiting for your response.. 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
Re: [twitter-dev] - Each http request (home tweet) json data count
Thanks Taylor .. I shall check it, Regards, George On Wed, Mar 16, 2011 at 8:05 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi George, The count parameter on timelines is more of an up to parameter -- you should get no more than the count value, but you won't be guaranteed exactly the number you asked for either. For legacy reasons, most timeline methods don't include retweets in the default response. By adding the query parameter include_rts=true to your requests, you'll be more likely to get the number of results you are looking for since they are included in the original underlying payload (and are often the missing tweets you are looking for when the default returns less than what you're asking for). Taylor @episod http://twitter.com/episod - Taylor Singletary - Twitter Developer Advocate On Wed, Mar 16, 2011 at 7:29 AM, Georgooty varghese georgo...@gmail.comwrote: Dear Twitter, I have implemented a twitter client in C. I have used xAuth authentication. I have used pagination for each http request for home page/user time line request. Please look the below url, this was used for getting home tweets *http://api.twitter.com/1/statuses/home_timeline.json?page=1* This http request response json data count is 17 other times may be 20 I did not get consistent 20,, I expect the count is 20. My question is to getting 20 count of each http request, what can I do for the http request? Could you please help me.. I am waiting for your response.. 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 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] A very basic question
you can use libauth library from twitter On Thu, Mar 10, 2011 at 11:59 AM, Umashankar Das umashankar...@gmail.comwrote: Guys, I just wanted to tap the extensive knowledge of such esteemed developers aroundd here. Can anyone recomend the best library which supports twitter api's in C/C++. We're specifically looking at the samplestream API on twitter. Thanks In Advance Regards Umashankar Das -- 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] Get all Followers
you should use pagination On Tue, Feb 15, 2011 at 3:41 PM, arfaRed arfafa...@gmail.com wrote: Hi, I am retrieving followers using the following API http://api.twitter.com/1/statuses/followers/twitter.json. But this returns 100 followers only. What if I have more than 100 followers on my account. How to get all of them. Thanks, Arf`a -- 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] Get all Followers
you should use cursor field in follower url. in this response, you should get next and prev paging cursor values. Next time you should use this values in to your urls. On Tue, Feb 15, 2011 at 3:54 PM, Scott Wilcox sc...@dor.ky wrote: Use the provided cursors to move through your followers. On 15 Feb 2011, at 10:11, arfaRed wrote: Hi, I am retrieving followers using the following API http://api.twitter.com/1/statuses/followers/twitter.json. But this returns 100 followers only. What if I have more than 100 followers on my account. How to get all of them. Thanks, Arf`a -- 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] Twitter for Desktop Apps
No. Each user don't need seperate authorization. Could u plz describe your issue detailed. Regards, George On Mon, Feb 7, 2011 at 9:26 AM, Sujit Shah sujit...@gmail.com wrote: I am looking at integrating Twitter with my desktop app. Does each user need to obtain a seperate authorisation? Thanks. Any tips on doing this most welcome! -- xxx The butterfly does not count years, but moments, and therefore has enough time. - Rabindranath Tagore -- 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] Incorrect signature while getting user time line
Now the issue solved. Thanks Twitter. Regards, George On Mon, Dec 20, 2010 at 10:20 AM, Georgooty varghese georgo...@gmail.comwrote: Dear Twitter, I didn't get a solution. Please help me. I am waiting for your reply. Regards, George On Thu, Dec 16, 2010 at 1:58 PM, Tom van der Woerdt i...@tvdw.eu wrote: They look fine, and since the rest of the requests work fine (which you said), I have to assume that it's not the signature generation. Also, since you're not the only one to mention this in the past 12 hours, I have to leave open the possibility of Twitter being the issue. However, before looking at that, please double check that the Base String matches what you are actually doing! Tom On 12/16/10 7:25 AM, Georgooty varghese wrote: Thanks twitter for your quick reply. I have make only one modification into my code. Other code changes do only when I get your reply. I have changed url for user time line http to https. Here I have copied my user time line base url and signature and base string. Please suggest to me a correct way for this. *Base URL* :oauth_consumer_key=*oauth_nonce=EF2k_xwovJInFfqoauth_signature_method=HMAC-SHA1oauth_timestamp=1292480095oauth_token=*oauth_version=1.0page=1screen_name=Sanoop_SP * Signature*:FcKenujneOtQklp6HZYDkRc7BYzelW9Fsadj324REpV1owATZgqcsx3R6FaM0qGilyBRkkP95zwNVosGoSnc *Base string*:GEThttps%3A%2F%2Fapi.twitter.com http://2Fapi.twitter.com %2F1%2Fstatuses%2Fuser_timeline.jsonoauth_consumer_key%%26oauth_nonce%3DEF2k_xwovJInFfq%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1292480095%26oauth_token%**%26oauth_version%3D1.0%26page%3D1%26screen_name%3DSanoop_SP What mistake I have made in this. Please reply. I am waiting for your reply. Regards, George On Wed, Dec 15, 2010 at 11:21 PM, Tom van der Woerdt i...@tvdw.eu mailto:i...@tvdw.eu wrote: Hi George, There have been some changes to Twitter's API and while not all of them have been activated yet, some of them may apply to you. Incorrect signature usually means that your signature is bad. This can mean a lot of things, but if only your user_timeline part is broken, you can start by looking at these : * Make sure that the URL in the Base String does not contain the query part of an URL (= anything after (and including) the ? part of the URL) - Good: https://api.twitter.com/1/statuses/user_timeline.json - Bad: https://api.twitter.com/1/statuses/user_timeline.json?count=200 Of course, this only applies to the Base String. Making a GET request is still fine. * Make sure that you specify the correct method in the Base String. - If you are making a GET request, put GET in the Base String. * Make sure that you properly URL-encode all values in the Base String - Good: Hello%20Twitter - Bad: Hello+Twitter - (This does not really apply to user_timeline) If you checked the above and the issue is still there, please show us a sample Base String and a dump of the request you make to the Twitter API. Tom On 12/15/10 6:06 PM, Georgooty varghese wrote: Dear Twitter, I have been created a twitter application. I got xauth token for my application. I have implemented twitter functionalities like home tweets, user info, follower details, following details, user time line. These functionalities working smoothly. Also get each user time line . But Todat, usser time url is not working right now. I got incorrect signature exception.. Though usertime line qury is not working yesterday. I have no change any line code. If any change need to my coding? Anybody please help me.. I am waiting for your reply. 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 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] Incorrect signature while getting user time line
Dear Twitter, I didn't get a solution. Please help me. I am waiting for your reply. Regards, George On Thu, Dec 16, 2010 at 1:58 PM, Tom van der Woerdt i...@tvdw.eu wrote: They look fine, and since the rest of the requests work fine (which you said), I have to assume that it's not the signature generation. Also, since you're not the only one to mention this in the past 12 hours, I have to leave open the possibility of Twitter being the issue. However, before looking at that, please double check that the Base String matches what you are actually doing! Tom On 12/16/10 7:25 AM, Georgooty varghese wrote: Thanks twitter for your quick reply. I have make only one modification into my code. Other code changes do only when I get your reply. I have changed url for user time line http to https. Here I have copied my user time line base url and signature and base string. Please suggest to me a correct way for this. *Base URL* :oauth_consumer_key=*oauth_nonce=EF2k_xwovJInFfqoauth_signature_method=HMAC-SHA1oauth_timestamp=1292480095oauth_token=*oauth_version=1.0page=1screen_name=Sanoop_SP * Signature*:FcKenujneOtQklp6HZYDkRc7BYzelW9Fsadj324REpV1owATZgqcsx3R6FaM0qGilyBRkkP95zwNVosGoSnc *Base string*:GEThttps%3A%2F%2Fapi.twitter.com http://2Fapi.twitter.com %2F1%2Fstatuses%2Fuser_timeline.jsonoauth_consumer_key%%26oauth_nonce%3DEF2k_xwovJInFfq%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1292480095%26oauth_token%**%26oauth_version%3D1.0%26page%3D1%26screen_name%3DSanoop_SP What mistake I have made in this. Please reply. I am waiting for your reply. Regards, George On Wed, Dec 15, 2010 at 11:21 PM, Tom van der Woerdt i...@tvdw.eu mailto:i...@tvdw.eu wrote: Hi George, There have been some changes to Twitter's API and while not all of them have been activated yet, some of them may apply to you. Incorrect signature usually means that your signature is bad. This can mean a lot of things, but if only your user_timeline part is broken, you can start by looking at these : * Make sure that the URL in the Base String does not contain the query part of an URL (= anything after (and including) the ? part of the URL) - Good: https://api.twitter.com/1/statuses/user_timeline.json - Bad: https://api.twitter.com/1/statuses/user_timeline.json?count=200 Of course, this only applies to the Base String. Making a GET request is still fine. * Make sure that you specify the correct method in the Base String. - If you are making a GET request, put GET in the Base String. * Make sure that you properly URL-encode all values in the Base String - Good: Hello%20Twitter - Bad: Hello+Twitter - (This does not really apply to user_timeline) If you checked the above and the issue is still there, please show us a sample Base String and a dump of the request you make to the Twitter API. Tom On 12/15/10 6:06 PM, Georgooty varghese wrote: Dear Twitter, I have been created a twitter application. I got xauth token for my application. I have implemented twitter functionalities like home tweets, user info, follower details, following details, user time line. These functionalities working smoothly. Also get each user time line . But Todat, usser time url is not working right now. I got incorrect signature exception.. Though usertime line qury is not working yesterday. I have no change any line code. If any change need to my coding? Anybody please help me.. I am waiting for your reply. 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 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
Re: [twitter-dev] Incorrect signature while getting user time line
I didn't get a proper solution. Anybody please help me. Regards, George On Thu, Dec 16, 2010 at 7:11 PM, Georgooty varghese georgo...@gmail.comwrote: Ok. Thanks Tom. What wrong I have made in this. I didn't find any issue. Could u please check the issue. I am waiting for your reply. Regards, George On Thu, Dec 16, 2010 at 1:58 PM, Tom van der Woerdt i...@tvdw.eu wrote: They look fine, and since the rest of the requests work fine (which you said), I have to assume that it's not the signature generation. Also, since you're not the only one to mention this in the past 12 hours, I have to leave open the possibility of Twitter being the issue. However, before looking at that, please double check that the Base String matches what you are actually doing! Tom On 12/16/10 7:25 AM, Georgooty varghese wrote: Thanks twitter for your quick reply. I have make only one modification into my code. Other code changes do only when I get your reply. I have changed url for user time line http to https. Here I have copied my user time line base url and signature and base string. Please suggest to me a correct way for this. *Base URL* :oauth_consumer_key=*oauth_nonce=EF2k_xwovJInFfqoauth_signature_method=HMAC-SHA1oauth_timestamp=1292480095oauth_token=*oauth_version=1.0page=1screen_name=Sanoop_SP * Signature*:FcKenujneOtQklp6HZYDkRc7BYzelW9Fsadj324REpV1owATZgqcsx3R6FaM0qGilyBRkkP95zwNVosGoSnc *Base string*:GEThttps%3A%2F%2Fapi.twitter.com http://2Fapi.twitter.com %2F1%2Fstatuses%2Fuser_timeline.jsonoauth_consumer_key%%26oauth_nonce%3DEF2k_xwovJInFfq%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1292480095%26oauth_token%**%26oauth_version%3D1.0%26page%3D1%26screen_name%3DSanoop_SP What mistake I have made in this. Please reply. I am waiting for your reply. Regards, George On Wed, Dec 15, 2010 at 11:21 PM, Tom van der Woerdt i...@tvdw.eu mailto:i...@tvdw.eu wrote: Hi George, There have been some changes to Twitter's API and while not all of them have been activated yet, some of them may apply to you. Incorrect signature usually means that your signature is bad. This can mean a lot of things, but if only your user_timeline part is broken, you can start by looking at these : * Make sure that the URL in the Base String does not contain the query part of an URL (= anything after (and including) the ? part of the URL) - Good: https://api.twitter.com/1/statuses/user_timeline.json - Bad: https://api.twitter.com/1/statuses/user_timeline.json?count=200 Of course, this only applies to the Base String. Making a GET request is still fine. * Make sure that you specify the correct method in the Base String. - If you are making a GET request, put GET in the Base String. * Make sure that you properly URL-encode all values in the Base String - Good: Hello%20Twitter - Bad: Hello+Twitter - (This does not really apply to user_timeline) If you checked the above and the issue is still there, please show us a sample Base String and a dump of the request you make to the Twitter API. Tom On 12/15/10 6:06 PM, Georgooty varghese wrote: Dear Twitter, I have been created a twitter application. I got xauth token for my application. I have implemented twitter functionalities like home tweets, user info, follower details, following details, user time line. These functionalities working smoothly. Also get each user time line . But Todat, usser time url is not working right now. I got incorrect signature exception.. Though usertime line qury is not working yesterday. I have no change any line code. If any change need to my coding? Anybody please help me.. I am waiting for your reply. 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 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
Re: [twitter-dev] Incorrect signature while getting user time line
Ok. Thanks Tom. What wrong I have made in this. I didn't find any issue. Could u please check the issue. I am waiting for your reply. Regards, George On Thu, Dec 16, 2010 at 1:58 PM, Tom van der Woerdt i...@tvdw.eu wrote: They look fine, and since the rest of the requests work fine (which you said), I have to assume that it's not the signature generation. Also, since you're not the only one to mention this in the past 12 hours, I have to leave open the possibility of Twitter being the issue. However, before looking at that, please double check that the Base String matches what you are actually doing! Tom On 12/16/10 7:25 AM, Georgooty varghese wrote: Thanks twitter for your quick reply. I have make only one modification into my code. Other code changes do only when I get your reply. I have changed url for user time line http to https. Here I have copied my user time line base url and signature and base string. Please suggest to me a correct way for this. *Base URL* :oauth_consumer_key=*oauth_nonce=EF2k_xwovJInFfqoauth_signature_method=HMAC-SHA1oauth_timestamp=1292480095oauth_token=*oauth_version=1.0page=1screen_name=Sanoop_SP * Signature*:FcKenujneOtQklp6HZYDkRc7BYzelW9Fsadj324REpV1owATZgqcsx3R6FaM0qGilyBRkkP95zwNVosGoSnc *Base string*:GEThttps%3A%2F%2Fapi.twitter.com http://2Fapi.twitter.com %2F1%2Fstatuses%2Fuser_timeline.jsonoauth_consumer_key%%26oauth_nonce%3DEF2k_xwovJInFfq%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1292480095%26oauth_token%**%26oauth_version%3D1.0%26page%3D1%26screen_name%3DSanoop_SP What mistake I have made in this. Please reply. I am waiting for your reply. Regards, George On Wed, Dec 15, 2010 at 11:21 PM, Tom van der Woerdt i...@tvdw.eu mailto:i...@tvdw.eu wrote: Hi George, There have been some changes to Twitter's API and while not all of them have been activated yet, some of them may apply to you. Incorrect signature usually means that your signature is bad. This can mean a lot of things, but if only your user_timeline part is broken, you can start by looking at these : * Make sure that the URL in the Base String does not contain the query part of an URL (= anything after (and including) the ? part of the URL) - Good: https://api.twitter.com/1/statuses/user_timeline.json - Bad: https://api.twitter.com/1/statuses/user_timeline.json?count=200 Of course, this only applies to the Base String. Making a GET request is still fine. * Make sure that you specify the correct method in the Base String. - If you are making a GET request, put GET in the Base String. * Make sure that you properly URL-encode all values in the Base String - Good: Hello%20Twitter - Bad: Hello+Twitter - (This does not really apply to user_timeline) If you checked the above and the issue is still there, please show us a sample Base String and a dump of the request you make to the Twitter API. Tom On 12/15/10 6:06 PM, Georgooty varghese wrote: Dear Twitter, I have been created a twitter application. I got xauth token for my application. I have implemented twitter functionalities like home tweets, user info, follower details, following details, user time line. These functionalities working smoothly. Also get each user time line . But Todat, usser time url is not working right now. I got incorrect signature exception.. Though usertime line qury is not working yesterday. I have no change any line code. If any change need to my coding? Anybody please help me.. I am waiting for your reply. 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 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
Re: [twitter-dev] Incorrect signature while getting user time line
Thanks twitter for your quick reply. I have make only one modification into my code. Other code changes do only when I get your reply. I have changed url for user time line http to https. Here I have copied my user time line base url and signature and base string. Please suggest to me a correct way for this. *Base URL*:oauth_consumer_key=*oauth_nonce=EF2k_xwovJInFfqoauth_signature_method=HMAC-SHA1oauth_timestamp=1292480095oauth_token=*oauth_version=1.0page=1screen_name=Sanoop_SP * Signature*:FcKenujneOtQklp6HZYDkRc7BYzelW9Fsadj324REpV1owATZgqcsx3R6FaM0qGilyBRkkP95zwNVosGoSnc *Base string*:GEThttps%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses%2Fuser_timeline.jsonoauth_consumer_key%%26oauth_nonce%3DEF2k_xwovJInFfq%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1292480095%26oauth_token%**%26oauth_version%3D1.0%26page%3D1%26screen_name%3DSanoop_SP What mistake I have made in this. Please reply. I am waiting for your reply. Regards, George On Wed, Dec 15, 2010 at 11:21 PM, Tom van der Woerdt i...@tvdw.eu wrote: Hi George, There have been some changes to Twitter's API and while not all of them have been activated yet, some of them may apply to you. Incorrect signature usually means that your signature is bad. This can mean a lot of things, but if only your user_timeline part is broken, you can start by looking at these : * Make sure that the URL in the Base String does not contain the query part of an URL (= anything after (and including) the ? part of the URL) - Good: https://api.twitter.com/1/statuses/user_timeline.json - Bad: https://api.twitter.com/1/statuses/user_timeline.json?count=200 Of course, this only applies to the Base String. Making a GET request is still fine. * Make sure that you specify the correct method in the Base String. - If you are making a GET request, put GET in the Base String. * Make sure that you properly URL-encode all values in the Base String - Good: Hello%20Twitter - Bad: Hello+Twitter - (This does not really apply to user_timeline) If you checked the above and the issue is still there, please show us a sample Base String and a dump of the request you make to the Twitter API. Tom On 12/15/10 6:06 PM, Georgooty varghese wrote: Dear Twitter, I have been created a twitter application. I got xauth token for my application. I have implemented twitter functionalities like home tweets, user info, follower details, following details, user time line. These functionalities working smoothly. Also get each user time line . But Todat, usser time url is not working right now. I got incorrect signature exception.. Though usertime line qury is not working yesterday. I have no change any line code. If any change need to my coding? Anybody please help me.. I am waiting for your reply. 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 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] Problem - SSL CA cert
Hi, I am sincere thanks to all twitter engineers.. Special thanks to Cameron Kaisor and John Adams. Thanks for the valuable inputs. I updated the crypto library with new version and the problem got fixed. Once again, I am thanks to all twitter engineers. Regards, George On Wed, Dec 1, 2010 at 12:08 PM, Cameron Kaiser spec...@floodgap.comwrote: _Info: error:140D108E:SSL routines:TLS1_CHANGE_CIPHER_STATE:compression library error_ This suggests a problem in your crypto library, or less likely zlib. I dont understand about crypto libray or less likely zlib... Could u please give a description for this. What do this for twitter ? This is getting off-topic for this list, but in brief, this refers to your cryptographic library which is being used to handle the encryption and decryption to Twitter's SSL server. zlib refers to the specific compression library your system likely uses (and you will note that this is referenced in the error above). Many crypto libraries use zlib. You should make sure that your cryptographic software, such as NSS or OpenSSL, passes all of its built-in self-tests such as by running 'make test' in the source directory for your crypto distro. If it doesn't work, SSL through libcurl won't either. If you're still not sure what this is, you probably should be referring to the libcurl documentation for more. libcurl can use either NSS or OpenSSL. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- You can't kill me because I've got magic aaargh. -- Terry Pratchett -- 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] Problem - SSL CA cert
Thanks for quick reply. I will check it and reply the status soon. Regards, George On Tue, Nov 30, 2010 at 11:38 PM, John Adams j...@twitter.com wrote: On Mon, Nov 29, 2010 at 11:11 PM, Georgooty varghese georgo...@gmail.comwrote: Dear Twitter, I wont be able to log in to twitter insecure using twitter(using curl command line tool, you disable this with -k/--insecure). But facebook has no problem. Why this? I think that client need a certifuication? Is it right? Twitter uses an EV Certificate issued by Verisign. Facebook uses a 3rd party EV Certificate, which is not issued by Verisign. Some versions of curl do not ship with a proper certificate chain. That's why you're having issues verifying the certificate. The attached CA Bundle file will fix your issue. While it's 239K, you really only need the CA and Intermediate certs in this file for Verisign. You can remove the rest. This file gets loaded in your code with: curl_easy_setopt(m_hcURL, CURLOPT_CAINFO,curl-ca-bundle.crt)); Your hardware may also have additional dependencies on having an accurate, real-time clock, depending on how you communicate with the API and what level of verification you do on SSL certs. Make sure that's set correctly as well. -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
Re: [twitter-dev] Problem - SSL CA cert
Dear Twitter, I have checked. But its not working. I tried the curl-ca-bundle.crt file and also tried ca-certificates.crt files that comes with Ubuntu-10.04 In both cases I am getting the following error . “Info: error:140D108E:SSL routines:TLS1_CHANGE_CIPHER_STATE:compression library error” I have attached the log file with this mail Command I used curl --capath /etc/ssl/certs/ --cacert /etc/ssl/certs/ca-certificates.crt --trace /etc/error.txt https://api.twitter.com curl --capath /etc/ssl/certs/ --cacert /etc/ssl/certs/ curl-ca-bundle.crt --trace /etc/error.txt https://api.twitter.com Anybody please help meI am waiting for your reply. Regards, George On Tue, Nov 30, 2010 at 11:38 PM, John Adams j...@twitter.com wrote: On Mon, Nov 29, 2010 at 11:11 PM, Georgooty varghese georgo...@gmail.comwrote: Dear Twitter, I wont be able to log in to twitter insecure using twitter(using curl command line tool, you disable this with -k/--insecure). But facebook has no problem. Why this? I think that client need a certifuication? Is it right? Twitter uses an EV Certificate issued by Verisign. Facebook uses a 3rd party EV Certificate, which is not issued by Verisign. Some versions of curl do not ship with a proper certificate chain. That's why you're having issues verifying the certificate. The attached CA Bundle file will fix your issue. While it's 239K, you really only need the CA and Intermediate certs in this file for Verisign. You can remove the rest. This file gets loaded in your code with: curl_easy_setopt(m_hcURL, CURLOPT_CAINFO,curl-ca-bundle.crt)); Your hardware may also have additional dependencies on having an accurate, real-time clock, depending on how you communicate with the API and what level of verification you do on SSL certs. Make sure that's set correctly as well. -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 == Info: SSLv3, TLS handshake, Client hello (1): = Send SSL data, 108 bytes (0x6c) : 01 00 00 68 03 01 4c f4 e3 8f 1f c6 be 81 5c ca ...h..L...\. 0010: 25 3e 9e 7f 75 dd 06 fc b3 ce b0 7f 5c 5c fc d5 %.u..\\.. 0020: 1b bb 1b ae 04 ee 00 00 26 00 39 00 38 00 35 00 .9.8.5. 0030: 16 00 13 00 0a 00 33 00 32 00 2f 00 07 00 05 00 ..3.2./. 0040: 04 00 15 00 12 00 09 00 14 00 11 00 08 00 03 02 0050: 01 00 00 18 00 00 00 14 00 12 00 00 0f 61 70 69 .api 0060: 2e 74 77 69 74 74 65 72 2e 63 6f 6d .twitter.com == Info: SSLv3, TLS handshake, Server hello (2): = Recv SSL data, 74 bytes (0x4a) : 02 00 00 46 03 01 4c f4 e3 8f ff 96 8b 4b c1 48 ...F..L..K.H 0010: c5 e6 a5 e6 79 46 7e a9 1e ed 3d 55 86 56 f0 28 yF~...=U.V.( 0020: 1a 60 1c 1e 88 00 20 19 f1 fc ab 00 28 0f 51 94 .` .(.Q. 0030: 1c 0f 63 90 89 34 0c cd 5b 36 c0 34 47 ec 9d db ..c..4..[6.4G... 0040: 61 7e fe f3 12 70 fc 00 39 01 a~...p..9. == Info: SSLv3, TLS handshake, CERT (11): = Recv SSL data, 1040 bytes (0x410) : 0b 00 04 0c 00 04 09 00 04 06 30 82 04 02 30 82 ..0...0. 0010: 03 6b a0 03 02 01 02 02 03 13 e1 36 30 0d 06 09 .k.60... 0020: 2a 86 48 86 f7 0d 01 01 05 05 00 30 4e 31 0b 30 *.H0N1.0 0030: 09 06 03 55 04 06 13 02 55 53 31 10 30 0e 06 03 ...UUS1.0... 0040: 55 04 0a 13 07 45 71 75 69 66 61 78 31 2d 30 2b UEquifax1-0+ 0050: 06 03 55 04 0b 13 24 45 71 75 69 66 61 78 20 53 ..U...$Equifax S 0060: 65 63 75 72 65 20 43 65 72 74 69 66 69 63 61 74 ecure Certificat 0070: 65 20 41 75 74 68 6f 72 69 74 79 30 1e 17 0d 31 e Authority0...1 0080: 30 30 37 31 33 31 30 34 30 31 36 5a 17 0d 31 31 00713104016Z..11 0090: 30 38 31 35 31 32 35 35 31 37 5a 30 81 e1 31 29 0815125517Z0..1) 00a0: 30 27 06 03 55 04 05 13 20 5a 79 73 32 64 4a 4a 0'..U... Zys2dJJ 00b0: 30 39 45 50 6f 45 56 47 58 59 74 65 67 49 64 78 09EPoEVGXYtegIdx 00c0: 47 33 4f 5a 74 45 4f 69 62 31 0b 30 09 06 03 55 G3OZtEOib1.0...U 00d0: 04 06 13 02 55 53 31 16 30 14 06 03 55 04 0a 0c US1.0...U... 00e0: 0d 2a 2e 74 77 69 74 74 65 72 2e 63 6f 6d 31 13 .*.twitter.com1. 00f0: 30 11 06 03 55 04 0b 13 0a 47 54 35 37 39 33 32 0...UGT57932 0100: 30 37 34 31 31 30 2f 06 03 55 04 0b 13 28 53 65 074110/..U...(Se 0110: 65 20 77 77 77 2e 72 61 70 69 64 73 73 6c 2e 63 e www.rapidssl.c 0120: 6f 6d 2f 72 65 73 6f 75 72 63 65 73 2f 63 70 73 om/resources/cps 0130: 20 28 63 29 31 30 31 2f 30 2d 06 03 55 04 0b 13 (c)101/0-..U
Re: [twitter-dev] Problem - SSL CA cert
Dear Twitter, I dont understand about crypto libray or less likely zlib... Could u please give a description for this. What do this for twitter ? Where is get from or less likely zlib.? I am waiting for your reply Regards, George On Wed, Dec 1, 2010 at 10:27 AM, Cameron Kaiser spec...@floodgap.comwrote: _Info: error:140D108E:SSL routines:TLS1_CHANGE_CIPHER_STATE:compression library error_ This suggests a problem in your crypto library, or less likely zlib. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- Never say never again. - -- 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] Problem - SSL CA cert
Dear Twitter, I wont be able to log in to twitter insecure using twitter(using curl command line tool, you disable this with -k/--insecure). But facebook has no problem. Why this? I think that client need a certifuication? Is it right? Anybody please help me? I am waiting for your reply. Regards, George. On Mon, Nov 29, 2010 at 1:04 PM, Georgooty varghese georgo...@gmail.comwrote: Dear Twitter, Thanks for reply. I do the the all things says in http://curl.haxx.se/docs/sslcerts.html . So the issue solved in the PC using libcurl. But the issue not solved in embedded environment board. I have copied the same file in board, but the issue not solved. If any other certification need in board?. How the issue is solved? Anybody please help me. Regards, George On Thu, Nov 25, 2010 at 6:13 PM, Cameron Kaiser spec...@floodgap.comwrote: I have developed a twitter application in C language using Libcurl. I have used xAuth authentication.The application was working in PC as fine. I am special thanks to twitter engineers for helping to me successfully completion of twitter application in PC. Now I am facing a critical issue. My C code is inegrating into embedded environment (board), I got SSL certification pblm when query accesstoken(HTTPS). I can't get the accesstoken. What certificates do I need when I use SSL?. What certification need twitter for SSL(HTTPS).? How to get the secure SSL certificate? http://curl.haxx.se/docs/sslcerts.html -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- Bugs of a feather flock together. -- Russell Nelson -- 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] Problem - SSL CA cert
Dear Twitter, Thanks for reply. I do the the all things says in http://curl.haxx.se/docs/sslcerts.html . So the issue solved in the PC using libcurl. But the issue not solved in embedded environment board. I have copied the same file in board, but the issue not solved. If any other certification need in board?. How the issue is solved? Anybody please help me. Regards, George On Thu, Nov 25, 2010 at 6:13 PM, Cameron Kaiser spec...@floodgap.comwrote: I have developed a twitter application in C language using Libcurl. I have used xAuth authentication.The application was working in PC as fine. I am special thanks to twitter engineers for helping to me successfully completion of twitter application in PC. Now I am facing a critical issue. My C code is inegrating into embedded environment (board), I got SSL certification pblm when query accesstoken(HTTPS). I can't get the accesstoken. What certificates do I need when I use SSL?. What certification need twitter for SSL(HTTPS).? How to get the secure SSL certificate? http://curl.haxx.se/docs/sslcerts.html -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- Bugs of a feather flock together. -- Russell Nelson -- 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 - SSL CA cert
Dear Twitter, I have developed a twitter application in C language using Libcurl. I have used xAuth authentication.The application was working in PC as fine. I am special thanks to twitter engineers for helping to me successfully completion of twitter application in PC. Now I am facing a critical issue. My C code is inegrating into embedded environment (board), I got SSL certification pblm when query accesstoken(HTTPS). I can't get the accesstoken. What certificates do I need when I use SSL?. What certification need twitter for SSL(HTTPS).? How to get the secure SSL certificate? Could u please help me?. I am waiting for your reply.. 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
Re: [twitter-dev] twitter
Hi, Could you give more information.. On Mon, Nov 22, 2010 at 3:20 PM, deepa.23.naga...@gmail.com deepa.23.naga...@gmail.com wrote: Hi i am getting verify credential error... Please can you suggest me.. Thank you, deepa -- 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] 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
Re: [twitter-dev] Incorrect signature while getting home tweets
Thank u twitter..Thank u very much. Now the issue was resolved Regards, George On Mon, Oct 18, 2010 at 8:15 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: When using headers, you need to wrap each value in quotes. The authorization header should contain only oauth_* parameters, not any additional query parameters that may have been part of your request. Here's an example of the same request you're trying to make (with different keys, but the same basic request). Note the format of the authorization header. *Signature Base String* GEThttp%3A%2F%2Fapi.twitter.com %2F1%2Fstatuses%2Fhome_timeline.jsonoauth_consumer_key%3Dri8JxYK2ddwSV5xIUfNNvQ%26oauth_nonce%3DaZj92w9Wna0lSdL8RsGuNPi7YWyLPaVxTX5k1Xqo%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1287412992%26oauth_token%3D819797-torCkTs0XK7H2Y2i1ee5iofqkMC4p7aayeEXRTmlw%26oauth_version%3D1.0%26page%3D1 *Authorization Header* OAuth oauth_nonce=aZj92w9Wna0lSdL8RsGuNPi7YWyLPaVxTX5k1Xqo, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1287412992, oauth_consumer_key=ri8JxYK2ddwSV5xIUfNNvQ, oauth_token=819797-torCkTs0XK7H2Y2i1ee5iofqkMC4p7aayeEXRTmlw, oauth_signature=Cucyk%2FMx0saSsJA%2B79fe29HZu9Q%3D, oauth_version=1.0 *Executed URL* http://api.twitter.com/1/statuses/home_timeline.json?page=1 Taylor On Mon, Oct 18, 2010 at 6:04 AM, Georgooty varghese georgo...@gmail.comwrote: could you please help me .. I am waiting for your reply... On Mon, Oct 18, 2010 at 1:39 PM, Georgooty varghese georgo...@gmail.comwrote: Now I set to http header name is Authorization header value = oauth_consumer_key=**,oauth_nonce=b8qoVIxfQyEOOgu6vHjN215,oauth_signature_method=HMAC-SHA1, oauth_timestamp=1287389017,oauth_token=*,oauth_version=1.0,page=1 ,oauth_signature=cY%2F7W%2FuLWCidUD7KziKFwOcM9RI%3D http req url = http://api.twitter.com/1/statuses/home_timeline.json?page=1 But Its not working {error:Could not authenticate you.,request:/1/statuses/home_timeline.json?page=1} I have posted a tweet successfully in to twitter server using query string authentication. The followers/following url's working fine using query string auth params. B Home tweets and credential url was not working. Could u please help me .. I am waiting for your response. On Sat, Oct 16, 2010 at 4:08 PM, Tom van der Woerdt i...@tvdw.euwrote: The syntax of that header is wrong. Please look at http://dev.twitter.com/pages/auth for the correct syntax. Tom On 10/16/10 9:23 AM, Georgooty varghese wrote: * Now I set to Http header value Header name = Authorization value = http://api.twitter.com/1/statuses/home_timeline.json?oauth_consumer_key=*oauth_nonce=QyRr PmridwwSG6oEsr4EIoauth_signature_method=HMAC-SHA1oauth_timestamp=1287212752oauth_token=***oauth_version=1.0oauth_signature=WMYyqUYpD4lIfe8f3v3u1o2r2uk%3D Now i got {error:Could not authenticate you.,request:/1/statuses/home_timeline.json} exception message. What can I do for resolve this exception. On Thu, Oct 14, 2010 at 7:30 PM, Taylor Singletary taylorsinglet...@twitter.com mailto:taylorsinglet...@twitter.com wrote: Without getting to deep into this, some advice: * Use HTTP header based authentication instead of attaching OAuth parameters to the query string. It makes it much more difficult to receive assistance from others when you use query-string based auth and increases the chances of an encoding error exponentially. * Avoid strange characters in an oauth_nonce. When possible, avoid the ~ character entirely -- depending on the language and libraries you are using, some are less spec compliant than others on characters like tilde * That you were able to negotiate oauth_tokens through xAuth is a good sign that your code does something right. POSTs are harder than GETs. There must be something simple wrong with your GET. Look very closely. Compare to the spec if necessary. Compare to other code that produces the correct results. Taylor On Thu, Oct 14, 2010 at 4:06 AM, Georgooty varghese georgo...@gmail.com mailto:georgo...@gmail.com wrote: Before I have implemented a twitter client in C# using xAuth authentication . At that application I have used xauth params for each url signin. Any problem I didn't get. That aclient application works fine. Now I have changed language C# to C. I have used liboauth library. I got oauth_token and oauth_token_secret values successfully. Then I have try to get home tweets. But i got incorrect signature. Base URL -- GEThttp%3A%2F%2Fapi.twitter.com http://2Fapi.twitter.com %2F1%2Fstatuses%2Fhome_timeline.jsonoauth_consumer_key%3DOm TQVOKDomNbrHuuudS4Q%26oauth_nonce%3DuQTDMWP-6tFdwTAbDwiHeyrP7NEZ
Re: [twitter-dev] Incorrect signature while getting home tweets
Now I set to http header name is Authorization header value = oauth_consumer_key=**,oauth_nonce=b8qoVIxfQyEOOgu6vHjN215,oauth_signature_method=HMAC-SHA1, oauth_timestamp=1287389017,oauth_token=*,oauth_version=1.0,page=1 ,oauth_signature=cY%2F7W%2FuLWCidUD7KziKFwOcM9RI%3D http req url = http://api.twitter.com/1/statuses/home_timeline.json?page=1 But Its not working {error:Could not authenticate you.,request:/1/statuses/home_timeline.json?page=1} I have posted a tweet successfully in to twitter server using query string authentication. The followers/following url's working fine using query string auth params. B Home tweets and credential url was not working. Could u please help me .. I am waiting for your response. On Sat, Oct 16, 2010 at 4:08 PM, Tom van der Woerdt i...@tvdw.eu wrote: The syntax of that header is wrong. Please look at http://dev.twitter.com/pages/auth for the correct syntax. Tom On 10/16/10 9:23 AM, Georgooty varghese wrote: * Now I set to Http header value Header name = Authorization value = http://api.twitter.com/1/statuses/home_timeline.json?oauth_consumer_key=*oauth_nonce=QyRr PmridwwSG6oEsr4EIoauth_signature_method=HMAC-SHA1oauth_timestamp=1287212752oauth_token=***oauth_version=1.0oauth_signature=WMYyqUYpD4lIfe8f3v3u1o2r2uk%3D Now i got {error:Could not authenticate you.,request:/1/statuses/home_timeline.json} exception message. What can I do for resolve this exception. On Thu, Oct 14, 2010 at 7:30 PM, Taylor Singletary taylorsinglet...@twitter.com mailto:taylorsinglet...@twitter.com wrote: Without getting to deep into this, some advice: * Use HTTP header based authentication instead of attaching OAuth parameters to the query string. It makes it much more difficult to receive assistance from others when you use query-string based auth and increases the chances of an encoding error exponentially. * Avoid strange characters in an oauth_nonce. When possible, avoid the ~ character entirely -- depending on the language and libraries you are using, some are less spec compliant than others on characters like tilde * That you were able to negotiate oauth_tokens through xAuth is a good sign that your code does something right. POSTs are harder than GETs. There must be something simple wrong with your GET. Look very closely. Compare to the spec if necessary. Compare to other code that produces the correct results. Taylor On Thu, Oct 14, 2010 at 4:06 AM, Georgooty varghese georgo...@gmail.com mailto:georgo...@gmail.com wrote: Before I have implemented a twitter client in C# using xAuth authentication . At that application I have used xauth params for each url signin. Any problem I didn't get. That aclient application works fine. Now I have changed language C# to C. I have used liboauth library. I got oauth_token and oauth_token_secret values successfully. Then I have try to get home tweets. But i got incorrect signature. Base URL -- GEThttp%3A%2F%2Fapi.twitter.com http://2Fapi.twitter.com %2F1%2Fstatuses%2Fhome_timeline.jsonoauth_consumer_key%3DOm TQVOKDomNbrHuuudS4Q%26oauth_nonce%3DuQTDMWP-6tFdwTAbDwiHeyrP7NEZ%26oauth_signature_method%3DHMAC-SH A1%26oauth_timestamp%3D1287053858%26oauth_token%3D144717423-P3to4wvZPFsgrIQWBAZPjlEAm39tfEtaao7HQWA7%26oauth_version%3D1.0 Signature - FcKenujneOtQklp6HZYDkRc7BYzelW9Fsadj324REdirvhD970MRu oQxPM2uOfzocpkRT3m0LKn0HPDcKkM URL -- http://api.twitter.com/1/statuses/home_timeline.json?oauth_consumer_key=OmTQVOKDomNbrHuuudS4Qo http://api.twitter.com/1/statuses/home_timeline.json?oauth_consumer_key=OmTQVOKDomNbrHuuudS4Qo auth_nonce=uQTDMWP-6tFdwTAbDwiHeyrP7NEZoauth_signature_method=HMAC-SHA1oauth_timestamp=1287053858 oauth_token=144717423-P3to4wvZPFsgrIQWBAZPjlEAm39tfEtaao7HQWA7oauth_version=1.0oauth_signature=wgRPZqaIJU%2BrkHOSAN99JreWLr4%3D Error response look like below. --- Header received header name:Date Value:Thu, 14 Oct 2010 10:57:39 GMT NN 2010-10-14 16:27:39.700 Header received header name:Server Value:hi NN 2010-10-14 16:27:39.700 Header received header name:Status Value:401 Unauthorized NN 2010-10-14 16:27:39.700 Header received header name:WWW-Authenticate Value:Basic realm=Twitter API NN 2010-10-14 16:27:39.700 Header received header name:Content-Type Value:application/json; charset=utf-8 NN 2010-10-14 16:27:39.700 Header received header
Re: [twitter-dev] Incorrect signature while getting home tweets
could you please help me .. I am waiting for your reply... On Mon, Oct 18, 2010 at 1:39 PM, Georgooty varghese georgo...@gmail.comwrote: Now I set to http header name is Authorization header value = oauth_consumer_key=**,oauth_nonce=b8qoVIxfQyEOOgu6vHjN215,oauth_signature_method=HMAC-SHA1, oauth_timestamp=1287389017,oauth_token=*,oauth_version=1.0,page=1 ,oauth_signature=cY%2F7W%2FuLWCidUD7KziKFwOcM9RI%3D http req url = http://api.twitter.com/1/statuses/home_timeline.json?page=1 But Its not working {error:Could not authenticate you.,request:/1/statuses/home_timeline.json?page=1} I have posted a tweet successfully in to twitter server using query string authentication. The followers/following url's working fine using query string auth params. B Home tweets and credential url was not working. Could u please help me .. I am waiting for your response. On Sat, Oct 16, 2010 at 4:08 PM, Tom van der Woerdt i...@tvdw.eu wrote: The syntax of that header is wrong. Please look at http://dev.twitter.com/pages/auth for the correct syntax. Tom On 10/16/10 9:23 AM, Georgooty varghese wrote: * Now I set to Http header value Header name = Authorization value = http://api.twitter.com/1/statuses/home_timeline.json?oauth_consumer_key=*oauth_nonce=QyRr PmridwwSG6oEsr4EIoauth_signature_method=HMAC-SHA1oauth_timestamp=1287212752oauth_token=***oauth_version=1.0oauth_signature=WMYyqUYpD4lIfe8f3v3u1o2r2uk%3D Now i got {error:Could not authenticate you.,request:/1/statuses/home_timeline.json} exception message. What can I do for resolve this exception. On Thu, Oct 14, 2010 at 7:30 PM, Taylor Singletary taylorsinglet...@twitter.com mailto:taylorsinglet...@twitter.com wrote: Without getting to deep into this, some advice: * Use HTTP header based authentication instead of attaching OAuth parameters to the query string. It makes it much more difficult to receive assistance from others when you use query-string based auth and increases the chances of an encoding error exponentially. * Avoid strange characters in an oauth_nonce. When possible, avoid the ~ character entirely -- depending on the language and libraries you are using, some are less spec compliant than others on characters like tilde * That you were able to negotiate oauth_tokens through xAuth is a good sign that your code does something right. POSTs are harder than GETs. There must be something simple wrong with your GET. Look very closely. Compare to the spec if necessary. Compare to other code that produces the correct results. Taylor On Thu, Oct 14, 2010 at 4:06 AM, Georgooty varghese georgo...@gmail.com mailto:georgo...@gmail.com wrote: Before I have implemented a twitter client in C# using xAuth authentication . At that application I have used xauth params for each url signin. Any problem I didn't get. That aclient application works fine. Now I have changed language C# to C. I have used liboauth library. I got oauth_token and oauth_token_secret values successfully. Then I have try to get home tweets. But i got incorrect signature. Base URL -- GEThttp%3A%2F%2Fapi.twitter.com http://2Fapi.twitter.com %2F1%2Fstatuses%2Fhome_timeline.jsonoauth_consumer_key%3DOm TQVOKDomNbrHuuudS4Q%26oauth_nonce%3DuQTDMWP-6tFdwTAbDwiHeyrP7NEZ%26oauth_signature_method%3DHMAC-SH A1%26oauth_timestamp%3D1287053858%26oauth_token%3D144717423-P3to4wvZPFsgrIQWBAZPjlEAm39tfEtaao7HQWA7%26oauth_version%3D1.0 Signature - FcKenujneOtQklp6HZYDkRc7BYzelW9Fsadj324REdirvhD970MRu oQxPM2uOfzocpkRT3m0LKn0HPDcKkM URL -- http://api.twitter.com/1/statuses/home_timeline.json?oauth_consumer_key=OmTQVOKDomNbrHuuudS4Qo http://api.twitter.com/1/statuses/home_timeline.json?oauth_consumer_key=OmTQVOKDomNbrHuuudS4Qo auth_nonce=uQTDMWP-6tFdwTAbDwiHeyrP7NEZoauth_signature_method=HMAC-SHA1oauth_timestamp=1287053858 oauth_token=144717423-P3to4wvZPFsgrIQWBAZPjlEAm39tfEtaao7HQWA7oauth_version=1.0oauth_signature=wgRPZqaIJU%2BrkHOSAN99JreWLr4%3D Error response look like below. --- Header received header name:Date Value:Thu, 14 Oct 2010 10:57:39 GMT NN 2010-10-14 16:27:39.700 Header received header name:Server Value:hi NN 2010-10-14 16:27:39.700 Header received header name:Status Value:401 Unauthorized NN 2010-10-14 16:27:39.700 Header received header name:WWW-Authenticate Value:Basic realm=Twitter API NN 2010-10-14 16:27:39.700 Header received header
Re: [twitter-dev] Incorrect signature while getting home tweets
Thank u twitter. Could you specify what is header name? On Mon, Oct 18, 2010 at 8:15 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: When using headers, you need to wrap each value in quotes. The authorization header should contain only oauth_* parameters, not any additional query parameters that may have been part of your request. Here's an example of the same request you're trying to make (with different keys, but the same basic request). Note the format of the authorization header. *Signature Base String* GEThttp%3A%2F%2Fapi.twitter.com %2F1%2Fstatuses%2Fhome_timeline.jsonoauth_consumer_key%3Dri8JxYK2ddwSV5xIUfNNvQ%26oauth_nonce%3DaZj92w9Wna0lSdL8RsGuNPi7YWyLPaVxTX5k1Xqo%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1287412992%26oauth_token%3D819797-torCkTs0XK7H2Y2i1ee5iofqkMC4p7aayeEXRTmlw%26oauth_version%3D1.0%26page%3D1 *Authorization Header* OAuth oauth_nonce=aZj92w9Wna0lSdL8RsGuNPi7YWyLPaVxTX5k1Xqo, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1287412992, oauth_consumer_key=ri8JxYK2ddwSV5xIUfNNvQ, oauth_token=819797-torCkTs0XK7H2Y2i1ee5iofqkMC4p7aayeEXRTmlw, oauth_signature=Cucyk%2FMx0saSsJA%2B79fe29HZu9Q%3D, oauth_version=1.0 *Executed URL* http://api.twitter.com/1/statuses/home_timeline.json?page=1 Taylor On Mon, Oct 18, 2010 at 6:04 AM, Georgooty varghese georgo...@gmail.comwrote: could you please help me .. I am waiting for your reply... On Mon, Oct 18, 2010 at 1:39 PM, Georgooty varghese georgo...@gmail.comwrote: Now I set to http header name is Authorization header value = oauth_consumer_key=**,oauth_nonce=b8qoVIxfQyEOOgu6vHjN215,oauth_signature_method=HMAC-SHA1, oauth_timestamp=1287389017,oauth_token=*,oauth_version=1.0,page=1 ,oauth_signature=cY%2F7W%2FuLWCidUD7KziKFwOcM9RI%3D http req url = http://api.twitter.com/1/statuses/home_timeline.json?page=1 But Its not working {error:Could not authenticate you.,request:/1/statuses/home_timeline.json?page=1} I have posted a tweet successfully in to twitter server using query string authentication. The followers/following url's working fine using query string auth params. B Home tweets and credential url was not working. Could u please help me .. I am waiting for your response. On Sat, Oct 16, 2010 at 4:08 PM, Tom van der Woerdt i...@tvdw.euwrote: The syntax of that header is wrong. Please look at http://dev.twitter.com/pages/auth for the correct syntax. Tom On 10/16/10 9:23 AM, Georgooty varghese wrote: * Now I set to Http header value Header name = Authorization value = http://api.twitter.com/1/statuses/home_timeline.json?oauth_consumer_key=*oauth_nonce=QyRr PmridwwSG6oEsr4EIoauth_signature_method=HMAC-SHA1oauth_timestamp=1287212752oauth_token=***oauth_version=1.0oauth_signature=WMYyqUYpD4lIfe8f3v3u1o2r2uk%3D Now i got {error:Could not authenticate you.,request:/1/statuses/home_timeline.json} exception message. What can I do for resolve this exception. On Thu, Oct 14, 2010 at 7:30 PM, Taylor Singletary taylorsinglet...@twitter.com mailto:taylorsinglet...@twitter.com wrote: Without getting to deep into this, some advice: * Use HTTP header based authentication instead of attaching OAuth parameters to the query string. It makes it much more difficult to receive assistance from others when you use query-string based auth and increases the chances of an encoding error exponentially. * Avoid strange characters in an oauth_nonce. When possible, avoid the ~ character entirely -- depending on the language and libraries you are using, some are less spec compliant than others on characters like tilde * That you were able to negotiate oauth_tokens through xAuth is a good sign that your code does something right. POSTs are harder than GETs. There must be something simple wrong with your GET. Look very closely. Compare to the spec if necessary. Compare to other code that produces the correct results. Taylor On Thu, Oct 14, 2010 at 4:06 AM, Georgooty varghese georgo...@gmail.com mailto:georgo...@gmail.com wrote: Before I have implemented a twitter client in C# using xAuth authentication . At that application I have used xauth params for each url signin. Any problem I didn't get. That aclient application works fine. Now I have changed language C# to C. I have used liboauth library. I got oauth_token and oauth_token_secret values successfully. Then I have try to get home tweets. But i got incorrect signature. Base URL -- GEThttp%3A%2F%2Fapi.twitter.com http://2Fapi.twitter.com %2F1%2Fstatuses%2Fhome_timeline.jsonoauth_consumer_key%3DOm TQVOKDomNbrHuuudS4Q%26oauth_nonce%3DuQTDMWP-6tFdwTAbDwiHeyrP7NEZ%26oauth_signature_method%3DHMAC-SH A1
Re: [twitter-dev] Incorrect signature while getting home tweets
Any body please help me? On Fri, Oct 15, 2010 at 11:00 AM, Georgooty varghese georgo...@gmail.comwrote: * Now I have removed oauth parameters in query string and added it to HTTP header. * Removed ~ char from auth nonce (reserved chars) Now i got another exception Could not authenticate you Could u please help me.. On Thu, Oct 14, 2010 at 7:30 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Without getting to deep into this, some advice: * Use HTTP header based authentication instead of attaching OAuth parameters to the query string. It makes it much more difficult to receive assistance from others when you use query-string based auth and increases the chances of an encoding error exponentially. * Avoid strange characters in an oauth_nonce. When possible, avoid the ~ character entirely -- depending on the language and libraries you are using, some are less spec compliant than others on characters like tilde * That you were able to negotiate oauth_tokens through xAuth is a good sign that your code does something right. POSTs are harder than GETs. There must be something simple wrong with your GET. Look very closely. Compare to the spec if necessary. Compare to other code that produces the correct results. Taylor On Thu, Oct 14, 2010 at 4:06 AM, Georgooty varghese georgo...@gmail.comwrote: Before I have implemented a twitter client in C# using xAuth authentication . At that application I have used xauth params for each url signin. Any problem I didn't get. That aclient application works fine. Now I have changed language C# to C. I have used liboauth library. I got oauth_token and oauth_token_secret values successfully. Then I have try to get home tweets. But i got incorrect signature. Base URL -- GEThttp%3A%2F%2Fapi.twitter.com %2F1%2Fstatuses%2Fhome_timeline.jsonoauth_consumer_key%3DOm TQVOKDomNbrHuuudS4Q%26oauth_nonce%3DuQTDMWP-6tFdwTAbDwiHeyrP7NEZ%26oauth_signature_method%3DHMAC-SH A1%26oauth_timestamp%3D1287053858%26oauth_token%3D144717423-P3to4wvZPFsgrIQWBAZPjlEAm39tfEtaao7HQWA7%26oauth_version%3D1.0 Signature - FcKenujneOtQklp6HZYDkRc7BYzelW9Fsadj324REdirvhD970MRu oQxPM2uOfzocpkRT3m0LKn0HPDcKkM URL -- http://api.twitter.com/1/statuses/home_timeline.json?oauth_consumer_key=OmTQVOKDomNbrHuuudS4Qo auth_nonce=uQTDMWP-6tFdwTAbDwiHeyrP7NEZoauth_signature_method=HMAC-SHA1oauth_timestamp=1287053858 oauth_token=144717423-P3to4wvZPFsgrIQWBAZPjlEAm39tfEtaao7HQWA7oauth_version=1.0oauth_signature=wgRPZqaIJU%2BrkHOSAN99JreWLr4%3D Error response look like below. --- Header received header name:Date Value:Thu, 14 Oct 2010 10:57:39 GMT NN 2010-10-14 16:27:39.700 Header received header name:Server Value:hi NN 2010-10-14 16:27:39.700 Header received header name:Status Value:401 Unauthorized NN 2010-10-14 16:27:39.700 Header received header name:WWW-Authenticate Value:Basic realm=Twitter API NN 2010-10-14 16:27:39.700 Header received header name:Content-Type Value:application/json; charset=utf-8 NN 2010-10-14 16:27:39.700 Header received header name:Content-Length Value:350 NN 2010-10-14 16:27:39.700 Header received header name:Cache-Control Value:no-cache, max-age=300 NN 2010-10-14 16:27:39.700 Header received header name:Set-Cookie Value:k=121.241.181.70.1287053859204701; path=/; expires=Thu, 21-Oct-10 10:57:39 GMT; domain=. twitter.com NN 2010-10-14 16:27:39.700 Header received header name:Set-Cookie Value:guest_id=128705385920759845; path=/; expires=Sat, 13 Nov 2010 10:57:39 GMT NN 2010-10-14 16:27:39.700 Header received header name:Set-Cookie Value:_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCI9ZY6orAToHaWQiJWNhNWJkMWFkNWNkZDQ0%250ANzkzZTUxZTdmMD AxY2YwMDNhIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy%250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--39a08a fc637e1b3666e4066c100f477a9bfbd5b4; domain=. twitter.com; path=/ NN 2010-10-14 16:27:39.700 Header received header name:Expires Value:Thu, 14 Oct 2010 11:02:39 GMT NN 2010-10-14 16:27:39.700 Header received header name:Vary Value:Accept-Encoding NN 2010-10-14 16:27:39.700 Header received header name:Connection Value:close NN 2010-10-14 16:27:39.700 Data:{error:Incorrect signature,request:/1/statuses/home_timeline.json?oauth_consumer_key=OmTQVOKDomNbrHuuudS4Qoauth _nonce=uQTDMWP-6tFdwTAbDwiHeyrP7NEZoauth_signature_method=HMAC-SHA1oauth_timestamp=1287053858oau th_token=144717423-P3to4wvZPFsgrIQWBAZPjlEAm39tfEtaao7HQWA7oauth_version=1.0oauth_signature=wgRPZ qaIJU%252BrkHOSAN99JreWLr4%253D} .Now I am strucked. Any body please help me. Regards, George On Thu, Oct 14, 2010 at 12:11 PM, Georgooty varghese georgo...@gmail.com wrote: Base string look like GEThttp%3A%2F%2Fapi.twitter.com %2F1%2Fstatuses
Re: [twitter-dev] Incorrect signature while getting home tweets
* Now I set to Http header value Header name = Authorization value = http://api.twitter.com/1/statuses/home_timeline.json?oauth_consumer_key= *oauth_nonce=QyRr PmridwwSG6oEsr4EIoauth_signature_method=HMAC-SHA1oauth_timestamp=1287212752oauth_token=***oauth_version=1.0oauth_signature=WMYyqUYpD4lIfe8f3v3u1o2r2uk%3D Now i got {error:Could not authenticate you.,request:/1/statuses/home_timeline.json} exception message. What can I do for resolve this exception. On Thu, Oct 14, 2010 at 7:30 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Without getting to deep into this, some advice: * Use HTTP header based authentication instead of attaching OAuth parameters to the query string. It makes it much more difficult to receive assistance from others when you use query-string based auth and increases the chances of an encoding error exponentially. * Avoid strange characters in an oauth_nonce. When possible, avoid the ~ character entirely -- depending on the language and libraries you are using, some are less spec compliant than others on characters like tilde * That you were able to negotiate oauth_tokens through xAuth is a good sign that your code does something right. POSTs are harder than GETs. There must be something simple wrong with your GET. Look very closely. Compare to the spec if necessary. Compare to other code that produces the correct results. Taylor On Thu, Oct 14, 2010 at 4:06 AM, Georgooty varghese georgo...@gmail.comwrote: Before I have implemented a twitter client in C# using xAuth authentication . At that application I have used xauth params for each url signin. Any problem I didn't get. That aclient application works fine. Now I have changed language C# to C. I have used liboauth library. I got oauth_token and oauth_token_secret values successfully. Then I have try to get home tweets. But i got incorrect signature. Base URL -- GEThttp%3A%2F%2Fapi.twitter.com %2F1%2Fstatuses%2Fhome_timeline.jsonoauth_consumer_key%3DOm TQVOKDomNbrHuuudS4Q%26oauth_nonce%3DuQTDMWP-6tFdwTAbDwiHeyrP7NEZ%26oauth_signature_method%3DHMAC-SH A1%26oauth_timestamp%3D1287053858%26oauth_token%3D144717423-P3to4wvZPFsgrIQWBAZPjlEAm39tfEtaao7HQWA7%26oauth_version%3D1.0 Signature - FcKenujneOtQklp6HZYDkRc7BYzelW9Fsadj324REdirvhD970MRu oQxPM2uOfzocpkRT3m0LKn0HPDcKkM URL -- http://api.twitter.com/1/statuses/home_timeline.json?oauth_consumer_key=OmTQVOKDomNbrHuuudS4Qo auth_nonce=uQTDMWP-6tFdwTAbDwiHeyrP7NEZoauth_signature_method=HMAC-SHA1oauth_timestamp=1287053858 oauth_token=144717423-P3to4wvZPFsgrIQWBAZPjlEAm39tfEtaao7HQWA7oauth_version=1.0oauth_signature=wgRPZqaIJU%2BrkHOSAN99JreWLr4%3D Error response look like below. --- Header received header name:Date Value:Thu, 14 Oct 2010 10:57:39 GMT NN 2010-10-14 16:27:39.700 Header received header name:Server Value:hi NN 2010-10-14 16:27:39.700 Header received header name:Status Value:401 Unauthorized NN 2010-10-14 16:27:39.700 Header received header name:WWW-Authenticate Value:Basic realm=Twitter API NN 2010-10-14 16:27:39.700 Header received header name:Content-Type Value:application/json; charset=utf-8 NN 2010-10-14 16:27:39.700 Header received header name:Content-Length Value:350 NN 2010-10-14 16:27:39.700 Header received header name:Cache-Control Value:no-cache, max-age=300 NN 2010-10-14 16:27:39.700 Header received header name:Set-Cookie Value:k=121.241.181.70.1287053859204701; path=/; expires=Thu, 21-Oct-10 10:57:39 GMT; domain=. twitter.com NN 2010-10-14 16:27:39.700 Header received header name:Set-Cookie Value:guest_id=128705385920759845; path=/; expires=Sat, 13 Nov 2010 10:57:39 GMT NN 2010-10-14 16:27:39.700 Header received header name:Set-Cookie Value:_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCI9ZY6orAToHaWQiJWNhNWJkMWFkNWNkZDQ0%250ANzkzZTUxZTdmMD AxY2YwMDNhIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy%250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--39a08a fc637e1b3666e4066c100f477a9bfbd5b4; domain=. twitter.com; path=/ NN 2010-10-14 16:27:39.700 Header received header name:Expires Value:Thu, 14 Oct 2010 11:02:39 GMT NN 2010-10-14 16:27:39.700 Header received header name:Vary Value:Accept-Encoding NN 2010-10-14 16:27:39.700 Header received header name:Connection Value:close NN 2010-10-14 16:27:39.700 Data:{error:Incorrect signature,request:/1/statuses/home_timeline.json?oauth_consumer_key=OmTQVOKDomNbrHuuudS4Qoauth _nonce=uQTDMWP-6tFdwTAbDwiHeyrP7NEZoauth_signature_method=HMAC-SHA1oauth_timestamp=1287053858oau th_token=144717423-P3to4wvZPFsgrIQWBAZPjlEAm39tfEtaao7HQWA7oauth_version=1.0oauth_signature=wgRPZ qaIJU%252BrkHOSAN99JreWLr4%253D} .Now I am strucked. Any body please help me. Regards, George On Thu, Oct 14, 2010 at 12:11 PM, Georgooty
[twitter-dev] libauth library
Dear Twitter, Is anybody using liboauth library for twitter authentication?...'' Using this library I got xAuth auth token values.. But using this I didnt get home tweets..etc.. It didnt work any authentication required URL calls.. But Follower status/following status URL working fine... Any body working on twitter development using liboauth library..in C.. 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
Re: [twitter-dev] Incorrect signature while getting home tweets
Thanks for quick reply. Now i have removed xAuth stuff in GET parameter. Now uri is look like http://api.twitter.com/1/statuses/home_timeline.json?oauth_consumer_key=; oauth_nonce=uL0qgrUAvpXplm1jw8GKScISb.ROJ8oauth_signature_method=HMAC-SHA1oauth_timestamp=1287035395oauth_token=***oauth_version=1.0oauth_signature=fplh8jf6dACb%2FPfUBEGxUmhE5ZE%3D But unfortunatly it doesn't work.. I got Incorrect signature. Could you please help me.. I am waiting for you response. On Thu, Oct 14, 2010 at 11:17 AM, Tom van der Woerdt i...@tvdw.eu wrote: Don't use xAuth, use OAuth. Leave the x_auth_ stuff and use your oauth_token and oauth_token_secret. Oh, and look at what xAuth actually is. It's no replacement for OAuth. Tom On 10/14/10 5:22 AM, Georgooty varghese wrote: Dear Twitter, I have implemented a twitter client application in C using xAuth authentication. I got auth token and token secret. Then I wont be able to get home tweets. Exception is Incorrect signature. URL is http://api.twitter.com/1/statuses/home_timeline.json? oauth_consumer_key=oauth_nonce= HswRm6~rUgKTz1ZjkIOoauth_signature_method=HMAC-SHA1 oauth_timestamp=1287026003oauth_token=**oauth_version=1. 0x_auth_mode=client_authx_auth_password=***x_a uth_username=oauth_signature=5gqkckIqP56Z5e he02tlt6qMu%2BU%3D When this url is copy into internet explorer.. I get json file. But C - coding i didnt get.. Could u please help me?/ I am waiting for your response. 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 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] Incorrect signature while getting home tweets
Base string look like GEThttp%3A%2F%2Fapi.twitter.com %2F1%2Fstatuses%2Fhome_timeline.jsonoauth_consumer_key%3DOmTQVOKDomNbrHuuudS 4Q%26oauth_nonce%3DrkocKD.~GoWoUPUGvtdxPdNw4%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1287038316%26oauth_token%3D144717423-hrxCod9d6GMVnuLcYPHucluTxoDO68wFpGzkfn3h%26oauth_version%3D1.0 signature FcKenujneOtQklp6HZYDkRc7BYzelW9Fsadj324REpVccpaABnoClLwzrPQSglNdWkvL8sr3Z9xwvGXDfg Please help me... On Thu, Oct 14, 2010 at 11:54 AM, Tom van der Woerdt i...@tvdw.eu wrote: Could you give us your Base String? Tom On Oct 14, 2010, at 8:00 AM, Georgooty varghese georgo...@gmail.com wrote: Thanks for quick reply. Now i have removed xAuth stuff in GET parameter. Now uri is look like http://api.twitter.com/1/statuses/home_timeline.json?oauth_consumer_key=; http://api.twitter.com/1/statuses/home_timeline.json?oauth_consumer_key=; oauth_nonce=uL0qgrUAvpXplm1jw8GKScISb.ROJ8oauth_signature_method=HMAC-SHA1oauth_timestamp=1287035395oauth_token=***oauth_version=1.0oauth_signature=fplh8jf6dACb%2FPfUBEGxUmhE5ZE%3D But unfortunatly it doesn't work.. I got Incorrect signature. Could you please help me.. I am waiting for you response. On Thu, Oct 14, 2010 at 11:17 AM, Tom van der Woerdt i...@tvdw.eu i...@tvdw.eu wrote: Don't use xAuth, use OAuth. Leave the x_auth_ stuff and use your oauth_token and oauth_token_secret. Oh, and look at what xAuth actually is. It's no replacement for OAuth. Tom On 10/14/10 5:22 AM, Georgooty varghese wrote: Dear Twitter, I have implemented a twitter client application in C using xAuth authentication. I got auth token and token secret. Then I wont be able to get home tweets. Exception is Incorrect signature. URL is http://api.twitter.com/1/statuses/home_timeline.json http://api.twitter.com/1/statuses/home_timeline.json? oauth_consumer_key=oauth_nonce= HswRm6~rUgKTz1ZjkIOoauth_signature_method=HMAC-SHA1 oauth_timestamp=1287026003oauth_token=**oauth_version=1. 0x_auth_mode=client_authx_auth_password=***x_a uth_username=oauth_signature=5gqkckIqP56Z5e he02tlt6qMu%2BU%3D When this url is copy into internet explorer.. I get json file. But C - coding i didnt get.. Could u please help me?/ I am waiting for your response. Regards, George -- Twitter developer documentation and resources: http://dev.twitter.com/dochttp://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/dochttp://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/dochttp://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk 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
Re: [twitter-dev] Incorrect signature while getting home tweets
* Now I have removed oauth parameters in query string and added it to HTTP header. * Removed ~ char from auth nonce (reserved chars) Now i got another exception Could not authenticate you Could u please help me.. On Thu, Oct 14, 2010 at 7:30 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Without getting to deep into this, some advice: * Use HTTP header based authentication instead of attaching OAuth parameters to the query string. It makes it much more difficult to receive assistance from others when you use query-string based auth and increases the chances of an encoding error exponentially. * Avoid strange characters in an oauth_nonce. When possible, avoid the ~ character entirely -- depending on the language and libraries you are using, some are less spec compliant than others on characters like tilde * That you were able to negotiate oauth_tokens through xAuth is a good sign that your code does something right. POSTs are harder than GETs. There must be something simple wrong with your GET. Look very closely. Compare to the spec if necessary. Compare to other code that produces the correct results. Taylor On Thu, Oct 14, 2010 at 4:06 AM, Georgooty varghese georgo...@gmail.comwrote: Before I have implemented a twitter client in C# using xAuth authentication . At that application I have used xauth params for each url signin. Any problem I didn't get. That aclient application works fine. Now I have changed language C# to C. I have used liboauth library. I got oauth_token and oauth_token_secret values successfully. Then I have try to get home tweets. But i got incorrect signature. Base URL -- GEThttp%3A%2F%2Fapi.twitter.com %2F1%2Fstatuses%2Fhome_timeline.jsonoauth_consumer_key%3DOm TQVOKDomNbrHuuudS4Q%26oauth_nonce%3DuQTDMWP-6tFdwTAbDwiHeyrP7NEZ%26oauth_signature_method%3DHMAC-SH A1%26oauth_timestamp%3D1287053858%26oauth_token%3D144717423-P3to4wvZPFsgrIQWBAZPjlEAm39tfEtaao7HQWA7%26oauth_version%3D1.0 Signature - FcKenujneOtQklp6HZYDkRc7BYzelW9Fsadj324REdirvhD970MRu oQxPM2uOfzocpkRT3m0LKn0HPDcKkM URL -- http://api.twitter.com/1/statuses/home_timeline.json?oauth_consumer_key=OmTQVOKDomNbrHuuudS4Qo auth_nonce=uQTDMWP-6tFdwTAbDwiHeyrP7NEZoauth_signature_method=HMAC-SHA1oauth_timestamp=1287053858 oauth_token=144717423-P3to4wvZPFsgrIQWBAZPjlEAm39tfEtaao7HQWA7oauth_version=1.0oauth_signature=wgRPZqaIJU%2BrkHOSAN99JreWLr4%3D Error response look like below. --- Header received header name:Date Value:Thu, 14 Oct 2010 10:57:39 GMT NN 2010-10-14 16:27:39.700 Header received header name:Server Value:hi NN 2010-10-14 16:27:39.700 Header received header name:Status Value:401 Unauthorized NN 2010-10-14 16:27:39.700 Header received header name:WWW-Authenticate Value:Basic realm=Twitter API NN 2010-10-14 16:27:39.700 Header received header name:Content-Type Value:application/json; charset=utf-8 NN 2010-10-14 16:27:39.700 Header received header name:Content-Length Value:350 NN 2010-10-14 16:27:39.700 Header received header name:Cache-Control Value:no-cache, max-age=300 NN 2010-10-14 16:27:39.700 Header received header name:Set-Cookie Value:k=121.241.181.70.1287053859204701; path=/; expires=Thu, 21-Oct-10 10:57:39 GMT; domain=. twitter.com NN 2010-10-14 16:27:39.700 Header received header name:Set-Cookie Value:guest_id=128705385920759845; path=/; expires=Sat, 13 Nov 2010 10:57:39 GMT NN 2010-10-14 16:27:39.700 Header received header name:Set-Cookie Value:_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCI9ZY6orAToHaWQiJWNhNWJkMWFkNWNkZDQ0%250ANzkzZTUxZTdmMD AxY2YwMDNhIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy%250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--39a08a fc637e1b3666e4066c100f477a9bfbd5b4; domain=. twitter.com; path=/ NN 2010-10-14 16:27:39.700 Header received header name:Expires Value:Thu, 14 Oct 2010 11:02:39 GMT NN 2010-10-14 16:27:39.700 Header received header name:Vary Value:Accept-Encoding NN 2010-10-14 16:27:39.700 Header received header name:Connection Value:close NN 2010-10-14 16:27:39.700 Data:{error:Incorrect signature,request:/1/statuses/home_timeline.json?oauth_consumer_key=OmTQVOKDomNbrHuuudS4Qoauth _nonce=uQTDMWP-6tFdwTAbDwiHeyrP7NEZoauth_signature_method=HMAC-SHA1oauth_timestamp=1287053858oau th_token=144717423-P3to4wvZPFsgrIQWBAZPjlEAm39tfEtaao7HQWA7oauth_version=1.0oauth_signature=wgRPZ qaIJU%252BrkHOSAN99JreWLr4%253D} .Now I am strucked. Any body please help me. Regards, George On Thu, Oct 14, 2010 at 12:11 PM, Georgooty varghese georgo...@gmail.com wrote: Base string look like GEThttp%3A%2F%2Fapi.twitter.com %2F1%2Fstatuses%2Fhome_timeline.jsonoauth_consumer_key%3DOmTQVOKDomNbrHuuudS 4Q%26oauth_nonce%3DrkocKD.~GoWoUPUGvtdxPdNw4%26oauth_signature_method%3DHMAC-SHA1
[twitter-dev] SSL required
Dear Twitter, I have some doubts. I have used xaith authentication for my application. I have implemented a twitter client in c#.net. Now I have used to implement a twitter client in C. Now I got the following exception. hash errorSSL required/error request/oauth/access_token/request /hash could u 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
Re: [twitter-dev] SSL required
I have used http://. Now i got other exceptio message Failed to validate oauth signature and token I have used liboauth libraries .. Could u please help me. On Wed, Oct 13, 2010 at 2:48 PM, Scott Wilcox sc...@dor.ky wrote: You should be calling https://, http:// on the URIs. On 13 Oct 2010, at 10:13, Georgooty varghese wrote: Dear Twitter, I have some doubts. I have used xaith authentication for my application. I have implemented a twitter client in c#.net. Now I have used to implement a twitter client in C. Now I got the following exception. hash errorSSL required/error request/oauth/access_token/request /hash could u please help me. -- 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] SSL required
Still I got SSL exception.. hash errorSSL required/error request/oauth/access_token/request /hash Any body please help me. ' On Wed, Oct 13, 2010 at 3:16 PM, Georgooty varghese georgo...@gmail.comwrote: I have used http://. Now i got other exceptio message Failed to validate oauth signature and token I have used liboauth libraries .. Could u please help me. On Wed, Oct 13, 2010 at 2:48 PM, Scott Wilcox sc...@dor.ky wrote: You should be calling https://, http:// on the URIs. On 13 Oct 2010, at 10:13, Georgooty varghese wrote: Dear Twitter, I have some doubts. I have used xaith authentication for my application. I have implemented a twitter client in c#.net. Now I have used to implement a twitter client in C. Now I got the following exception. hash errorSSL required/error request/oauth/access_token/request /hash could u please help me. -- 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] SSL required
Anybody please help me.. post data is oauth_consumer_key=**oauth_nonce=3bC~Syh7v2ujOA6UvgefM34Ooauth_signature_method=HMAC-SHA1oau th_timestamp=1286969415oauth_version=1.0x_auth_mode=client_authx_auth_password=***x_auth_username=*oauth_signature=SCa7NDHr7wFmAghA48V%2FNt1ooR8%3D Please help..SSL required exception. On Wed, Oct 13, 2010 at 3:46 PM, Georgooty varghese georgo...@gmail.comwrote: Still I got SSL exception.. hash errorSSL required/error request/oauth/access_token/request /hash Any body please help me. ' On Wed, Oct 13, 2010 at 3:16 PM, Georgooty varghese georgo...@gmail.comwrote: I have used http://. Now i got other exceptio message Failed to validate oauth signature and token I have used liboauth libraries .. Could u please help me. On Wed, Oct 13, 2010 at 2:48 PM, Scott Wilcox sc...@dor.ky wrote: You should be calling https://, http:// on the URIs. On 13 Oct 2010, at 10:13, Georgooty varghese wrote: Dear Twitter, I have some doubts. I have used xaith authentication for my application. I have implemented a twitter client in c#.net. Now I have used to implement a twitter client in C. Now I got the following exception. hash errorSSL required/error request/oauth/access_token/request /hash could u please help me. -- 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] SSL required
Thanks Taylor.. When I used https:// in UR SSL Issue was resolved . Now i have face another issue for getting home tweets. Exception is incorrect signature. How it can solved... Anybody please help me?.. On Wed, Oct 13, 2010 at 7:15 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Georgooty, Few quick pointers in the right direction: * SSL ( https ) IS required for xAuth implementation. You must use it. * Header-based OAuth is required for xAuth implementation. Your POST body contains oauth_* parameters that should only be present in the Authorization header part of the request. Only the x_auth_* parameters should be in your POST body. Taylor On Wed, Oct 13, 2010 at 4:33 AM, Georgooty varghese georgo...@gmail.comwrote: Anybody please help me.. post data is oauth_consumer_key=**oauth_nonce=3bC~Syh7v2ujOA6UvgefM34Ooauth_signature_method=HMAC-SHA1oau th_timestamp=1286969415oauth_version=1.0x_auth_mode=client_authx_auth_password=***x_auth_username=*oauth_signature=SCa7NDHr7wFmAghA48V%2FNt1ooR8%3D Please help..SSL required exception. On Wed, Oct 13, 2010 at 3:46 PM, Georgooty varghese georgo...@gmail.comwrote: Still I got SSL exception.. hash errorSSL required/error request/oauth/access_token/request /hash Any body please help me. ' On Wed, Oct 13, 2010 at 3:16 PM, Georgooty varghese georgo...@gmail.com wrote: I have used http://. Now i got other exceptio message Failed to validate oauth signature and token I have used liboauth libraries .. Could u please help me. On Wed, Oct 13, 2010 at 2:48 PM, Scott Wilcox sc...@dor.ky wrote: You should be calling https://, http:// on the URIs. On 13 Oct 2010, at 10:13, Georgooty varghese wrote: Dear Twitter, I have some doubts. I have used xaith authentication for my application. I have implemented a twitter client in c#.net. Now I have used to implement a twitter client in C. Now I got the following exception. hash errorSSL required/error request/oauth/access_token/request /hash could u please help me. -- 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 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] Incorrect signature while getting home tweets
Dear Twitter, I have implemented a twitter client application in C using xAuth authentication. I got auth token and token secret. Then I wont be able to get home tweets. Exception is Incorrect signature. URL is http://api.twitter.com/1/statuses/home_timeline.json? oauth_consumer_key=oauth_nonce= HswRm6~rUgKTz1ZjkIOoauth_signature_method=HMAC-SHA1 oauth_timestamp=1287026003oauth_token=**oauth_version=1. 0x_auth_mode=client_authx_auth_password=***x_a uth_username=oauth_signature=5gqkckIqP56Z5e he02tlt6qMu%2BU%3D When this url is copy into internet explorer.. I get json file. But C - coding i didnt get.. Could u please help me?/ I am waiting for your response. 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] Twitter - XAuth
Dear Twitter, I have used XAuth authentication used for my application. I have implemented twitter client in C# on 1 month ago , Now these days I got gateway error first time logging. Next time logging no pblm. I have no changed in code side. If any updation in XAuth authentication mechanism. In my application i couldn't post a tweet in malayalam/arabi language. How to solve this issue. Any body 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?hl=en
Re: [twitter-dev] Twitter - XAuth
Hi, Thanks for your reply. How to handle 500 error. I have post a tweet into twitter in english using my twitter client.But I couldn't be able to post a tweet in malayalam/arabi. Could u please explain me, how to encode url for that. Regards, George On Tue, Sep 7, 2010 at 2:31 PM, Tom van der Woerdt i...@tvdw.eu wrote: On 9/7/10 9:11 AM, Georgooty varghese wrote: Dear Twitter, I have used XAuth authentication used for my application. I have implemented twitter client in C# on 1 month ago , Now these days I got gateway error first time logging. Just write some code to handle 500 errors - they happen a lot. It's usually not a client issue. Next time logging no pblm. I have no changed in code side. If any updation in XAuth authentication mechanism. In my application i couldn't post a tweet in malayalam/arabi language. How to solve this issue. Sounds like you aren't URL encoding the values properly. Any body 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?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 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] anyone got a working .NET example?
Hi, I have implemented a twitter client in C#. Regards, George On Mon, Sep 6, 2010 at 9:17 AM, yout...@publicdataservice.org yout...@publicdataservice.org wrote: anyone got a working .NET example? I tried this http://www.PublicDataService.org/twitter/http://www.publicdataservice.org/twitter/ -- 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] Need Developer
Hi, Which help u need. Regards, George On Fri, Sep 3, 2010 at 3:20 AM, Mike Morang m...@iplusmarketing.com wrote: I need a Twitter developer to add functionality to my approved Twitter app. Best Regards, * Michael Morang Principal Consultant iPlus Marketing Corp. 714-594-7374 Website: iPlusMarketing.com http://iplusmarketing.com/ Email: m...@iplusmarketing.com Follow me on Twitter: Twitter.com/iPlusMarketinghttp://twitter.com/iPlusMarketing Linkedin:http://www.linkedin.com/in/mikemorang Skype: GrowMe * -- 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] Re: Delivery Status Notification (Failure)
Hi, I have implemented twitter appllication in C#.net. I have used X-Auth authentication. Ie, we have directly entered int twitter account, not displayed twitter autherization pages. In that application I have displayed home tweets, to displayed friends,followers, search, etc.. Could you please explain mw, how to help u? Regards, George On Fri, Sep 3, 2010 at 12:18 PM, John SJ Anderson geneh...@gmail.com wrote: Specifically, what platform(s) are you targeting and what functionality do you look to add? On Thu, Sep 2, 2010 at 23:30, Georgooty varghese georgo...@gmail.com wrote: Hi, Which help u need. Regards, George On Fri, Sep 3, 2010 at 3:20 AM, Mike Morang m...@iplusmarketing.com wrote: I need a Twitter developer to add functionality to my approved Twitter app. Best Regards, Michael Morang Principal Consultant iPlus Marketing Corp. 714-594-7374 Website: iPlusMarketing.com Email: m...@iplusmarketing.com Follow me on Twitter: Twitter.com/iPlusMarketing Linkedin:http://www.linkedin.com/in/mikemorang Skype: GrowMe -- 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 developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: -- 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] Need Developer
Hi, I have implemented twitter appllication in C#.net. I have used X-Auth authentication. Ie, we have directly entered int twitter account, not displayed twitter autherization pages. In that application I have displayed home tweets, to displayed friends,followers, search, etc.. Could you please explain mw, how to help u? Regards, George On Fri, Sep 3, 2010 at 12:18 PM, John SJ Anderson geneh...@gmail.comwrote: Specifically, what platform(s) are you targeting and what functionality do you look to add? On Thu, Sep 2, 2010 at 23:30, Georgooty varghese georgo...@gmail.com wrote: Hi, Which help u need. Regards, George On Fri, Sep 3, 2010 at 3:20 AM, Mike Morang m...@iplusmarketing.com wrote: I need a Twitter developer to add functionality to my approved Twitter app. Best Regards, Michael Morang Principal Consultant iPlus Marketing Corp. 714-594-7374 Website: iPlusMarketing.com Email: m...@iplusmarketing.com Follow me on Twitter: Twitter.com/iPlusMarketing Linkedin:http://www.linkedin.com/in/mikemorang Skype: GrowMe -- 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 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] Radomly , 401 in my twitter api request when i use x-auth
which language is used? On Fri, Sep 3, 2010 at 11:44 AM, Karthik karthikduraisw...@gmail.comwrote: Dear all, I am getting radomly 401 (invalid signature ) error from server . I ma using the nonce as timestamp+random() ; (ramdom number) What could be the reason.. -- 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] UnAuthorized exception
Dear Twitter, I have created twitter application for tv applications. I have used xauth authentication. First time i have created my application as read only. Then I haven't able to post a tweet, an exception occured, Exception like UnAuthorized?. Then i changed my application setting access level to read and write. Then try to post tweet using xauth authentication, but unfunatley it didnt work. Whatever changes done in application, can i mail to twitter for enabling my application to xauth? is it need?. If anybody could u please help me. Regards, George