Reputation: 2253
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
Reputation: 952
Twitter Does not host any videos.go through this support.twitter.com
Upvotes: 1
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
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