Our users are still experiencing issues uploading pictures with Twitter for iPhone to Moby. Any news yet ?
We're investigating some issues some clients and service providers are having with OAuth Echo on iOS5. If you could assist us by evaluating your services exact logic when it comes to processing an incoming OAuth Echo request.
One difference now is that iOS may add an application_id parameter to the query string of the URL to specified in X-Auth-Service-Provider when calculating its signature base string. Some clients may not be recognizing that this parameter has been added and then neglecting to place it on the URL specified in X-Auth-Service-Provider.
Some service providers may be then in turn requesting data not from either A) the exact URL specified in X-Auth-Service-Provider (including application_id when it is present) or B) what it assumes the URL should be (a hard-coded URL to Twitter's verify credentials method).
As you can see, the issues can be both on the client side as well as the service provider side, and you may be experiencing different aspects of the issue depending on the client that's making requests through you.
Can you share exactly how your OAuth Echo requests are interpreted/processed/handled?
hope after one year in the wilderness the problem is solved. However, should it not be resolved then you should consider the mode the picture is saved that also determines the uploading. As PNP image or JPEG will be different from GIF animation or MPEG video when uploading for them to appear instantaneously.
The issue is that Twitter for iPhone on iOS5 isn't passing 'oauth_token' in the HTTP_X_VERIFY_CREDENTIALS_AUTHORIZATION header.
@episod any idea when this will be fixed?
+1, this is a bug in the latest release of Twitter for iPhone. Looking forward to a quick update to address this :)
Can confirm this is the problem for us as well. Just logged this verify credentials header:
[HTTP_X_VERIFY_CREDENTIALS_AUTHORIZATION] => OAuth oauth_timestamp="1319056671", oauth_nonce="393XXXXXXXXXXXXXB", oauth_version="1.0", oauth_consumer_key="IQXXXXXXXXXXXXA", oauth_signature_method="HMAC-SHA1", oauth_signature="rWXXXXXXXXXXXXXXzc%3D"
The oauth_token parameter is clearly missing from the header. It's been 6 days since this bug was introduced. We're hoping there's a fix for it very soon.
We're working to resolve the missing oauth_token issue with Twitter for iOS -- however, there are still some additional areas of concern with OAuth Echo on iOS5 that we're looking to resolve.
If you're an image provider that supports OAuth Echo over iOS5, please email me at firstname.lastname@example.org -- there are some image upload providers who appear to be using hard-coded/assumed values in the verification sequence.
Our Mobypicture users are still having problems with uploading photos from the iOS Twitter app to Mobypicture using OAuth Echo.
I'll describe how we process the Echo authentication (using PHP):
// These values are not hardcoded, but come from a Twitter OAuth Echo request, also note that the oauth_token value is missing :(
$echoAuthServiceProvider = 'https://api.twitter.com/1/account/verify_credentials.json';
$echoAuthHeader = 'OAuth oauth_timestamp="1318929811", oauth_nonce="1CE9530D-FE40-47A7-BF23-8154405E0606", oauth_version="1.0", oauth_consumer_key="IQKbtAYlXLripLGPWd0HUA", oauth_signature_method="HMAC-SHA1", oauth_signature="0o75mIXOw5FdACHnyKoyEPe0bik%3D"';
$c = curl_init($echoAuthServiceProvider);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($c, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
curl_setopt($c, CURLOPT_HTTPHEADER, array('Expect: ', 'Authorization: '.$echoAuthHeader, 'User-Agent: Mobypicture OAuth Echo'));
curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($c);
$status = curl_getinfo($c, CURLINFO_HTTP_CODE);
Here is the new headers posted by iOS5 Twitter on custom image upload which fails due to lack of oauth_token. Twitter iOS4 posted the oauth_token in the X_VERIFY_CREDENTIALS_AUTHORIZATION:
oauth_token is need for oauth Echo as per https://dev.twitter.com/docs/auth/oauth/oauth-echo
Is oauth echo still supported in iOS5?
TWITTER APP iOS 5 HEADER LOGS:
[HTTP_USER_AGENT] => Twitter/3.5 CFNetwork/548.0.3 Darwin/11.0.0
[HTTP_X_VERIFY_CREDENTIALS_AUTHORIZATION] => OAuth oauth_timestamp="1318875025", oauth_nonce="FA8E28BXXXXXXXXX6A6DC", oauth_version="1.0", oauth_consumer_key="IQKbtXXXXXXXX0HUA", oauth_signature_method="HMAC-SHA1", oauth_signature="JpbqoXXXXXXXXXXA%3D"
[HTTP_X_AUTH_SERVICE_PROVIDER] => https://api.twitter.com/1/account/verify_credentials.json
Has anyone heard an update yet on the missing oauth_token issue? Is it being fixed or is there another iOS5 method that exists that will allow 3rd party image uploads?
Taylor, any status update and sked fix would be great!
The update for Twitter for iOS should hit the App Store some time this week. This build fixes the issue where we were not sending an oauth_token, as well as a number of other fixes to our OAuth Echo implementation under iOS5.
If you're an image provider, ensure that you're flexible in your OAuth Echo implementation on accepting additional parameters in the X-Auth-Service-Provider HTTP header -- for iOS5 applications making use of TWRequest, the header will contain an additional application_id parameter which must be passed back to api.twitter.com when performing the "verify credentials" step.
The new 3.5.1 iOS Twitter app solved the Oauth echo implementation issue.
and a simple:
curl_setopt($ch, CURLOPT_URL, $header_request['X-Auth-Service-Provider']);
takes care of the new application_id.
I can't send a photo with twitter,message says photo upload failed,could not authenticate you,header rejected by twitter.have installed latest version of tweetlist.can anyone help me,would be grateful,thanks.
I want to upload photos on twitter with php api
can anyone help me regarding this
https://github.com/themattharris/tmhOAuth/blob/master/examples/photo_tweet.php contains a PHP example of posting a Tweet with a photo.
I have a little bit confusion about twitter photos uploading api with php
Can any one help me regarding this
Thanks so much
https://github.com/themattharris/tmhOAuth/blob/master/examples/photo_tweet.php demonstrates an example of doing this in PHP -- if you need help with something more specifically, be sure and open a new thread for help.
Thanks for this..
But I want this .. When click a image link after click twiiter authenticate user and this picture upload his account...
Can help regarding this
So are you guys every going to build an API that works? You know... like Facebook's?
I've been scouring the internet now for 2 days trying to figure out how to use php to update a user's profile picture (account/update_profile_image). I'm using the EPITwitter Library and the post_accountUpdate_profile_image method that utilizes a php magic construct __call method to exec.... I receive a 200OK response, but the profile image doesn't change. As a developer that regularly has to deal with clients who "want every social network possible built into our website", I can say (and im sure a ton of others can, too) , you shouldn't put something in the API docs if it doesn't work... It's misleading and it gives us developers absolutely nothing to turn to when we need to tell our clients your API doesn't work.
i can't to send anything
i want to upload photo on twitter with php api
I want to upload my foto on tweeter
I dont now how
I cannot upload a profile picture using both Mozilla firefox and internet explorer.
Having same problem here & I too tried using IE & Firefox with no luck. Anyone have any idea how this can be repaired?
There is error when I upload photos
I am trying to upload image into twitter using HttpWebRequest object in ASP.NET 4.0 (C#). But I am getting error 403 forbidden request. I require it for console application.I am using upload.twitter.com site url but still it is not getting Uploaded.I have done this in PHP and now the code is migratting in .NET.
If anyone has example for uploading image using Twittersharp or any other C# console app then please reply immediatly.
Thanks Regards, Sanket
I have been trying to upload a photo using the twitter api by downloading an image to my server then posting it to twitter but I keep getting the same status error https://dev.twitter.com/discussions/9424
I can't send photos from my camera app to Twitter anymore! It says connection to Twitter failed all the time now. What's up with that?
did you get a response? i have the same problem.
I can't upload my profile picture, it keep hanging or loading all de time.
I'm having trouble loading Pictures from my cell phone.
I am not a geek; but was able to post some photos on Twitter until recently. Any idea why not now? Or how to fix??
Uhm I have a problem uploading pics from my phone (Metropcs) just says message sent been that way for a month. I can upload off facebook on kindle fire. But not from phone. Just so you know.
My profile picture won't upload, and I am using Twitter on my computer.
Experiencing same issue, hopefully they'll get this corrected!
Hi, I can't change my profile picture. It's been blank like this all day. I've noticed other users have experienced this issue too. I'm very displeased and am wondering if there is anything I can do to fix it. I've tried everything. I tried uploading on both my phone and computerr yyet nothing works. Can anyone assist me?
How can I upload my picture?
I am not a tech head judging by some of the techheads above lol
When i try and add a photo from my library on a tweet it states the application doesnt have access to my photos or videos. I can enable access in Privacy Settings. How can I resolve this?
thank for the answers guys
your photo uploading is like a contest
I have iPhone 5 - cannot tweet pictures. Have tried repeatedly uninstalling, logging out, etc. In settings - have no other image engines to use as alternative. Help please!
i have to upload image using c# on twitter please help with code..
my twitter wont allow me to upload a header!!
I can upload a picture from my iphone 4s but not from my computer (and just getting a picture off my desktop). Anyone know what's up? Have suggestions? Thanks!
Since the last update I haven't been able to tweet a single picture. Using an HTC One...
Ok Ok Ok all you will need to do is download Opera or if you have two dif browsers open one , sign on to only One twitter account go through your normal ritual of choosing your background, Save. open the second browser, may it be Explore or Safari minimize and see the magic show. G14Life hit me back please if this has worked for you i have done it several times when my background has not uploaded. The two browses I use specifically is Opera and Safari signing into Opera for Twitter then opening and minimizing Safari browser.
our launched new marriage bauro.add profils
Helllooo Love you