Re: [twitter-dev] Incorrect signature while getting home tweets

2010-10-14 Thread Georgooty varghese
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

2010-10-14 Thread Tom van der Woerdt
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=;
 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

-- 
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

2010-10-14 Thread Georgooty varghese
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


[twitter-dev] Trouble Authenticating with one API method

2010-10-14 Thread tbriggs
Hi All,

Just wondering if anyone can help me, or confirm I'm not alone. I ahve
been using C# to talk to the APi for a while now, usign OAuth for
authentication, and so far it's all been fine. But I just tried using
the home_timeline method using the same oauth credentials I use for
other methods, but for some reason this one always says it can't
authenticate me. Does anyone else experience this problem, or am I
missing something simple?

Thanks in advance for any advice you can provide :)

regards
Tristan

-- 
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] REST API Rate Limiting

2010-10-14 Thread Tim Haines
Hey there,

Perhaps your IP is blacklisted. Mine was once for a short time. When it was
a % of calls were still accepted for some reason.  Do you see the same sort
of results despite which api call you make?  If you do you might want to
send a note to a...@twitter.com with your ip address asking them about it.

Cheers,

Tim.

On Thu, Oct 14, 2010 at 4:53 PM, mihai.fa...@olivestudio.net 
mihai.fa...@olivestudio.net wrote:

  Hello.
  I have a problem with getting the user_timeline of an user. The limit
 is to 150 per hour, yet I get blocked at about the 3rd call. I moved
 my app to 3 different servers, all are working except the server from
 where it's supposed to be. Searched for a blacklist or something
 didn't find anything. So I have to wait about 15 minutes before I can
 check again and is very hard to develop my app this way.

 Anybody has an idea why one site would get blocked at 3rd call ?

 Thanks

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] REST API Rate Limiting

2010-10-14 Thread Taylor Singletary
Are you on an IP address that might be shared with other users? Right now,
unauthenticated requests count against your IP addresses's rate limit.

If you could log what the X-RateLimit-* HTTP headers indicate at each step,
it'd be helpful: status of headers after making your first request, then the
second request, then the request where you end up being limited.

Thanks,
Taylor

On Thu, Oct 14, 2010 at 6:40 AM, Tim Haines tmhai...@gmail.com wrote:

 Hey there,

 Perhaps your IP is blacklisted. Mine was once for a short time. When it was
 a % of calls were still accepted for some reason.  Do you see the same sort
 of results despite which api call you make?  If you do you might want to
 send a note to a...@twitter.com with your ip address asking them about it.

 Cheers,

 Tim.


 On Thu, Oct 14, 2010 at 4:53 PM, mihai.fa...@olivestudio.net 
 mihai.fa...@olivestudio.net wrote:

  Hello.
  I have a problem with getting the user_timeline of an user. The limit
 is to 150 per hour, yet I get blocked at about the 3rd call. I moved
 my app to 3 different servers, all are working except the server from
 where it's supposed to be. Searched for a blacklist or something
 didn't find anything. So I have to wait about 15 minutes before I can
 check again and is very hard to develop my app this way.

 Anybody has an idea why one site would get blocked at 3rd call ?

 Thanks

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk


  --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Incorrect signature while getting home tweets

2010-10-14 Thread Taylor Singletary
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%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.euwrote:

 Could 

[twitter-dev] Re: Tweet button-unicode URL

2010-10-14 Thread Wadja
Anyone...:)

On Oct 12, 10:39 am, Wadja argyris.wa...@gmail.com wrote:
 Hello,

 I am trying to pass this URL(has Greek letters) via Tweetbuttonbut
 It always returns ...'url' parameter does not contain a valid URL.

 http://www.wadja.com/petty01#ÅëëçíéêÞ Ïéêïíïìßá

 I've tried all the below using JavaScript but no luck:
 escape(), encodeURI(), encodeURIComponent()

 Please advice.

 Thanks in advance
 Wadja Team

-- 
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 Call Back for Portal

