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/
Related
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
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
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).
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 use facebook api in my iphone application. I know that we can post to walls with facebook api but i have no idea about other features like :-
edit profile
send messages
add friends
get friends information etc.
So can anybody give me details about all the things we can or cannot do with facebook api ?
Here is a non-Facebook.com explanation of what the API can do:
http://en.wikipedia.org/wiki/Facebook_Platform
Check out the Facebook-ios-sdk.
The top level readme gives a good overview of the features.
https://github.com/facebook/facebook-ios-sdk