I've been looking around for resources on learning to work with and use Open Graph by Facebook. I have their documentation page, http://developers.facebook.com/docs/, but am curious if there are any renowned online resources that other Facebook developers have been using?
I'm all for documentation, but am most interested in a comprehensive example to give me an idea for how Open Graph applications look & feel.
Thanks,
Facebook provides some examples (http://developers.facebook.com/docs/samples).
And the documentation page is up to date (for now :) )
Facebook has an Open Graph page, and there's some information available at http://www.opengraphprotocol.org.
For automated feedback, Facebook also offers a tool called URL Linter. You provide it with a URL, and it will show you what Open Graph data is found on the page.
I wrote a blog, created a deck and 4 short screencasts on my experience starting with the Facebook Open Graph API - HTH
Related
When I log in with Facebook at http://news.yahoo.com/ and I visit some article, a link to this article is shown at my facebook wall.
The note on Facebook says, for example "Paul read article Pannetta Formally Shuts Down US War in Iraq in application Yahoo!"
I would like to add same feature to my website. How to do it? I could't find any usefull examples or tutorials.
Example:
Facebook has a Step-by-Step Tutorial that covers this capability. I recommend starting with the documentation on Actions and Objects before delving into the tutorial if you have no experience with Graph API.
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 has officially launched its Facebook Questions. Does anyone know if it's possible to add one of the new Facebook "Question" polls through the Graph API? If so, how?
Thank you very much
They just announced this is available on their blog. To get them, issue an HTTP GET request to the USER_ID/questions endpoint with the user_questions or friends_questions permissions.
Update: they also just announced that you can create questions now via the API.
I've searched the http://developer.facebook.com page for poll related search terms and also online. This yielded no notable results.
It's probably worth making a poll with an external website, most I'm sure are compatible with the Open Graph but will not provide the Facebook interface that you expect on Facebook itself.
This has been deprecated as of Grpah 1.0 - https://developers.facebook.com/docs/graph-api/reference/v2.0/question
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.
I want to integrate a friends website (photographer) with Facebook. I've been trying to find the answer in the Facebook Developers guide, but it doesn't seem clear to me.
What would I need if:
I want to have a like button per photo album he has
I want to publish his news that he enters in my cms to his facebook wall
Do I need an application? Or can I accomplish this with plugins?
Thanks in advance.
the like button can just be added by inserting a code snipped
facebook will take care of the rest.
if you however want to do more with your liked pages like send updates and have statistics, you need to register an app and supply the app id as meta tag in your website. the open graph notation is used.
to publish news post you can obtain a permament token and publish using the graph api, but there are also alternative and probably easier methods
You should keep it simple and be able to accomplish these with just plugins... FB's documentation is quite rich:
In here it explains how to add the like button:
http://developers.facebook.com/docs/guides/web
http://developers.facebook.com/docs/reference/plugins/like
And this to post to his wall:
http://developers.facebook.com/docs/reference/plugins/live-stream