2010-10-14 Thread Taylor Singletary
Instead of using callback-based OAuth, you may want to consider out-of-band
mode OAuth where you prompt the user for a PIN code that's provided to the
user instead of a callback.

Twitter's Matt Harris has done a good job detailing how to work with out of
band OAuth:
http://github.com/themattharris/tmhOAuth/blob/master/examples/oob.php

Taylor

On Wed, Oct 13, 2010 at 1:11 AM, abhinav abhinavshr...@gmail.com wrote:

 I have integrated twitter in a portal solution. The portal page where
 I register user for twitter, for the OAuth changes I have to give a
 URL for authorization.
 Now my question is that, portlets are not url addressable so how do I
 implement callback functionality for authorization.

 --
 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] Trust Level Failure

2010-10-14 Thread theDisciple
From my web site, when certain events occur, such as a visitor
registers, a news event happens, etc, I need to post the message
Tweet on Twitter.com. I have written the web application in VB.NET
3.5 using Visual Studio 2008.

I added all 4 required values, ConsumerKey, ConsumerSecret,
OAuthToken, and OAuthTokenSecret to the web.config file in the
appSettings section of the configuration section.

appSettings
!-- Twitter and BitLy access keys --
add key=ConsumerKey value=YOUR_CONSUMER_KEY /
add key=ConsumerSecret value=YOUR_CONSUMER_SECRET_KEY /
add key=OAuthToken value=YOUR_APPS_OAUTHTOKEN_KEY /
add key=OAuthTokenSecret 
value=YOUR_APPS_OAUTHTOKEN_SECRET_KEY /

/appSettings
I found that by going to twitter.com and signing into the account that
is using the application, then go to the Settings page, go to the
bottom of the page and click on the API menu option. Once the API
page appears you will clik on the button 2, Register An App. On the
right side on the new page, you will see a button View Your
Applications. If you have previously registered your app, click this
button, If not fill out the appliction for a new app. Now at the View
your Applications page, select the app you want to get the
authorization keys for where is says Edit Details.

Now click on the button to the right that says, Application Detail.
Here you will find your Consumer Key and your Consumer Secret Key. On
the right side of this page you will see the menu option My Access
Token, click it and you will find your oauth_token and your
oauth_token_secret keys!

Not that you have all the keys, put them in the appSettings section
of the web.config file.

Add Dim twConn As New TwitterVB2.TwitterAPI at the top of the page.

I then created a subroutine where I pass in the Tweet:

Public Sub PostOnTwitter(ByVal Tweet As String)
 'Retrieve Keys from web.config
Dim twitterKey As String =
System.Configuration.ConfigurationManager.AppSettings(ConsumerKey)
Dim twitterSecret As String =
System.Configuration.ConfigurationManager.AppSettings(ConsumerSecret)
Dim twitterOAuthToken As String =
System.Configuration.ConfigurationManager.AppSettings(OAuthToken)
Dim twitterOAuthTokenSecret As String =
System.Configuration.ConfigurationManager.AppSettings(OAuthTokenSecret)

Try
twConn.AuthenticateWith(twitterKey, twitterSecret,
twitterOAuthToken, twitterOAuthTokenSecret)
twConn.Update(Trim(Tweet))
Catch ex As Exception
lblError.Text = Twitter Returned:   ex.Message
End Try
End Sub

This code works great in an enviornment that allows at least a
Medium trust level. However it appears that many of the new
hosting envrionments such as Cloud Hosting, Web Farm, and others
do not allow this trust level automatically!However if the trust level
is less than Medium on your host you will likely receive the error
message:
Twitter Returned: Request for the permission of type
'System.Security.Permissions.SecurityPermission, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
failed.

I am unfamiliar with how to create altered Trust Level in the
web.config fiel. If anyone has found a fix for this Trust Level
issue please post it!

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: No of statuses extracted by statuses/filter

2010-10-14 Thread AA
Thanks a lot!
This is very helpful.

John:

You said:
If you don't receive a limit message, you know that you've received
all
possible tweets for the predicate

But:
-The only way to get limited in status/filter is using more keywords
or more users id than is allowed according to access level?
Is there any other way?

-The limit message contains some kind of sum info? (Additionnally,
where can I find the data spec for this limit message and for data
returned by status/filter in general?)

Thanks in advance.
Alejandro.



On Oct 12, 7:17 pm, John Kalucki j...@twitter.com wrote:
 Sorry. Gmail fail / Groups fail.



 On Tue, Oct 12, 2010 at 3:17 PM, John Kalucki j...@twitter.com wrote:
  If you don't receive a limit message, you know that you've received all
  possible tweets for the predicate. If you do receive a limit message, you
  know the precise proportion of tweets received and dropped.

  -John Kalucki
 http://twitter.com/jkalucki
  Twitter Inc.

  On Tue, Oct 12, 2010 at 2:36 PM, AA alejandro.ale...@gmail.com wrote:

  Hi everybody!
  Thank you Edward.

  I copy paste part of your answer:

  [If your filter  criteria are sufficiently narrow, you get *all* of
  the public tweets  with those keywords sent by users who aren't being
  blocked by  Twitter's quality filter. At least that's what the
  documentation has  said in the past.]

  -Can anyone confirm this?
  -I think, taking Edward's approach, I've still the same problem : even
  taking a very narrow criteria I can never know what's the total, so
  I can'´t know if all the tweets got by streaming are useful or not.
  I think I have to remark that I don't need to know an exact total of
  tweets in a given moment. What I'd like to know is an approximate
  percentage over some approximate total of tweets estimation. I dare to
  think it's part of the service providing specification.

  I do understand that it can be difficult to exactly define total of
  tweets when streaming and having tweets going into Twitter
  permanently but not constantly, but some estimated info would be
  great.

  Thank you all in advance.
  Alejandro.

  On Oct 11, 5:57 pm, M. Edward (Ed) Borasky zn...@borasky-
  research.net wrote:
   Quoting AA alejandro.ale...@gmail.com:

Hi everybody!
I'm designing an app to do some mining over a corpus of tweets.
I think I'll use streaming api, statuses/filter filtering by keywords.

