Do the token and secret get passed along with the rest of the API call
as posted parameters?
Can someone please provide an example of how to form a CURL request in
php using the token and secret? I can not find documentation anywhere
that explicitly explains what to do once the token and secret are
obtained. All the documentation I can find provides for use for
somebody else's php wrapper. I don't want to use a third party
wrapper.
Thank you.
As far as why one would want to use their own library vs. somebody
else's, that's a question for the ages. One specific answer is that
many of us have created our own application-specific libraries that
accommodate traditional http authentication and we'd like to keep our
libraries when we add Oauth. To do so, it's best to have an answer to
this question.
Thank you.
When accessing a protected resource with OAuth, the oauth_token and
oauth_token_secret you receive become your "access token". You include
oauth_token as an OAuth parameter in your signature base string and
authorization header, and then sign your entire OAuth request with a
composite signing secret:
{url_escaped(consumer_secret)}&{url_escaped(oauth_token_secret)}
Taylor
I tried very permutation of posting them along with the twitter REST
calls, but the one you suggested of posting the secrets as parameters
without values. This single line instruction needs to be added to the
Twitter API documentation.
BTW: The php equivalent of url_escaped ()is urlencode().
Thanks much.
On Mar 7, 6:53 pm, Taylor Singletary <taylorsinglet...@twitter.com>
wrote: