Facebook permission dialogue not showing in iOS app - facebook-graph-api

In latest Facebook SDK, permission pop up not appearing.
loginbehavvior is set as .native.
Bundle id is added in app settings.
If anybody knows about this, please help.

Related

Facebook Submit for Login Review but still in Development Mode

I am trying to post to Instagram from within my app. My Facebook Dev app is in Development mode:
I can log in to Facebook and post/share to Facebook Pages, Groups and profiles from within my app so happy with that. I am now trying to post/share to Instagram so I am calling the FB.login as follows:
Where the method PostToInstagram() ultimately is doing this:
However when I attempt to call this, I get the FB Login popup, I click to post but I keep getting the error:
(#10) Application does not have permission for this action
On the popup, I have the option to change the FB/Instagram settings, when I try saving inside here I see:
I would have thought I would be okay as I am still in development mode. My other calls to FB api work fine. Could I be missing any scopes? Any help on this is greatly appreciated!

Android LikeView error

I'm using facebook android sdk v3.19.1 in my android app. I try to use LikeView, but it's only working with users who added to the facebook app settings in the roles section as developer or tester. If I try to click the like button with a normal facebook user or a test user it's appears and disappears quickly and gives back the following error message:
error_description: The like dialog is only available to developers and testers.
error: server_error
error_reason: dialog_disabled
My app is pubilc and I turned on the Single Sign On and Deep Linking options.
I'm using facebook LoginButton and ask for "publish_actions" permission before the user click's the like button, but it's still gives me the error message.
My problem is that I can't make the like button working with test users. I submitted the like button for review to the facebook, but they gives me the following response: Please confirm your app is working correctly and that you can publish likes with a test user.
Please somebody help me to solve this. Thanks.
I have the same problem. I found this on the Facebook docs.
Test users cannot become a fan of a public Facebook Page or create
content on them, such as writing on a Page's wall. A Test user can
however view and interact with any app tab on the Page associated with
the app that created them.
(https://developers.facebook.com/docs/apps/test-users?locale=es_ES)
Are you using the FB test user account for your app? Test accounts are not allowed to Like a page. I had the same problem. I changed to using my actual FB account and the LikeButton worked perfectly fine!

Error when posting achievements with user messages

When posting an achievement with a user message it gives the following error:
{"error":{"message":"(#100) You haven't enabled User Messages for this action type (127701393971353) yet. Please update your Open Graph settings in the App Dashboard","type":"OAuthException","code":100}}
No clue where to enable that.
Managed to get access to the setting by modifying the url manually with the id.
https://developers.facebook.com/apps/your_app_id_here/opengraph/action_type/127701393971353/
In case this helps someone else, I had this issue. My situation was: I had a live app with an approved Open Graph action. I needed to release a new version of the app but I needed a new Open Graph action for this so the earlier version still worked until users upgraded to the new version. When I used the new Open Graph action, I got this error. My problem was that I had made a simple typo error in the bundle id of the new app version so it didn't match with the bundle id I had specified for the iOS settings in the Basic Settings page in the Facebook Developer app. The clue was that in the error given in the Xcode debug console, the app id didn't match up.

Can't ask for 'publish_actions' permission

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.

Add To Timeline button not requesting publish_actions permission

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...