I'd like to know, before starting development, what is the percentage
of tweets  delivered by this stream over the total tweets ('meaning
total tweets' the total of tweets that have the tracking keywords)  .
This is information is crucial because of statistical confidence: a
very little sample may not be significant.

Addittionally, Ive been googling and reading a lot for 3 days and I
can't figure out how i can use different 'level accesses'.
I've readhttp://
  dev.twitter.com/pages/streaming_api_methods#statuses-filter
but how can I use this different levels levels of access?

Thanks in advance!
Regards
Alejandro.

   I actually think the answer to *yout* question is, If your filter
   criteria are sufficiently narrow, you get *all* of the public tweets
   with those keywords sent by users who aren't being blocked by
   Twitter's quality filter. At least that's what the documentation has
   said in the past.

   But *my* question is, How does one determine the total number of
   tweets, for some definition of total?

   a. All tweets created, including those that aren't public?
   b. All public tweets created, including those from low quality users
   that don't get indexed by search or sent to the filter stream?
   c. All tweets sent to the inlet of the filter stream and the various
   elevated access level stream?

   Remind me again - when does Snowflake go live? I haven't looked at
   Streaming data for a couple months.

   --
   M. Edward (Ed) Boraskyhttp://borasky-research.nethttp://
  twitter.com/znmeb

   A mathematician is a device for turning coffee into theorems. - Paul
  Erdos

  --
  Twitter developer documentation and resources:http://dev.twitter.com/doc
  API updates via Twitter:http://twitter.com/twitterapi
  Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
  Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: can email be accepted when using OAuth?

2010-10-14 Thread Gary
This now works.  I can pass the email address in place of screen name.


On Oct 5, 2:28 pm, Tom van der Woerdt i...@tvdw.eu wrote:
 I just did a quick check in my own application, it failed. So, unless
 Taylor, Matt or John says otherwise, you should consider the definite
 answer to be a No.

 Tom

 On 10/5/10 11:25 PM, Gary wrote:

  Hi Tom,

  These are thebasestrings with fictitious username, password and
  consumer key and so they will not pass through the validator.  I have
  checked the actualbasestrings and they check-out ok.

  Anyway, what I'm looking for is a definite yes or no as to whether
 emailaddresses-login is supported or not.  Is there somewhere I could
  get this info?

  Thanks,
  Gary

  On Oct 5, 12:27 pm, Tom van der Woerdt i...@tvdw.eu wrote:
  Those aren'tbasestrings.

  Use the OAuthBaseString validator @ http://quonos.nl/oauthTester/

  By the way: I'm not sure about logging in with E-Mail addresses. It may
  work, and it may not.

  Tom

  On 10/5/10 8:27 PM, Gary wrote:

  Hi,

  I'm also having this problem.  I cannot login using the user'semail.
  AFAIK, I am encoding according to the documentation.  I encode the
  post body and then encode again when I create thesignaturebase
  string.

  Assume:
  screen name: myscrname
  password: m...@password        --- note I added @ to the password just
  to see if there was something about @ which was causing the problem
 email: m...@somewhere.com

  ===
  Using the screen name to login works fine:

  Post body
  ---
  x_auth_mode=client_authx_auth_password=my
  %40passwordx_auth_username=myscrname

  Sigbasestring
  --
  oauth_consumer_key%3Da%26oauth_nonce
  %3D3u988u37Acy3GkQWd6tJKrY3fPTefe2QYIL2WXb1R3gWP
  %26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
  %3D1286237702%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth
  %26x_auth_password%3Dmy%2540password%26x_auth_username%3Dmyscrname

  ===
  Using theemailto login fails:

  Post body
  ---
  x_auth_mode=client_authx_auth_password=my
  %40passwordx_auth_username=me%40somewhere.com

  Sigbasestring
  --
  oauth_consumer_key%3Da%26oauth_nonce
  %3Dwwsim7hj1bfMylHARpmLwQerWjJJu4Y7kgzz8jCdY3Cv6%26oauth_signature_method
  %3DHMAC-SHA1%26oauth_timestamp%3D1286237782%26oauth_version
  %3D1.0%26x_auth_mode%3Dclient_auth%26x_auth_password%3Dmy%2540password
  %26x_auth_username%3Dme%2540somewhere.com

  On Aug 30, 7:17 am, Taylor Singletary taylorsinglet...@twitter.com
  wrote:
  Hi Joe,

  Emailcan be accepted, as long as it is properly encoded. A URL encoded 
  POST
  body by definition means that you'll already have to escape characters 
  like
  the @ symbol for your POST body -- then for yoursignaturebasestring,
  it'll have to be encoded again.

  Most Twitter users sign in with their screen name and password. Do you 
  have
  a use case where users are predominantly using theiremailaddress?

  Taylor

  On Mon, Aug 30, 2010 at 1:10 AM, joe joe.chan...@gmail.com wrote:
  Hi guys,

  I have a question about getting access token.
  Can I useemailaddress as the username? When x_auth_username =
  x...@xxx.com, always a error msg returned: Failed to validate oauth
  signatureand token. But if user input username, there is no problem
  at all.
  So can anybody tell whetheremailaddress is accepted? Thanks a lot.

  Joe

  --
  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


[twitter-dev] My Tweets, Retweeted

2010-10-14 Thread polomasta
In my application I would like to show My Tweets, Retweeted with the
rest of the Mentions for a user. (similar to the way they show up in
your mentions column in tweetdeck)

So far I haven't been able to figure out how to do this.. these tweets
don't show up via user/mentions.

I'm able to retrieve user/retweets_of_me but in the JSON response
there is no way to tell who in fact did the retweeting.

Can anyone give me a suggestion as to how to solve/implement this?

(It's a rails app and I'm using the twitter gem)

Here is an example of the response I get when calling user/
retweets_of_me ... I know for a fact his particular tweet has been
retweeted twice by others

= #Hashie::Mash contributors=nil coordinates=nil created_at=Thu Oct
14 18:35:07 + 2010 favorited=false geo=nil id=27366026129
in_reply_to_screen_name=nil in_reply_to_status_id=nil
in_reply_to_user_id=nil place=nil retweet_count=0 retweeted=false
source=a href=\http://twitter.com/tweetbutton\; rel=\nofollow
\Tweet Button/a text=Startup Profile: Mobestream Media |
 launchDFW http://t.co/3bEWuhq via @launchDFW truncated=false
user=#Hashie::Mash contributors_enabled=false created_at=Sat Mar 15
01:26:52 + 2008 description=ExpatEntrepreneur.tv, Designer 
Developer -- TweetSaver.com, IncaRentals.com, clkpic.com,
launchDFW.com, FreshieApp.com, TweetAbout.com, Hire-Engineers.com
favourites_count=39 follow_request_sent=nil followers_count=1813
following=nil friends_count=1314 geo_enabled=true id=14150637
lang=en listed_count=130 location=Lima, Perú name=Bradley Joyce
notifications=nil profile_background_color=cc
profile_background_image_url=http://a1.twimg.com/
profile_background_images/98444516/blj_twitter.png
profile_background_tile=true profile_image_url=http://a3.twimg.com/
profile_images/421303551/bradley_normal.png
profile_link_color=a15f3b profile_sidebar_border_color=FF
profile_sidebar_fill_color=cc profile_text_color=507e94
profile_use_background_image=true protected=false
screen_name=bradleyjoyce show_all_inline_media=false
statuses_count=3248 time_zone=Central Time (US  Canada) url=http://
bradleyjoyce.me utc_offset=-21600 verified=false

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Re: Tweet button-unicode URL

2010-10-14 Thread Matt Harris
Hi,

When constructing the Tweet Button HTML you can safely place the
unencoded URL into the data-url parameter. The Tweet Button will then
handle the encoding for you. You only need to manage the encoding if
you are creating the share URL yourself.

I've visited your page and found the Tweet Button implemented
successfully - was there another implementation that was causing you
problems?

---
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris



On Thu, Oct 14, 2010 at 6:41 AM, Wadja argyris.wa...@gmail.com wrote:
 Anyone...:)

 On Oct 12, 10:39 am, Wadja argyris.wa...@gmail.com wrote:
 Hello,

 I am trying to pass this URL(has Greek letters) via Tweetbuttonbut
 It always returns ...'url' parameter does not contain a valid URL.

 http://www.wadja.com/petty01#ÅëëçíéêÞ Ïéêïíïìßá

 I've tried all the below using JavaScript but no luck:
 escape(), encodeURI(), encodeURIComponent()

 Please advice.

 Thanks in advance
 Wadja Team

 --
 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] My Tweets, Retweeted

2010-10-14 Thread Taylor Singletary
Take a look at http://dev.twitter.com/doc/get/statuses/:id/retweeted_by

Taylor

On Thu, Oct 14, 2010 at 2:21 PM, polomasta poloma...@gmail.com wrote:

 In my application I would like to show My Tweets, Retweeted with the
 rest of the Mentions for a user. (similar to the way they show up in
 your mentions column in tweetdeck)

 So far I haven't been able to figure out how to do this.. these tweets
 don't show up via user/mentions.

 I'm able to retrieve user/retweets_of_me but in the JSON response
 there is no way to tell who in fact did the retweeting.

 Can anyone give me a suggestion as to how to solve/implement this?

 (It's a rails app and I'm using the twitter gem)

 Here is an example of the response I get when calling user/
 retweets_of_me ... I know for a fact his particular tweet has been
 retweeted twice by others

 = #Hashie::Mash contributors=nil coordinates=nil created_at=Thu Oct
 14 18:35:07 + 2010 favorited=false geo=nil id=27366026129
 in_reply_to_screen_name=nil in_reply_to_status_id=nil
 in_reply_to_user_id=nil place=nil retweet_count=0 retweeted=false
 source=a href=\http://twitter.com/tweetbutton\; rel=\nofollow
 \Tweet Button/a text=Startup Profile: Mobestream Media |
  launchDFW http://t.co/3bEWuhq via @launchDFW truncated=false
 user=#Hashie::Mash contributors_enabled=false created_at=Sat Mar 15
 01:26:52 + 2008 description=ExpatEntrepreneur.tv, Designer 
 Developer -- TweetSaver.com, IncaRentals.com, clkpic.com,
 launchDFW.com, FreshieApp.com, TweetAbout.com, Hire-Engineers.com
 favourites_count=39 follow_request_sent=nil followers_count=1813
 following=nil friends_count=1314 geo_enabled=true id=14150637
 lang=en listed_count=130 location=Lima, Perú name=Bradley Joyce
 notifications=nil profile_background_color=cc
 profile_background_image_url=http://a1.twimg.com/
 profile_background_images/98444516/blj_twitter.png
 profile_background_tile=true profile_image_url=http://a3.twimg.com/
 profile_images/421303551/bradley_normal.png
 profile_link_color=a15f3b profile_sidebar_border_color=FF
 profile_sidebar_fill_color=cc profile_text_color=507e94
 profile_use_background_image=true protected=false
 screen_name=bradleyjoyce show_all_inline_media=false
 statuses_count=3248 time_zone=Central Time (US  Canada) url=http://
 bradleyjoyce.me utc_offset=-21600 verified=false

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: My Tweets, Retweeted

