Submiting Open Graph Read action - facebook

Facebook keeps rejecting my read action each time I submit it.
Please note that my open graph application functionality includes the deletion of an article as that is required by facebook.
you can visit my website at www.heyngine.com
Please advice

If you are using the Read action on your website, you must use the build-in read action (news.reads) and not create your own action for the same thing. Facebook will reject your action if its a duplicate of a build-in action.
Secondly, when you login to Facebook via your site, it doesn't ask for the publish_action permission. This is required to publish actions to Facebook. Without this, your read action will not get published to the user's profile. Also, why are the 'Social On/Off' and 'Delete' buttons visible when I'm not logged into your website via Facebook?
Facebook Documentation / Policy says the user must have a separate 'logged in' experience to logged out users. I.e. Facebook Users should only see 'Social On/Off' and 'Delete' once they have connected to your site via Facebook, not before as you do currently.

Related

Explicit consent for Facebook autoposting

Recently, I have a project that users can play a mini-game on a website.
After playing the game, there is a form that required the users to fill-in with the button "submit and share to Facebook".
The logic behind the button is that, it will save the form data to database and check if the user grant the permission Publish Action, if so, it will do the posting action to the user's Facebook timeline.
The reason we did not use Feed or Share dialog is that our clients worry that the users will share some improper content, we will need to track the post ID and delete it if necessary.
Today the Facebook app is being restricted as it violated the Facebook Platform Policies.
I wonder the button "submit and share to Facebook" does not mean obtain their permission each time?? If so, how should I change the flow to fit the Facebook policy?
Thanks in advance
Your app appears to be posting without explicit consent and creating a
negative experience on Facebook. As a reminder, when a person grants
your app write permissions this is a technical grant enabling your app
to create custom share options. After people grant your app a write
permission, you must still obtain their permission each time your app
allows them to share to Facebook. In order for us to consider your
appeal, your app will need to stop autoposting. Below you'll find
information related to the app you want to appeal. Please describe
what your app does and how it distributes content via Facebook Social
Channels in the 'Appeal Message' section to help us evaluate your
appeal.

Facebook open graph custom story

I'm working on a project where users can give us publish_actions from the app, to able our backend publish a Custom Open Graph Story when some conditions are accomplished.
The flow is:
User login with Facebook on our app
User buys a ticket
User click on share story on facebook button, at this point publish_actions for user are requested
The app call a REST endpoint and the backend uses user token to send and open graph story
We tested this flow with our accounts (included as develeopers on facebook so act as a test-user) and it works as expected.
In order to allow this feature for the rest of users, we should send a submission review for publish_action permission? And also for our open graph story?
n order to allow this feature for the rest of users, we should send a submission review for publish_action permission? And also for our open graph story?
Yes, of course you need to get both reviewed, before regular users can be asked for that permission, and publish that OG story.

Publish custom facebook action on timeline as a Page

I have created a custom object and custom action with Open Graph, and they have already been approved by facebook. I am able to publish this custom action as a user, but not as a page.
The steps I follow are:
The user authorize the app via the login dialog, granting the publish_actions permission
I exchange the short-lived user_access_token for a long-lived one.
I fetch https://graph.facebook.com/me/accounts?access_token=... and get the page_access_token
I try to publish a custom action on the page timeline on behalf of the page, without success, getting an enigmatic OAuthException with message "An unknown error has occurred."
The auth dialog is correctly asking all the permissions, and posting the same custom action on a user wall on behalf of the user works properly.
Is this a bug or I am missing something? Anyone managed to publish a custom action AS A PAGE?
I don’t think you can undertake actions as a page – actions are ment to be undertaken by real people …

Automatically activate users' timeline on login

I am using the JavaScript SDK to login in the user on my website via Facebook, requiring the publish_actions permission. If I am getting it right, Open Graph stories published by using publish_actions are only visible for users who have their timeline enabled.
Is it possible to automatically activate the users' timeline after he logged in to my application and gave me the publish_actions permissions. I've seen authentication dialogs around the web where applications request the publish_actions permission and after granting the permission and logging in, the user automatically has the new timeline enabled.
I already searched a lot, but unfortunately I could not find anything in the developer documentation about how to do that.
How do I accomplish this?
If you request the publish_actions permission from the user and you have the action approved by Facebook, the message you talk about will appear in the login popup. Facebook automatically adds this message in as the features are only available with the new timeline profile. There isn't a setting you need to configure to add this message in.
What you describe is the intent of modifying user settings, and you can't do that.

Facebook account to replace registration?

I'm new to all this. This is what i'm after and i'm sure it's possible.
I've got a script where people can register/login in to as members. What i'd like to do is tie it in so that it just uses Facebook users details for the registrations. I've managed to set it up to sign up and and complete a registration using a user's name and email.
What i'd like to do now is automatically log the user in if they're logged in on facebook, is this possible or will they need to click a login button that then takes them to their page? If they need to click a button to login, how do I go about getting the button to take their facebook details and log them in? Also what happens in regards to passwords on my site? Is that stored in the app somehow?
Ideally i'd like to use the popup version of verification rather than the iframe that i've got set up at the moment.
Cheers in advanced for any help for a n00b!
This is in fact possible. Although I for my part was never a fan of such things here's some human-readable (simplified) theory:
Facebook uses a system called OAuth ( http://de.wikipedia.org/wiki/OAuth ). That means, when you want to have the user login onto your site using Facebook you'll of course need to provide a button/facebook-login-frame (see documentation) that says "Log me in with Facebook" or so. You then access Facebooks API (more here: https://developers.facebook.com/ ) and basically tell Facebook who you are ("Hi I'm website XY"). While that happens your user is redirected to Facebooks "permission-landing-page". On that page he needs to confirm whether he is fine with your website accessing certain information (like his name). If he confirms your website receives an access-token granting you access to a subset of his user information which you can then use to personalize his expeirence on your website.
Check out facebooks documentation because they explain exactly your usecase in detail.
(here: https://developers.facebook.com/docs/authentication/ )
PS: You'll of course never have any access to his Facebook login/password. That's kind of the idea behind "delegating" the authentication via OAuth to Facebook. Facebook only provides you with an access token (bound to that particular user who logged in and granted your app/website permissions)