How to like facebook community in iphone using graph API - iphone

I am developing a Facebook application on iPhone which displays feed from a community. I can access wall of the community using the Graph API using the link http://graph.developer.com/CommunityID/feed?
and also post comment & like for particular wall post using graph POST api http://graph.developer.com/CommunityID_WallpostID/comments? & http://graph.developer.com/CommunityID_WallpostID/likes?
Now my problem is to "Like" the community first, which I was not able to find in Facebook's documentation
Has anyone successfully implemented this using graph API or other API?
Thanks in Advance,

As of now Facebook doesn't allow you to like anything apart form posts through Graph API. We actually had a work around using webview to display Facebook Like button.
You can refer to this great post by Ray Wenderlich at http://www.raywenderlich.com/1626/how-to-post-to-a-users-wall-upload-photos-and-add-a-like-button-from-your-iphone-app
and customize your like button at http://developers.facebook.com/docs/reference/plugins/like-box
Hope it helps.

Related

Facebook,Graph API

From where I can start For interaction with Facebook like post Image on wall, get friend list, post image on friend wall etc. I already read basics from here (Facebook GuideLines). Any good resources for learn Graph API and latest API documentation or tutorial?
thanks
http://developers.facebook.com/docs/reference/api/

Post Facebook Comment with Link Preview via Facebook API

Facebook recently added link previews to user comments.
http://www.insidefacebook.com/2011/07/21/facebook-comment-previews/
My question: is there a way to display this link preview using any of the Facebook APIs and publish_stream permission? (Graph, rest, etc)?
I've tried posting a URL in the body of a comment using the Graph API /comments endpoint, but no link preview is shown.
The feature might still be too immature to allow this, but I'm wondering if any one has tried it and got it to work in some way.
Sure. Just post a comment (for example) with youtube video and it will transfer to embed one

Is this possible to retrieve Facebook Newsfeed in uitableView

Is this possible to retrieve Facebook user Friend new feed on UItableView in ios Application using OAuth or any other technique.?
Like we can retrieve Twitter news feed using the below code.
http://www.icodeblog.com/2010/09/16/dealing-with-the-twitter-oauth-apocalypse/
Is their any sample similar code available for facebook,or both for facebook and twitter(combine).
Thanks in advance
Use fbgraph. see this tutorial and also use google for find facebook developer documentaion and there see about fbgraph.

Facebook Graph API (Tell people about my app)

Is it possible using the Graph API to tell the my friends about the an app?
I looked through the documentation and I can't find any, maybe I missed it. I can see I can post onmy wall, but nothing regarding sharing a link/app. Thanks
Sharing a link is a part of the Graph API. You can add a lot of variables to a Post request. See the official documentation here:
http://developers.facebook.com/docs/reference/api/post/
As an example, I used the message, link, name, caption, description, and icon properties with the graph API to create this dialog (using the Facebook iOS SDK).

Facebook Graph Post link problems

I'm trying to post a link to the wall of a facebook Page through the graph api.
http://developers.facebook.com/docs/reference/api/post/
Unfortunately the api is not very well documentet so i have some problems:
How do i get the "Share"-action to appear under a link i've posted?
How can i disable thumbnails for the link?
How can i make the caption linked
All those works when posting manually but i havn't found a way to do it through the api. I know it's possible though since i've seen other apps do it.