2010-10-14 Thread polomasta
ah thanks! that should do the trick :-)

On Oct 14, 5:03 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Take a look athttp://dev.twitter.com/doc/get/statuses/:id/retweeted_by

 Taylor

 On Thu, Oct 14, 2010 at 2:21 PM, polomasta poloma...@gmail.com wrote:
  In my application I would like to show My Tweets, Retweeted with the
  rest of the Mentions for a user. (similar to the way they show up in
  your mentions column in tweetdeck)

  So far I haven't been able to figure out how to do this.. these tweets
  don't show up via user/mentions.

  I'm able to retrieve user/retweets_of_me but in the JSON response
  there is no way to tell who in fact did the retweeting.

  Can anyone give me a suggestion as to how to solve/implement this?

  (It's a rails app and I'm using the twitter gem)

  Here is an example of the response I get when calling user/
  retweets_of_me ... I know for a fact his particular tweet has been
  retweeted twice by others

  = #Hashie::Mash contributors=nil coordinates=nil created_at=Thu Oct
  14 18:35:07 + 2010 favorited=false geo=nil id=27366026129
  in_reply_to_screen_name=nil in_reply_to_status_id=nil
  in_reply_to_user_id=nil place=nil retweet_count=0 retweeted=false
  source=a href=\http://twitter.com/tweetbutton\; rel=\nofollow
  \Tweet Button/a text=Startup Profile: Mobestream Media |
   launchDFWhttp://t.co/3bEWuhqvia @launchDFW truncated=false
  user=#Hashie::Mash contributors_enabled=false created_at=Sat Mar 15
  01:26:52 + 2008 description=ExpatEntrepreneur.tv, Designer 
  Developer -- TweetSaver.com, IncaRentals.com, clkpic.com,
  launchDFW.com, FreshieApp.com, TweetAbout.com, Hire-Engineers.com
  favourites_count=39 follow_request_sent=nil followers_count=1813
  following=nil friends_count=1314 geo_enabled=true id=14150637
  lang=en listed_count=130 location=Lima, Perú name=Bradley Joyce
  notifications=nil profile_background_color=cc
  profile_background_image_url=http://a1.twimg.com/
  profile_background_images/98444516/blj_twitter.png
  profile_background_tile=true profile_image_url=http://a3.twimg.com/
  profile_images/421303551/bradley_normal.png
  profile_link_color=a15f3b profile_sidebar_border_color=FF
  profile_sidebar_fill_color=cc profile_text_color=507e94
  profile_use_background_image=true protected=false
  screen_name=bradleyjoyce show_all_inline_media=false
  statuses_count=3248 time_zone=Central Time (US  Canada) url=http://
  bradleyjoyce.me utc_offset=-21600 verified=false

  --
  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

2010-10-14 Thread Georgooty varghese
* 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