My open graph action has been approved but some facebook user will get the follow exception when I call the open graph API. Any ideas?
OAuthException: (#100) You haven't enabled Explicitly Shared for this action type ([this is the action id]) yet. Please update your Open Graph settings in the App Dashboard
You need to enable the explicit sharing option through your app on Facebook. Dive into the settings for the "Action" and click on the arrow on the bottom of the page that reads "Advanced". There should be a radio button allowing you to enable explicit sharing for the specified object.
Related
The publish_actions permission is deprecated. This permission was very good for implementing Check-in via the place parameter. In the place parameter it was possible to put the Page ID and the Check in to be registered in the Page and also in the User Timeline.
Now we only have the option of Sharing Dialog which is very limited. I have not yet found any solution so that users can check in via Dialog Sharing. I want to implement this function in a custom Wi-Fi Hotspot. Does anyone have a solution?
Video example: https://wificem.com.br/video/hotspot-checkin.mp4
I have a Community Admin role, inherited by
sitecore\Sitecore Client Securing
sitecore\Sitecore Client Users
sitecore\Sitecore Client Publishing
sitecore\Sitecore Client Designing
sitecore\Sitecore Client Authoring
And I want to make quick info section visible to only Community Admins in Sitecore 8.
I tried using the checkbox Quick Info in Application options button in Top left corner of the content editor. This helps, but it is user specific that I can make this option show/hide to a particular user not for all the users who have Community Admin role.
How can I make this Quick Info section visible to all Community Admin users?
There is no user interface for specifying which users / roles can / cannot see Quick Info section. The only setting I am aware of is Sitecore top left (Hamburger) button --> Application options --> Content editor --> Quick info section; that is just a checkbox applied for currently logged user only.
Does custom code works out for you? There was a previous SO question on How to Hide Quick Info Programmatically
You can slightly modify the code from that post in order to check if user is in roles with Sitecore.Context.User.IsInRole method and that would work.
You Can also enable the quick info section by navigating to View -> Standard Fields and check the 'Standard Field' checkbox.See below screenshot.
Built an application that uploads videos to a users timeline.
The first time they use the app and log in to their facebook account they are presented with a 2nd facebook Privacy modal.
<appname> would like to access your public profile, friend list and photos
Is there a way to somewho bypass this modal by changing the facebook application security settings?
Simple answer: no.
This is the basic scope that is implicitly added by Facebook to your request. Each scope has to be approved by the user. There is no way to programmatically or configurably skip this dialog on your side.
So here's the thing, I can't ask for 'publish_actions' permission for other users than Developers and Test Users.
And when I tried posting an action with a regular user I got an error like this one:
"(#200) Requires extended permission: publish_actions"
Also from the facebook documentation:
"While in Open Graph Beta, the 'publish_actions' permission can only be requested from developers and test users of your app. The 'publish_actions' permission will be ignored if requested from any other user."
.......
"Open Graph is still in beta. Though you can submit Open Graph actions for review in the Dev App, actions will not be approved until Timeline is available to all users."
Any clues on when this would be fully available for real apps ?
Open Graph is still in beta, and will launch soon after Timeline has been rolled out. Only then will you be able to request publish_actions for non-developers of your app.
go to the app's open graph
edit open graph
click the get code button
you gotta
confirm -> api explorer
and run app
but you will have the role developer
tester do not work.
because tester can't edit apps property.
I'm using the xfbml Add To Timeline social plugin (https://developers.facebook.com/docs/reference/plugins/add-to-timeline/), but when I click it the permissions dialog I get just says "Access my basic information" and sure enough it isn't actually getting me the publish_actions permission I need to use the timeline. I tried specifying the perm explicitly on the tag like so:<fb:add-to-timeline show-face="false" mode="button" perms="publish_actions"></fb:add-to-timeline> but no luck.
This was working fine yesterday and suddenly now it isn't. I'm wondering if this has something to do with my adding and removing my app from my facebook account multiple times?
This was driving me crazy for a long while. In my case, I fixed it by enabling 'Enhanced Auth Dialog' under the Advanced tab of my app settings.
When asking for publish_actions Facebook shows a preview screen of what sort of aggregations your app will create on their timeline.
In other words, if the preview isn't working, Facebook won't ask for the permission so you're asking in vain. Facebook doesn't make this clear in the docs, but everything needs to be perfectly setup with your app on Facebook to get this to work right.
Enable Enhanced Auth Dialong in the advanced settings of the app
Make sure you have at least one action and one object set up in the open graph section
For each action you must have an aggregation set up.
If you do not do all of these steps, there can be no preview and so Facebook won't ask for permission no matter what.
I faced the same issue. I fixed it by doing the below mentioned two thiings.
a. Enabled 'Enhanced Auth dialog' from 'advanced' setting of the app.
b. blanked 'user and friend permissions' along with 'extended permissions' tab on 'auth dialog' page.
I am not sure what it did, but it started working.
BUT.. Even though the authentication works and the posts are reflecting on my timeline, the add-to-timeline button still shows, 'Add to Timeline'..
The other trick i used is to keep checking the app permissions under account setting tab of my profile page.
Hope this helps !
From Apps -> Settings -> Auth Dialog:
While in Open Graph Beta, the 'publish_actions' permission can only be
requested from developers and test users of your app. The
'publish_actions' permission will be ignored if requested from any
other user.
I had the Enhanced Auth Dialog enabled in the Advanced Settings, yet this did not work until I added a Aggregation Preview for the activity. Strange, but true.
Hope this helps.
The publish_actions permission appears only if the user has added timeline OR if your app is a game. I suppose it will also be available for apps when Timeline will be rolled out to all users...