Post to facebook feed allowed without any rules? [closed] - facebook

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.

Related

Getting Facebook user's public education info [closed]

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.

Get Facebook public profile information [closed]

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.

extract data from facebook [closed]

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/

Detect if the person who liked your Facebook Page was invited by someone else? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Let's say that John sent a request to his friends so they come to your app in your page. John's friend, Paul, clicks on the invitation and comes to your page. When Paul enters the page, I have access to the request object where I can see that John sent the invitation. So far so good.
Now, let's say that Paul likes the page. Do I still have access to that request object so that I can tell that this action was possible thanks to John?
In the case that is not possible using the default like button. Is there an Open Graph method to like your page so that I can create my own button inside the app to make Paul like the page? This way I can send the request object along and I can make the relation myself.
Thanks
It's easier if you save the request object containing if the user came by invitation in a cookie and check that after the user has liked your page. Does that solve your problem?

How to integrate Facebook to an iPhone application using Graph API [closed]

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.