简体   繁体   中英

share video on Facebook from iPhone App

How do I share video link (video(.mov format) is on server and want to share link of it through my iPhone app)?? I am able to to send the link of the video and send an image along with it. But when I click on the link the video is playing in the other page. All I want is that the video is played on the same page and my image should act as thumbnail image.

I was able to get it to work with facebook dialog using the following parameters:

NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                           title, @"name",
                                           caption, @"caption",
                                           description, @"description",
                                           itemLink, @"link",
                                           source, @"source",
                                           thumbnailURL, @"picture",
                                           @"video", @"type",
                                           nil];

The source is the embedded video source+player and the link is where the user will go if they click on your title (eg the video on your webpage).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM