Hey there,

Could you share the full HTTP Response you're receiving, please? By the way,
did you try to change the text (status parameter)? You could be receiving a
403 because you are trying to send the same status as the last user's one.

Arnaud / @rno <http://twitter.com/rno>



On Fri, May 6, 2011 at 7:34 PM, j2me <[email protected]> wrote:

> Hello everyone
> I was able to get token and secret and able to get the timeline of the
> user. But when i tried to update status i get 403 error. And I am not
> being able to get the error response. All I get is 403 error which
> says Forbidden. When I try to get the actual response I exception is
> thrown. I am using JAVA(desktop). These are my base string, header and
> connecting url
>
> POST&https%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
> %2Fupdate.json&oauth_consumer_key%3D<my consumer key>%26oauth_nonce
> %3D-783282128%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
> %3D1304731810%26oauth_token%3D<my token>%26oauth_version%3D1.0%26status
> %3Dtesting%2520testing
>
>
> OAuth oauth_signature="ZnacQwEWpKCAUmh6D2EEnDKbP7Q%3D",
> oauth_version="1.0", oauth_nonce="-783282128",
> oauth_signature_method="HMAC-SHA1", oauth_consumer_key="<my consumer
> key>", oauth_token="<my token>", oauth_timestamp="1304731810"
>
>
> https://api.twitter.com/1/statuses/update.json?status=testing%20testing
>
> is there anything wrong going in my basestring, header and url?
>
> I tried using a scribe. I get the same basestring, header while using
> same timestamp and nonce. signature matches.
>
> Any help?
>
> --
> 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: 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

Reply via email to