[twitter-dev] Re: Update profile image API using OAuth

2010-01-18 Thread Vikram
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

[twitter-dev] Is there anyway get update profile background image to work with OAuth?

2010-01-16 Thread Vikram
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?

[twitter-dev] Re: Update profile image API using OAuth

2010-01-15 Thread Vikram
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

[twitter-dev] Update profile image API using OAuth

2010-01-14 Thread Vikram
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

[twitter-dev] Re: OAuth image upload: how does Twitter want to see multi-part post OAuth parts?

2010-01-13 Thread Vikram
Rafi, Can you please share the raw text of a successful image update request for oauth?

[twitter-dev] Re: OAuth image upload: how does Twitter want to see multi-part post OAuth parts?

2010-01-13 Thread Vikram
Raffi, After modifications, this is how my request looks like OAuth signature base: POSThttp%3A%2F%2Ftwitter.com%2Faccount %2Fupdate_profile_background_image.xmloauth_consumer_key %3DgUutCG9HjEOT0N8IxvW9w%26oauth_nonce %3Dt64bID6gIVtpU6t7m3dsTrTUOhubJizM%26oauth_signature_method%3DHMAC-

[twitter-dev] Re: OAuth image upload: how does Twitter want to see multi-part post OAuth parts?

2010-01-12 Thread Vikram
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

[twitter-dev] Re: OAuth image upload: how does Twitter want to see multi-part post OAuth parts?

2010-01-12 Thread Vikram
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

[twitter-dev] Re: OAuth image upload: how does Twitter want to see multi-part post OAuth parts?

2010-01-11 Thread Vikram
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)

[twitter-dev] Internal Server Error 500 on using the http://twitter.com/account/update_profile_background_image.format API

2010-01-09 Thread Vikram
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/

[twitter-dev] Please Help !!! How do i build OAuth based request for the update_profile_background_image.format API

2010-01-09 Thread Vikram
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

[twitter-dev] Re: OAuth_Token in OAuth signature

2010-01-06 Thread Vikram
:-oauth-access_tokenafter the user has authorized your application on Twitter. On Sun, Jan 3, 2010 at 11:27, Vikram vikram.prav...@gmail.com wrote: I am OAuthTwitter Library in C++. It looks like that the OAuth Signature requires OAuth_token(Ref: http://p2p.wrox.com/content/articles

[twitter-dev] Re: Please Help

2010-01-06 Thread Vikram
AM, Vikram vikram.prav...@gmail.com wrote: This my query string https://twitter.com/oauth/request_token?oauth_signature=dIjtVqiRK %2BnWo5UYRSSs6WWwKII %3Doauth_callback=ooboauth_consumer_key=gUutCG9HjEOT0N8IxvW9woauth_nonce=hO3CY2tN7OblsYdp0sOoThPRGEMypcWdM1PMoauth_signature_method=HMAC

[twitter-dev] Please Help

2010-01-05 Thread Vikram
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.

[twitter-dev] Re: Please Help

2010-01-05 Thread Vikram
This my query string https://twitter.com/oauth/request_token?oauth_signature=dIjtVqiRK %2BnWo5UYRSSs6WWwKII %3Doauth_callback=ooboauth_consumer_key=gUutCG9HjEOT0N8IxvW9woauth_nonce=hO3CY2tN7OblsYdp0sOoThPRGEMypcWdM1PMoauth_signature_method=HMAC- SHA1oauth_timestamp=1262716897oauth_version=1.0a

[twitter-dev] Re: Skipping the PIN based workflow for Desktop clients using OAuth

2010-01-03 Thread Vikram
@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

[twitter-dev] OAuth_Token in OAuth signature

2010-01-03 Thread Vikram
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?

[twitter-dev] Re: Skipping the PIN based workflow for Desktop clients using OAuth

2010-01-03 Thread Vikram
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 vikram.prav...@gmail.com wrote: @Duane Roelands I am working on desktop app,but the fact that I need

[twitter-dev] Skipping the PIN based workflow for Desktop clients using OAuth

2010-01-02 Thread Vikram
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