how can I get the youtube shared links from my facebook account? - iphone

I want to list the YouTube video links in my iPhone app that I have shared in my facebook account.
How can I do this ?
Please if you have knowledge about this, please share with us.
Thanks in advance.

Look at FBConnect FBConnect and Graph API or REST API to see if this is possible.

Do the following instruction;
make a request for metadata.
After getting the response for metadata, just parse links dictionary from connections. You will get one url with access_token and signature.
Make one more request with the url.
eg:[fbGraph doGraphGetWithUrlString:[[[resultFacebook valueForKey:#"metadata"] valueForKey:#"connections"] valueForKey:#"links"]]
4 . Now you will get list of YouTube url from Facebook that already is in your Facebook Wall.

Related

How to get the thumbnail url for a video in an Instagram hashtag feed?

This is specifically about hashtags using the Facebook Instagram API.
Has anyone successfully retrieved the thumbnail url for a video in a hashtag feed? Even when using the graph API I cannot get anything to return?
To get the thumbnail_url you have to make an extra call to the Oembed endpoint using the post for the video and an access token. You must have an approved APP for this to work also. https://developers.facebook.com/docs/instagram/oembed/
https://graph.facebook.com/v9.0/instagram_oembed?url=https://www.instagram.com/p/CKRgKXoif40/&access_token=xxxxxx
Then you will see the thumbnail_url option available to you.

How to add Facebook access token to web services(json) to access an URL in iPhone

I have to get the Facebook access token and pass it through URL to get ttsid & then parse the json to get Web services contents.
please check this facebook graph.It will help you.
Please have a look at the link and
Fb ios6.
And you can check there official tutorial. Fb Graphs might be helpful.

How to post photos in foursquare using api in iphone

I would like to post photos to Foursquare. I already have Foursquare integration and I'm able to access user's information, but I don't know how to post images other than the profile picture. Please help.
See foursquare's photos/add endpoint documentation: https://developer.foursquare.com/docs/photos/add

Threads about FB -object, JavaScript SDK, OAauth 2.0 and Graph API?

I cannot understand the FB API. I feel the problem is because I cannot understand the protocals OAouth draft page (source, page 19). Well firstly it was so but now I understand that OAouth 1.0 and OAuth 2.0 are totally different protocols although for the same goal, apparently..
Perhaps the most essential stuff are FB docs about authentication here and a blog post
here. I am trying to categorize here threads to dig deeper into the FB API.
I cannot find things such as picture or friends in the Graph API -object
That’s because you didn’t ask for them …
To get a user’s friends, you have to query the /userid/friends connection.
And for the user’s picture, you can just use the address https://graph.facebook.com/userid/picture as the image src – this will redirect to the actual picture.
It’s all described here: https://developers.facebook.com/docs/reference/api/user/ under „Connections”
I am trying to organize here things.
Trials and some Confusing Points with Questions
Some code here and in history. Logs in history.
[solved] Trial 1 shows a cover picture from FB but not using FB API. FB -object does not store the picture URL! You need to use the POST -url.
[solved] Trial 2 with /userId does not request friends (thanks to one answer) but now a new problem with authorization, solved by this answer here.
[solved] Trial 3 with /userID/friends does not work due to no access-token. Solution here.
[solved] how do the many inner-most FB.login here
to get the access token? Moved this q here.
[solved] what does the __PROTO__ mean? -Unreliable, you are not going to use it (according to the chat -msg in history).
THIRD-PARTY MATERIAL
Manuals
Graph API here
JS SDK here
The OAuth draft paper about the webserver flow here.
FB.login here
Perhaps related
[URL -method] facebook graph api picture
[URL -method] facebook graph api photos retrieve
[URL -method] facebook graph api retrieve wall photos
[PHP] How to use Facebook graph API to retrieve fan photos uploaded to wall of fan page?
[PHP] Pulling in photos via Facebook Graph API
[Unsolved] https://stackoverflow.com/questions/7819091/can-i-retrieve-facebook-photos-through-graph-api-that-are-only-shared-with-frien

How to retrieve links posted by third-party Facebook apps

Hi i need to retreive all my links for an app. I have try with "me/feed?limit=9999&access_token=" but this string not get all my links. Only the lasts.
Instead of Feed endpoint try the Link endpoint:
http://developers.facebook.com/docs/reference/api/link/
That should get all the links posted by the authenticated user