Add to timeline button without asking for permission to publish

I use the social plugin xfbml Add To Timeline (https://developers.facebook.com/docs/reference/plugins/add-to-timeline/), but when I click on it, the permission window opens, which I get just says " Access to my basic information "and, of course, in fact, I do not get permission to publish. I need to use a timeline. I tried to specify perm perm explicitly on the tag like this: <fb:add-to-timeline show-face="false" mode="button" perms="publish_actions"></fb:add-to-timeline> , but bad luck.

This worked well yesterday, and suddenly it is not. I am wondering if this is related to my adding and removing my application from my facebook account several times?

+4
source share
5 answers

It made me go crazy for a long time. In my case, I fixed it by turning on the Enhanced Auth Dialog on the Advanced tab in my application settings.

+4
source

When you request publish_actions Facebook shows a preview screen of which aggregates your application will create on their timeline.

In other words, if the preview does not work, Facebook will not ask for permission, so you ask in vain. Facebook does not make this clear in the documents, but everything needs to be perfectly tuned with your Facebook application in order to make it work correctly.

  • Enable Enhanced Auth Dialong in advanced settings of the app
  • Make sure you have at least one action and one object in the open graph section
  • For each action you must configure aggregation .

If you do not follow all these steps, a preview is not possible, so Facebook will not ask for permission no matter what.

+3
source

I ran into the same problem. I fixed this by following the two sections below.

a. Enabled "Auth Advanced Dialog" from the "advanced" application setting.

b. the user and friend permissions are muffled along with the advanced permissions tab on the auth dialog page.

I'm not sure what he did, but started to work.

BUT. Although authentication works and the messages reflect my timeline, the add to timeline button still shows "Add to timeline."

Another trick I used is to constantly check the permissions of the application on the account settings tab on my profile page.

Hope this helps!

+1
source

From applications β†’ Settings β†’ Dialog box "Out":

While in Open Graph Beta, the permission to publish_actions can only be requested from developers and tests users of your application. The permission 'publish_actions' will be ignored at the request of any of the other users.

I had the Enhanced Auth Dialog option in the advanced settings, but this did not work until I added Aggregation Preview for this operation. Strange, but true.

Hope this helps.

+1
source

Permission publish_actions appears only if the user has added a timeline or if your application is a game. I suppose it will also be available for applications when Timeline is deployed to all users ...

0
source

All Articles