I have a problem with uploading images to twitter. I'm using MGTwitterEngine + OAuth for accessing Twitter - it works perfectly. I can access timelines, lists etc. BUt now I need to upload an image. I'm using GSTwitterEngine for it.
Twitpic API 2 returns:
Error 401 "Could not authenticate you (header rejected by twitter)"
Twitter still works. I've compared content of "Authorization" field in twitter's request field with "X-Verify-Credentials-Authorization" field in twitpic's field - they are identical except timestamp, oauth_signature and nonce fields that aren't have to be same.
Post body contains all required fields. If there is no any of required fields I have an error message from twitpic.
Twitpic API1 returns something like valid responce but with 'null' instead of images's width, height, type, 1st Jan 1970 in timestamp and id = 0 in picture id. But it returns valid user info (id and displaying user name!). All required fields are there, in other case I have appropriate error message.
I was using base64 and binnary formats for png and jpeg images. It changes nothing.
Did anybody have same problem?
Twitpic says that my OAuth data was rejected by twitter
406 views Asked by user1003028 At
1
There are 1 answers
Related Questions in IOS
- URLSession requesting JSON array from server not working
- Incorrect display of LinearGradientBrush in IOS
- Module not found when building flutter app for IOS
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- Expo Deep linking on iOS is not working (because of Google sign-in?)
- On iOS, the keyboard does not offer a 6-character SMS code
- Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
- The copy/paste functionalities don't work only on iOS in the Flutter app
- Hide LiveActivityIntent Button from Shortcuts App
- While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
- Actionable notification api call not working in background
- Accessibility : Full keyboard access with scroll view in swiftui
- There is a problem with the request entity - You are not allowed to create 'iOS' profile with App ID 'XXXX'
- I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
Related Questions in TWITTER
- issue with Twitter API :
- Unable to use snscrape
- Unable to like a tweet with using Tweepy and Twitter/X v2 API
- automatic commenting for users on the home page of Twitter
- I have a tweet (X) download that is all code. I'm not a coder and I just want to read the message. Can someone help me do that?
- Web scraping using Selenium (not working)
- Twitter oauth2 link seems correct but not working
- Is logging via selenium blocked by twitter?
- Login with twitter using identity server is not working when using openidconnect
- Apache flume does not run hadoop 3.1.0 Flume 1.11
- How to verify Twitter oauth2.0 access token
- Twitter embedded timeline is showing "Nothing to see here"
- Twitter parsing with Selenium python
- Error in login with twitter function on React Native app
- Nothing is happening after solving FunCaptcha
Related Questions in OAUTH
- Lambda endpoint for the Google OAuth callback does not recieve the access_token
- Miro oauth api throws error 401 Invalid authorization code
- Error from Identity Provider - OIDC Scope Error
- get refresh token in axios interceptor
- How would single sign-on work for my multi-tenant application?
- How to get OAuth2 Access token from Postman
- How to use Oauth in order to log‑in on .googleapis.com on almost any arbitrary endpoints domains from the web browser?
- How to fix common 500 internal server error when use POST method on NEXTJS
- How to use a different account for OAuth with dbt-core and profiles.yml?
- ASP.NET Core Google external login issue
- Implementing IDP Initiated Flow Using OIDC
- Migration of UseOAuthAuthorizationServer from .Net Framework to .Net8
- Django Allauth Bad Request Error, Error Retrieving Access Token: Invalid Grant
- angular oauth 2 oidc doesn't work with github idp
- Handling oauth in flutter app without browser
Related Questions in TWITPIC
- How to upload image and status to twitter using twitter4j
- check to see if URL from Instagram or Twitpic
- FHSTwitterEngine - 'NSInvalidArgumentException','data parameter is nil'
- Uploading Video on Twitter
- posting pic with python with twitpic fails
- twitter image upload (twitpic api)- unable find image upload method
- upload image on twitpic using as3
- Wordpress share twitter via twitpic
- RuntimeException: when uploading image to twitpic in android
- Android: Twitpic upload error
- Error: Image upload to twitpic in android
- not getting xml from API call
- How to get xml from TwitPic API
- twitpic integration with iPhone app
- Upload image on TwitPic using Twitter OAuth
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Solution: you need to change your Registered Application's (Application that you have created on Twitter) "Application Type settings" to Read and Write Steps:
and you are done!! now run your app and upload photo it will work