- Home /
Upload photo to Twitter
I have established the function to send a message to my twitteraccount. But how can I add a picture to it? The script below is the thing that sends a message to twitter. (there is a lot more code for authorisation etc.) The first value is "aaah" and that is what it sends to twitter. There is a Twitter API but I can't really see the connection between that and the twitter API in unity. Thanks in advance!
public void TwitterPost()
{
StartCoroutine(Twitter.API.PostTweet("aaah", CONSUMER_KEY, CONSUMER_SECRET, m_AccessTokenResponse,
new Twitter.PostTweetCallback(this.OnPostTweet)));
}
Comment
just use a Prime31 plugin, or spend months program$$anonymous$$g what they have already done eh :O
Your answer
Follow this Question
Related Questions
Uploading photo and video on a web server 5 Answers
Unity and TweetSharp / Twitter 2 Answers
Opening iOS and Android Photos to upload? 0 Answers
I'm having issues uploading photos in my questions... 1 Answer