Hi Marius,

In your basestring you have the parameter oauth_verifier. The oauth_verifier
is only used in the final part of the OAuth key exchange flow. If you remove
the oauth_verifier from your POST status update request you should be ok.

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


On Mon, Nov 22, 2010 at 5:54 AM, Marius Van Wyk <mariu...@t-sg.com> wrote:

> I have read through the posts here, but i am still struggeling.
> I have recently completed my integraion into Linkedin, using oAuth,
> and no issues.
> Now I started on the Twitter API.
>
> I due the auth, and i received my Acess token,secret and the Pin used
> to allow the access - I assume this pin is the same as Verifier.
>
> I started with
> http://api.twitter.com/1/users/show.xml?screen_name=screenname,
> and this is working, but i can not get a post for the update
> http://api.twitter.com/1/statuses/update.xml?status=
> "+HttpUtility.UrlEncode(NewTweet).
>
> The signature and everything works on the oAuth Standards, that is why
> it is working on Linkedin, and on the initial Authorization requests.
> I started on this, asi thought it would be simple, but there is no
> proper example i could find for C#, without using some third part dll.
> I want to do this myself as with linked in, as you understand the
> whole thing better then.
>
> Please help:
>
> Signitaure Base:
> "POST&http%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
> %2Fupdate.xml&oauth_consumer_key%xxxx%26oauth_nonce
> %3D9465962%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
> %3D1290433869%26oauth_token%xxxx%26oauth_verifier
> %3D2156438%26oauth_version%3D1.0%26status%3DNew%2BTweet%2BMessage"
>
> Signiture:
> "OKs5OLmb+31l2sBFaQUV2ZH81ks="
>
> Headers:
> {Authorization: OAuth realm="http://
> api.twitter.com/",oauth_consumer_key="xxxx",oauth_token="186400161-
> xxxx",oauth_signature_method="HMAC-SHA1",oauth_signature="OKs5OLmb
> %2b31l2sBFaQUV2ZH81ks
> %3d",oauth_timestamp="1290433869",oauth_nonce="9465962",oauth_version="1.0"
> }
>
> Any Help will be appreciated
>
> --
> 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

Reply via email to