Hi All,
I am fairly a newbie to OAuth. Currently I am working on desktop
client which uses the basic authentication.
Would like to switch to OAuth.
So I intially tried my hands with Abraham's PHP library. Apparently, I
couldn't the callback to work. After googling and going through the
latest OAu
@Duane Roelands I am working on desktop app,but the fact that I need a
PIN for trading my request tokens for OAuth Access tokens made me look
at PHP route. My idea was to use PHP get the access tokens and then
use them in my desktop app. The rationale behind this was that I
didn't want user to be
I am OAuthTwitter Library in C++. It looks like that the OAuth
Signature requires OAuth_token(Ref:
http://p2p.wrox.com/content/articles/twitter-development-oauth-specification
see table 6-1).
What is this token? How do I get this?
ken secret either in a database, file, or some other type of
> storage mechanism. You use those stored values until they expire(which
> could be never).
>
> Ryan
>
> On Sun, Jan 3, 2010 at 9:44 AM, Vikram wrote:
>
> > @Duane Roelands I am working on desktop app,but the
When I try to get the QAuth Request token I get "Failed to validate
oauth signature and token" error message from twitter.
What can be the possible reason?
If required I can share my entire code with you people.
This my query string
"https://twitter.com/oauth/request_token?oauth_signature=dIjtVqiRK
%2BnWo5UYRSSs6WWwKII
%3D&oauth_callback=oob&oauth_consumer_key=gUutCG9HjEOT0N8IxvW9w&oauth_nonce=hO3CY2tN7OblsYdp0sOoThPRGEMypcWdM1PM&oauth_signature_method=HMAC-
SHA1&oauth_timestamp=1262716897&oauth_version=
tter.com/Twitter-REST-API-Method:-oauth-access_tokenafter
> the user has authorized your application on Twitter.
>
> On Sun, Jan 3, 2010 at 11:27, Vikram wrote:
>
> > I am OAuthTwitter Library in C++. It looks like that the OAuth
> > Signature requires OAuth_token(Ref:
ote:
> You are don't have the parameters in the proper order. The signature goes
> last. The rest of the parameters must be in order. Put the parameters in
> order, create the signature, then append the signature to the end or the
> query string.
>
> Ryan
>
> Sent from m
Hi All,
I am trying to use this API using OAuth from my C++ .NET client.
How can get additional information about this error so that I can try
to fix it.
this->generateSignature();
WebRequest^ myRequest = WebRequest::Create("http://twitter.com/
account/update_profile_background_image.xm
Hi All,
Please let me know what HTTP parameters need to be included for this
API.
Should the 'image' parameter considered for the OAuth signature base?
How should value for the image parameter be populated?
Should be the byte array of the image file or something else?
Please help me out. If p
Yusuke,
Can you please share with us the raw text of your request? I am not
familiar with Java. I am working with C++(.NET)
Hey Raffi,
I know about the basics of oAuth I already working code for posting
tweets with OAuth. I have few doubts with respect to building
signature for multi part requests.
1. What all parameters should be part of the signature base string?
2. Where should the parameters and the signature be
Raffi,
If you have ever worked with DotNet then please help me.
What I do currently is as follows:
- Set the request type to POST.
- ContentType to "multipart/form-data; boundary=" + boundary
(generated);
- Then I add this to the request stream
L"--"+boundary+L"\r\n"+L"Content-D
Raffi,
After modifications, this is how my request looks like
OAuth signature base:
POST&http%3A%2F%2Ftwitter.com%2Faccount
%2Fupdate_profile_background_image.xml&oauth_consumer_key
%3DgUutCG9HjEOT0N8IxvW9w%26oauth_nonce
%3Dt64bID6gIVtpU6t7m3dsTrTUOhubJizM%26oauth_signature_method%3DHMAC-
SHA1%2
Rafi,
Can you please share the raw text of a successful image update request
for oauth?
Raffi,
After modifications, this is how my request looks like
OAuth signature base:
POST&http%3A%2F%2Ftwitter.com%2Faccount
%2Fupdate_profile_background_image.xml&oauth_consumer_key
%3DgUutCG9HjEOT0N8IxvW9w%26oauth_nonce
%3Dt64bID6gIVtpU6t7m3dsTrTUOhubJizM%26oauth_signature_method%3DHMAC-
SHA1%2
Hi all,
I am trying to use the update profile image API via OAuth. This is how
I build my request.
Set the method as POST.
Set the content type as multipart/form-data; boundary="+boundary;
(Boundary is generated)
Write the OAuth parameters
oauth_consumer_key,oauth_nonce,oauth_signature,oauth_si
Please someone at least share the raw text of a successful request to
this API via OAuth. I will compare my request and see what I need to do
Is there anyway get update profile background image to work with
OAuth?
No one from twitter API team also seem to be trying help people out?
Ok people. Finally managed to crack it. Thanks to Raffi for sharing
the raw text of the request. While working this API i figured out
there are very less resources available on Internet with regards to
the usage of multipart with OAuth and there is lot of confusion and
misleading data.
I will shar
20 matches
Mail list logo