Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
If I obtain a Facebook user id using the Graph API, is it possible to access that user's education that he publicly displays on his profile without him giving permission to my app to do so?
If I obtain a Facebook user id using the Graph API, is it possible to access that user's education that he publicly displays on his profile without him giving permission to my app to do so?
No, that is not possible.
Publicly available via the UI, does not automatically mean publicly available via API as well.
The user needs to login to your app and grant it permission to access their education information.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am wondering if you can get the public profile information of the user if they don't authorize your app. I am using Facebook login inside a page tab and a canvas page. Is there a way to get the user Facebook ID if they don't accept the login permission dialog? I know if i am able to find you the userid i can fetch the public profile.
Thanks
You have two questions in 1 question:
Can I get public information without Facebook login:
Yes, that is possible: You can use the Graph explorer to check that out https://developers.facebook.com/tools/explorer/
You will get basic information, like name, first_name, gender and locale
Question 2: Can I get the Facebook ID without FB login:
It's not possible (anymore). You must have a valid session (e.g. with a Facebook login) in order to get a facebook user id.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am using facebook graph api(php) in our app. After user login in facebook using my app then some user getting all facebook friend list and few user not getting.
Please suggest.
Since v2.0 of the API, you can only get friends who authorized your APP too. You can NOT get ALL friends - unless you need them for tagging or inviting. Although, inviting is only possible for Game Apps with a Canvas implementation.
You only get all friends with a v1.0 App created before end of April 2014. If you get all friends with any other App, report it as a bug.
More information: Facebook Graph Api v2.0+ - /me/friends returns empty, or only friends who also use my app
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
We are trying to identify behavioral analysis of users in fb.
So unlike twitter, where we have api to connect to twitter and extract data.
We will have to create an interface in facebook, obtain necessary permissions from users and then extract data.
In order to connect, we need information of specific keys like
Consumer Key
Consumer Secret
Scope
Oauth Key
Oauth Secret
If the approach is right, kindly update on these values
Else suggest how to proceed further.
Thanks in Advance.
You can´t get any data of users who liked your Page, you can ONLY get data of users who authorized an App. Information on how to create Apps can be found in the Facebook docs: https://developers.facebook.com/docs/facebook-login/v2.2
Information about what you can get from authorized Users: https://developers.facebook.com/docs/graph-api/reference/v2.2/user
If you want to get statistics, use Page Insights:
https://www.facebook.com/{your-page-id}/insights/
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
When a player completes a mission, I will automatically post on his feed something like this:
$url = "https://graph.facebook.com/42343242343/feed";
'name' => "Title3",
'link' => "www.google.com",
'description' => 'description here',
Technically, it's all working now, but the rules/policy of Facebook is not really clear to me. Do I have to ask the player permission every time? (not the technical permission, because they already give it the first time they login)
I just want to post there automatically when a player does some action. It's a game that is not ON Facebook, but using Facebook login.
Yes, Facebook Policy (http://developers.facebook.com/policy/) isn’t really clear here, as it states:
If a user grants you a publishing permission, actions you take on the
user's behalf must be expected by the user and consistent with the
user's actions within your app.
But unfortunately, most likely you have to ask the player permission every time.
See explanation at https://developers.facebook.com/docs/guides/policy/policy_checklist/english/:
App does not automatically post Stream stories on a user’s behalf and
instead obtains consent by providing users with an option to click a
button or check a box that clearly explains their content will be
shared.
This is certainly not about permission given at the first login.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am developing an iPhone app which needs Facebook to be integrated to my application. I tried using Graph API for that but it wasn't successfull.
I successfully logged into FB using the graph API and got the access_token to access FB.
The primary need for me is to get a Facebook page and get ALL the posts from that Facebook page. And also to post on the wall of that Page.
Plaese help me with that.
Thanking you in advance :)
Have you tried using FBConnect library? https://github.com/facebook/facebook-ios-sdk
I think it will solve all your problems
You should take a look at the facebook permissions. Your user must allow you to access this information (you can do this with the FB SDK). You can get info on the exact error from the server response. It looks like you want the read_stream and publish_stream permissions.