How to generate url preview for facebook links - facebook

I wanted to know does facebook offer any API (for mobile App) so I can get metadata or anything so I can parse it & generate preview of the post from facebook url
Thanks

Related

Facebook share response after share post on facebook by API

We are trying to get response from facebook after successful share a feed on Facebook by add this API or Share.php page of facebook. But we are not getting any response from there.
Anyone can suggest how we will check feed share or not in facebook.

Share app with FBConnect

I'm using FBConnect to post messages on facebook. I'm able to let the user log in and post on his wall. The thing I don't know is how to share the app. I tried to put the itunes link of the app in the message, but it post a link to itunes as I wrote. Is it possible to add the app icon etc ... as it is when you put the link directly on facebook ?
I'm not sure Facebook would let you post URLs with a different scheme than http. Otherwise, people could be sharing all kinds of nasty stuff on Facebook. Best bet would be to link to a site that has a redirect to the iTunes link, but make sure you redirect using JavaScript. Facebook can follow meta refresh tags.

How can get the page id of a Facebook Application Page with Graph API for iOS

I have the application id of the Facebook Application and I want to get the page id of that application on Facebook using Graph API to Like it(I have already done the Facebook page Like functionality), Can any one there help me out please.
e.g. here is some application on Facebook.
https://www.facebook.com/YepmeShopping?sk=app_190322544333196.
I just want to get the page id of this application.
Thanx in Advance...please someone help me out!
Just follow the Graph API documentation: Make a Graph API request to the app id #"190322544333196 and the URL of the page will be returned as the link field of the response.
The Facebook iOS SDK can help you with creating the request and parsing the response.

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

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.

Can the Facebook iPhone SDK access Facebook Social Plugin data?

Is it possible to use the Facebook SDK for iPhone to access Social Plugin comments etc like on this page
http://www.theodysseyonline.com/topstories/index.asp?article=690
Rather than having to use a UIWebView and embedding the Javascript? As this will be a problem as the users credentials will then not be persisted between articles
I just snooped the POST method when posting to a comment and this is the querystring data posted to: http://www.facebook.com/ajax/wallpost_ajax.php?__a=1
fb_dtsg=m45N0&app_id=156492904393524&xid=a182&c_url=http%253A%252F%252Fwww.facebook.com%252Fwidgets%252Fcomments.php&r_url=http%253A%252F%252Ftheodysseyonline.com%252Ftopstories%252Findex.asp%253Farticle%253D182&flavor=3&sig=cb3e733f844ae3f018c20a4c05605741&ret_now=1&reverse=&title=Expos%C3%A9%3A%20A%20Day%20in%20the%20Life%20of%20a%20Campus%20Area%20Bus%20(CABs)%20Driver.%20The%20Odyssey%20Online.&connected=1&external=1&loggedin=707387065&post_form_id=80c8e681fe9cf555fdaa33f4f8aeec00&name=Name&email=E-mail&wall_text=test&feed_story=1&lsd&post_form_id_source=AsyncRequest