New Tutorial On Posting Images To Twitter

Hi Everyone,

It is Brian from Vellum Interactive. In celebration of our latest release - Political Arena (Android and iOS) - I have created a new Tutorial.

We integrated Twitter and Facebook into our newest game so that users could upload images and screenshots of fights directly to their social network of choice. This was very easy for Facebook thanks to the built-in facebook support, but Corona hasn’t achieved that level of integration on Twitter yet.

Hopefully this tutorial will save you all some time when integrating twitter into your own apps.

http://velluminteractive.com/upload-images-to-twitter-from-corona-sdk/

Enjoy!
Brian Reinhart [import]uid: 158289 topic_id: 31504 reply_id: 331504[/import]

Wow! Thank you! [import]uid: 40033 topic_id: 31504 reply_id: 125879[/import]

Interesting stuff, I tried modifying the demo twitter app to get it to upload images but couldn’t. So in the end I used it to get authorisation, once I had that, I upload the image to my hosting account and used PHP to post it to twitter.

Your way is much nicer and will move over to it on my next update.

Thanks for posting.

Dave [import]uid: 117617 topic_id: 31504 reply_id: 125909[/import]

Awesome tutorial Brian! +1

Peach :slight_smile: [import]uid: 52491 topic_id: 31504 reply_id: 125930[/import]

Thanks Peach! I am glad you liked it! [import]uid: 158289 topic_id: 31504 reply_id: 125951[/import]

Finally!!!

I went insane trying to upload images to twitter some time back and finally put together some really ugly code to somehow get it to work.

Thanks a million! [import]uid: 64174 topic_id: 31504 reply_id: 125957[/import]

Wow! Thank you! [import]uid: 40033 topic_id: 31504 reply_id: 125879[/import]

Interesting stuff, I tried modifying the demo twitter app to get it to upload images but couldn’t. So in the end I used it to get authorisation, once I had that, I upload the image to my hosting account and used PHP to post it to twitter.

Your way is much nicer and will move over to it on my next update.

Thanks for posting.

Dave [import]uid: 117617 topic_id: 31504 reply_id: 125909[/import]

Awesome tutorial Brian! +1

Peach :slight_smile: [import]uid: 52491 topic_id: 31504 reply_id: 125930[/import]

Thanks Peach! I am glad you liked it! [import]uid: 158289 topic_id: 31504 reply_id: 125951[/import]

Finally!!!

I went insane trying to upload images to twitter some time back and finally put together some really ugly code to somehow get it to work.

Thanks a million! [import]uid: 64174 topic_id: 31504 reply_id: 125957[/import]

Ok! Just tried the code… and it works AWESOME! :smiley:
I will clean up the code and post it up! Thats the least I can do for this AWESOME library :slight_smile:
[import]uid: 64174 topic_id: 31504 reply_id: 126457[/import]

Ok! Just tried the code… and it works AWESOME! :smiley:
I will clean up the code and post it up! Thats the least I can do for this AWESOME library :slight_smile:
[import]uid: 64174 topic_id: 31504 reply_id: 126457[/import]

Hi, your api saved me time ago, but now with the new twitter’s api, v1.1, i can’t upload the image i shared with my apk android. Please, do you have another tutorial that works with this new version of api twitter??

Thanks.

Hi, your api saved me time ago, but now with the new twitter’s api, v1.1, i can’t upload the image i shared with my apk android. Please, do you have another tutorial that works with this new version of api twitter??

Thanks.