Abhishek
Abhishek

Reputation: 2253

Upload video on twitter using ios5 + iphone sdk

Hiii,

I have uploaded image and status message successfully using TWTweetComposeViewController .. but i am not able to find anything to upload video using same class ..

Please suggest me to if you have any link or guideline .

Thanks in advance .. abhishek

Upvotes: 0

Views: 2026

Answers (3)

iSpark
iSpark

Reputation: 952

Twitter Does not host any videos.go through this support.twitter.com

Upvotes: 1

8suhas
8suhas

Reputation: 1460

You can use TWRequest class with

 - (void)addMultiPartData:(NSData *)data withName:(NSString *)name type:(NSString *)type

You need to include following headers:

#import "Twitter/Twitter.h"
#import <Accounts/Accounts.h>

I am not sure if uploading video is possible.

More on using TWRequest https://dev.twitter.com/docs/ios/posting-images-using-twrequest

Upvotes: 1

Ole Begemann
Ole Begemann

Reputation: 135578

Twitter doesn't support videos natively. You would have to upload the video manually to a third-party service (such as YouTube or Vimeo or Twitvid or yfrog or …) and then share the link on Twitter.

Upvotes: 2

Related Questions