how can I get the youtube shared links from my facebook account?
I want to list the YouTu开发者_如何学JAVAbe 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 parselinks
dictionary fromconnections
. You will get oneurl
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.
精彩评论