0

I currently have an iOS app with facebook integration that allows users to post their photos to facebook.

I want to add twitter integration as well, but I couldn't find any information about it. I read somewhere that it's now possible to upload photos directly to twitter, without an external site, such as twitpic.

Does twitter provide an iOS API in the same manner that facebook provides their APIs?

I looked over ShareKit, but it has tons of features that I don't need and the workflow of uploading a photo is customized in my app. Worst case, I'll copy-paste some code from ShareKit, but I'm not sure it even has the ability to share a photo to twitter.

Jacob Schoen
  • 14,034
  • 15
  • 82
  • 102
aporat
  • 5,922
  • 5
  • 32
  • 54

1 Answers1

1

Twitter doesn't provide it's own photo sharing API. You have to upload your photos somewhere (on your own server, twitpic, etc.) and get the link and post the photo's link along with the tweet text.

I haven't used twitpic before but it looks like they have their own API that you can check out here.

If you're uploading them to your own server, you should use bit.ly's api to shorten the URL's of the photo links to provide more tweet text space. Info on bit.ly's API is here.

Jiho Kang
  • 2,482
  • 1
  • 28
  • 38