[twitter-dev] Cannot make POST with Authorization: OAuth headers works.
Hi all, I try to use the a POST request with the OAuth headers as follow to post a message on my twitter: POST /1/statuses/update.json HTTP/1.1 Host: api.twitter.com Accept: */* Authorization: OAuth oauth_version=1.0,oauth_nonce=a1df9b758e16eaebe8a2208d1e210bfb,oauth_timestamp=1312861474,oauth_consumer_key=xx,oauth_token=x,oauth_signature_method=HMAC- SHA1,oauth_signature=xx Content-Length: 155 Content-Type: application/x-www-form-urlencoded; boundary=2a715dab42e9 status=This%20is%20a%20test I am getting the following error: {error:Could not authenticate with OAuth.,request:\/1\/statuses \/update.json} My OAuth parameters are correct, posting the same request without using the Authorization: OAuth header works: POST https://api.twitter.com/1/statuses/update.json?oauth_consumer_key=oauth_nonce=2d6a22df9e770428993c390131e72308oauth_signature=oauth_signature_method=HMAC-SHA1oauth_timestamp=1312861881oauth_token=xoauth_version=1.0status=This%20is%20a%20test So it seems that there is something specific to do when posting using the Authorization: OAuth headers. Any advice? I'm stuck on this and cannot move forward. Thanks for replying. Blaise. -- Have you visited the Developer Discussions feature on https://dev.twitter.com/discussions yet? Twitter developer links: Documentation and resources: https://dev.twitter.com/docs API updates via Twitter: https://twitter.com/twitterapi Unsubscribe or change your group membership settings: http://groups.google.com/group/twitter-development-talk/subscribe
[twitter-dev] users/lookup
I'm using the users/lookup.json API and passing a valid list of user_ids that I retrieve from friends/ids (yes, there are 100). I keep getting the response: No user matches for specified terms when making the call, even though the list is valid and I have inspected the request being sent. Any ideas why this would be happening? The friends/ids call is working fine authenticated and I am trying to make a similar authenticated GET call with the users/lookup function. -- Have you visited the Developer Discussions feature on https://dev.twitter.com/discussions yet? Twitter developer links: Documentation and resources: https://dev.twitter.com/docs API updates via Twitter: https://twitter.com/twitterapi Unsubscribe or change your group membership settings: http://groups.google.com/group/twitter-development-talk/subscribe
[twitter-dev] other twitter forums
Are there any other active twitter forums? -- Have you visited the Developer Discussions feature on https://dev.twitter.com/discussions yet? Twitter developer links: Documentation and resources: https://dev.twitter.com/docs API updates via Twitter: https://twitter.com/twitterapi Unsubscribe or change your group membership settings: http://groups.google.com/group/twitter-development-talk/subscribe
Re: [twitter-dev] other twitter forums
Active? They all seem equally useless. There is hardly any support. I've asked the same question in 3 places and I've been waiting a month. So much for an API. But try this as you might get further than I have: http://code.google.com/p/twitter-api/issues/list _ Rich in Toronto On 2011-08-09, at 4:24 PM, Jonas wrote: Are there any other active twitter forums? -- Have you visited the Developer Discussions feature on https://dev.twitter.com/discussions yet? Twitter developer links: Documentation and resources: https://dev.twitter.com/docs API updates via Twitter: https://twitter.com/twitterapi Unsubscribe or change your group membership settings: http://groups.google.com/group/twitter-development-talk/subscribe
[twitter-dev] Re: users/lookup
So it only works with POST for me when using authentication. Not sure if this is an issue with the API itself. On Aug 9, 12:17 pm, Justin justin.cooper...@gmail.com wrote: I'm using the users/lookup.json API and passing a valid list of user_ids that I retrieve from friends/ids (yes, there are 100). I keep getting the response: No user matches for specified terms when making the call, even though the list is valid and I have inspected the request being sent. Any ideas why this would be happening? The friends/ids call is working fine authenticated and I am trying to make a similar authenticated GET call with the users/lookup function. -- Have you visited the Developer Discussions feature on https://dev.twitter.com/discussions yet? Twitter developer links: Documentation and resources: https://dev.twitter.com/docs API updates via Twitter: https://twitter.com/twitterapi Unsubscribe or change your group membership settings: http://groups.google.com/group/twitter-development-talk/subscribe
Re: [twitter-dev] other twitter forums
Our small team at Twitter is very active in the developer discussions on https://dev.twitter.com/discussions . We try to answer all the questions that come in but often will let threads mellow for a bit to allow non-Twitter employees a chance to answer. If there are any threads in particular you're looking to get assistance with, let us know. @episod http://twitter.com/intent/user?screen_name=episod - Taylor Singletary On Tue, Aug 9, 2011 at 1:43 PM, Viaduct Productions li...@viaduct-productions.com wrote: Active? They all seem equally useless. There is hardly any support. I've asked the same question in 3 places and I've been waiting a month. So much for an API. But try this as you might get further than I have: http://code.google.com/p/twitter-api/issues/list _ Rich in Toronto On 2011-08-09, at 4:24 PM, Jonas wrote: Are there any other active twitter forums? -- Have you visited the Developer Discussions feature on https://dev.twitter.com/discussions yet? Twitter developer links: Documentation and resources: https://dev.twitter.com/docs API updates via Twitter: https://twitter.com/twitterapi Unsubscribe or change your group membership settings: http://groups.google.com/group/twitter-development-talk/subscribe -- Have you visited the Developer Discussions feature on https://dev.twitter.com/discussions yet? Twitter developer links: Documentation and resources: https://dev.twitter.com/docs API updates via Twitter: https://twitter.com/twitterapi Unsubscribe or change your group membership settings: http://groups.google.com/group/twitter-development-talk/subscribe
[twitter-dev] Add to list
We intend to create an option of Add to List as in twitter. When clicked, this would show the authenticating user's lists and tick off those the target account is already part of. The problem is with the second part ticking of the lists the target account is part of, as it is taking too many API calls. Is there any way we can get this done by a single or at the max two API calls? -- Have you visited the Developer Discussions feature on https://dev.twitter.com/discussions yet? Twitter developer links: Documentation and resources: https://dev.twitter.com/docs API updates via Twitter: https://twitter.com/twitterapi Unsubscribe or change your group membership settings: http://groups.google.com/group/twitter-development-talk/subscribe
[twitter-dev] Can twitter api update photo?
Today I see we can update photo by twiiter. So, will twiiter api support update photo? -- Have you visited the Developer Discussions feature on https://dev.twitter.com/discussions yet? Twitter developer links: Documentation and resources: https://dev.twitter.com/docs API updates via Twitter: https://twitter.com/twitterapi Unsubscribe or change your group membership settings: http://groups.google.com/group/twitter-development-talk/subscribe