I'm trying to share a link of a video that I uploaded in my website host. But the post doesn't show my video and a thumbnail image. I want my post to look like this image bellow:
http://i.stack.imgur.com/UcbTG.png
is there anyway to post my video like that?
I'm using facebook SDK 3.1.1, ARC, Cocos2d 2.0, IOS 5.1;
Yes, if you supply the correct Open Graph Tags as per https://developers.facebook.com/docs/opengraphprotocol/#audiovideo your video can embed in the News Feed post.
To accomplish the actual Sharing, you should use the Feed Dialog which is customizable and will work on desktop and mobile devices.
Related
I am new to iOS development and need to make a change to an iOS app I'm taking over to add video to a tweet. My current app UI allows the user to type in text for a tweet but I would be changing that to allow them to pick a video to upload along with the tweet similar to how the Twitter app works.
I see the Twitter API supports uploading video but I haven't been able to find any good examples on how to accomplish this using XCode and Objective-C. Any recommended approaches or tool kits I can leverage to accomplish this?
https://dev.twitter.com/rest/public/uploading-media
I had to roll my own solution. Check out my project https://github.com/mtrung/TwitterVideoUpload.
Light-weight due to using built-in Apple's Social framework to keep things light. No need to add extra frameworks such as TwitterKit and Fabric.
Support chunk upload.
Built-in support for user's credential retrieval
Thanks for the -1 that was helpful. So thought I found the answer with Fabric (https://get.fabric.io/). The Android side supports image and video upload with a tweet but the iOS side does not (image only). It looks like you have to roll your own solution including building a video picker. Then you can use the Twitter REST API to upload the video. Not exactly what I was hoping for but it is doable.
This link shows Objective C and Swift code to do the video upload Share video on Twitter with Fabric API without composer iOS.
I am using TwitterKit framework for login with Twitter and getting user details. That part of my App is done. Now, I want to tweet a video link from my iOS App.
Here is the story:
User signs up using Twitter in our server.
User take a video from his/her iPhone. We upload that video to Amazon.
User wants to share this video to Twitter (Tweet that video link).
How would I achieve that. My question is not focused on just how to upload a video link. A tweet made by user should look like this:
The image has been taken from here which explains that you will have to upload video to twitter. Will I have to upload a video to Twitter to get such a view ? Do I have any other alternative to make focus on the tweet that it's a video link?
Also, I came to know that I can do that somehow using Twitter card. Exploring for that. If anyone have idea about Twitter card, please post an answer.
Hi I am pretty new to iOS and the Instagram API. I want to retrieve all pictures with a specific hashtag in an iOS app. How can i do that? Any help would be awesome.
Start reading about Instagram API. You need to make use of the following Tag Endpoint -
Once again, Instagram API documentation is very rich. Read about Tag Endpoints here.
Furthermore, if you are new to iOS programming, I would strongly suggest you to complete Build a Photo Browser iPhone App project by Team Treehouse. You will be creating a cool iPhone app for browsing Instagram photos.
I need to add the uploading video concept on twitter through my app. I have tried every possible solution i.e. oath, share kit but didn't get any success. I am able to post image with oauth as well as share kit. But when I tried share kit for uploading the video it make the incomplete yfrog link i.e. frog.com but when I click on the link there is nothing in that. Can anybody tell me that what I am doing wrong in this. Please help me out of this issue.
Thanks in advance.
you cant upload video to twitter (you can post URL of video ). twitter not allow to post video it is possible for vine app. only (because of vine app developed by twitter) .
I am trying to link to a specific video from facebook directly in iOS.
There are apps in AppStore that do exactly that (feks iLoaderLite).
I have the id of the video, and when i use the link on the mac, the video opens (using flash i suppose).
The link is "http://www.facebook.com/video/embed?video_id=1432879026926621".
When I use the same link in a webView, the webView responds by requiring flash, which of course is not available for the iOS.
If I use MPMoviePlayer, nothing is loaded and I have a black screen since it cannot decode the flash video.
How do can I link to a Facebook video in iOS?
Anybody has an idea???
Thanks in advance
Found it. Using the Graph Api explorer tool for facebook (google it), you can enter the video id, and search for the video. If you output "source" you get a link with the video source in mp4. You can add parameters, and search for other stuff too.