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
Related
Can I get posts with likes and other information from public profile of any user at Facebook, Twitter, Google+, Youtube and Instagram using their APIs, if I'm not logged in at any of these services? I need to use it developing PHP/JavaScript application.
Thanks in advance.
Yes, you can. But there is one condition, the profile you're accessing must be public. Also one has his own API's so it can get a little tricky. I think you don't even need PHP because the APIs from google & facebook come in JS.
A tip that might help you. Try firebase. Firebase is a framework that makes client-side development easier. You can include Google APIs & facebook APIs.
I'm a native Spanish speaker so I'm sorry for my English. Anyway, check firebase. It should help.
I would like to build a project to know users' behavior when they surf facebook website, especially the advertisements showing in their timeline wall. I have learned the basic idea of facebook graph api, knowing how to access the users' information and their feeds. However, I found that the feeds returned by facebook graph api is not "exactly" what user really see when they open facebook url in their browser. First, in graph api, it doesn't show the advertisements posted by sponsors. Second, the feeds returned by facebook api seem only regarding to my own posts(e.g. the photo tagging me, the posts tagging me). So, I would like to know how to access these information to rebuild a testbed that looks like exactly same as the real facebook website to record people reaction to it and continue my research?
Any idea is welcome ^^
This isn't really possible or rather I don't know any API (Facebook/Twitter/etc) that would do this to their third-party developers. The point of the API is to pull user data, not ads.
Also it sounds like you are using /me/posts or/me/feed instead of /me/home
I have just started to develop an application for Facebook. I searched a lot in the internet but I could not find any comprehensive answer to my questions. I really hope that someone can help me. I have below questions:
Background:
I am developing a web application and I have registered my web application in Facebook and I have got my AppID and Secret. My requirement is to
Extract friend's list of users registered to my web application (When user logs in, he/she should be able to see all his/her friends in my application as well
When user clicks on his/her Facebook friend from my application, I want to be able to extract friend's information as well (like movies, interests, likes and groups)
In nutshell, 1) Extract one's friends list 2) Extract friend's information.
My second question is that, How to initilize FacebookWebApplication object? In a post in StackOverflow, I saw an answer to use "DefaultFacebookWebApplication" but this class is not available in my dll.
To your first question:
You'll want to get familiar with the Graph API http://developers.facebook.com/docs/reference/api.
You will be making web requests to the Graph API and parsing a response composed of JSON. There are several open source SDKs available to help you out. I would reccomend this one:
http://msdn.microsoft.com/en-us/windows/ee388574.
Hope that helps!
I would look at the newer Facebook C# SDK on CodePlex, it is actively supported & available as NuGet modules : http://facebooksdk.codeplex.com/ - or just search for "Facebook" in NuGet. Here is simple example using the SDK: http://facebooksdk.codeplex.com/wikipage?title=Getting%20Started%20with%20an%20ASP.NET%20MVC%203%20Website
I have web portal. I need to somehow get all Facebook wall posts from just one specific user or group( that represents my web portal). I need to have wall posts available on my web portal for further processing.
I will be also needing an option for posting messages from web portal to FB user/group wall.
I haven`t worked with FB API until now, so any materials, tutorials that can lead me in right direction would be of great help.
Can this be done without creating Facebook application?
Thank you
No,
Facebook just like that does not share its user information.
you will have to create an app on facebook to authorize urself,and on your web portal you will have to sek users permission before getting any user info.
craete facebook app here https://developers.facebook.com/apps
You can choose between javascript sdk and graph api on how you want to get user data.
You can use publish_stream permisiion to get the post on user wall.
Can this be done without creating Facebook application?
NO
Tutorials and materials:
Graph API
Samples & How-Tos
Google, but I would be careful here. Try to search for updated tutorials (written or updated on 2011)
I used this http://neosmart.de/social-media/facebook-wall its fb.wall plugin into jQuery .js library. It easy and can be edited symply via CSS
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.