hi, i’m wondering that what i can not send tweet with Twitter for iPhone API?
i’m software developer and i have desktop application.
i can sign in to twitter with Twitter for iPhone API on my desktop app but i can only like a tweet and retweet a tweet but i can not send tweet with iPhone API and also Android API same too.
you guys got any info about that? why i can not send tweet with both api?
There is only one twitter API, and for Android / iOS it’s the specific libraries and implementation that will be the difference and the issue - also, if you can make write actions, but not tweet - it could be a case of rate limits, or encoding the request (very likely if it’s your own code) - hard to say without the actual API error response.
What exact implementation / library are you using to make API calls for each (Android / iPhone)?
i’m using TweetinVi and TweetSharp libraries for C# desktop application.
i’m sign in with tweetsharp api and get my access token there is no problem with that i can make search, get user info, like tweet an another features with my tokens but when i’m sending tweet it’s forbidden error getting out.
by the way some twitter account are can send tweet from Twitter for iPhone API but newest accounts are can not send tweet with this apis (Twitter for Android & Twitter for iPhone)
Twitter for iPad and Twitter for Mac working with no errors but when i try to send tweet with iPhone api or Android API tweet can not sending.
Twitter for Android API info
Consumer key: 3...w
Consumer secret: B...s
Twitter for iPhone API info
Consumer key: I...A
Consumer secret: G...U
Oh, sorry - i didn’t mean share your keys - you should probably reset those.They should be treated as passwords. Authentication best practices | Docs | Twitter Developer Platform
Also, it’s enough to use 1 app for both Android and iPhone.
The issue may be that one of the apps is Read-Only, while the other is Read & write permissions. When changing permissions, the access tokens must also be reset and regenerated.
You’ll have to dig into the exact API response and error code to determine why posting a tweet doesn’t work in one environment vs another.
Can you share the code that you’re using for posting on iOS and Android? What iOS or Android Twitter API libraries are you using?
It sounds like you do not have Read/Write permissions set for your application keys.
If this is the same app you should only need one set of keys and tokens across platforms.
I do not understand the references to Twitter for iPad and Twitter for Mac, these do not have their own APIs, there is only the official Twitter API (developer.twitter.com)
so let’s change the question.
new question is: can i send tweet with twitter for iphone? but not on an iphone phone. with software. is that possible?
i want to send tweet like that with software.

Sure, using the API, you can send a Tweet. It looks like you already have created a Twitter app since you have keys. You just need the code, and you said you’re writing C# and using Tweetinvi. Can you share the code that is not working?
Wait. I am re-reading this. “Not with an iPhone”. The iPhone app runs on the iPhone. Your app runs on any device you choose (a cloud server, a mobile phone, a PC, etc).
Let’s change the question. What are you trying to do - and why?
system
Closed
#10
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.