Default visibility settings on facebook publish permissions dialog - facebook

When asking a user for publish_actions permission in my facebook apps, facebook asks the user for the level of visibility fir these posts. like so.
However, for each app I get a different level set as the default in this dialog, in some "public" is set, some "friends" and some "only me".
I know I can change these in the user's app settings , but how can this default level be controlled from the app itself (seeing as I would like to ask for public permission by default ).
I dont mind the user selecting a different level in the dialog, but how is the default level set?
Any ideas will be appreciated.

In your app dashboard, go to App Details, section App Center Listed Platforms.
Click on Configure App Center Permissions, select Default Activity Privacy, and Save the setting.
(Your app does not need to be listed in App Center, nor do you need to submit your App Details for review for this setting to take effect.)
Edit: It seems they removed this setting, so now it is totally up to the user to select their desired privacy setting when they are asked for publish_actions permission; suggesting a default value does not seem possible any more.

As #CBroe pointed out it can be set in the app center permissions on the app dashboard.
details here

Related

app not active: This app is not currently accessible and the app developer is aware of the issue

I got this error on the Facebook page.
App not active: This app is not currently accessible and the app developer is aware of the issue. you will be able to log in when the app is reactivated.
Also, I was implement facebook login in the Laravel with "Laravel Socialite".
It's happened because your app on Facebook for developers website is not live
solution
go to Facebook for developers from here
choose My Apps from the top bar
click on your app icon ( then you will notice that your app is not live from the top bar )
from the left side select settings >> basic
put your privacy policy link in the Privacy Policy URL and in the User data deletion field, you can make a copy from this privacy policy ( to make a copy from the privacy policy select file from the top bar and select make a copy )
press save changes
I hope that it was helpful
The error suggests your Facebook app is not active; it should definitely be in Development Mode.
You get that error because the Facebook user account you are using to test the login with Facebook feature is neither added to your Facebook app as an Administrative nor Developer account.
You should check and ensure the Facebook user account meets either condition above.
Alternatively, you can change you App Mode from Deployment to Live, if you are ready to make it accessible to your users.
Go to developers.facebook.com/apps/your-app-id/app-review/permissions
Change public_profile to Advanced Access.
Thats all.

The developers of this app have not set up this app properly for Facebook Login?

I'm trying to make a login with Facebook available in my script. I've done everything, but when I attempt to login with a Facebook account I get this error from Facebook:
Error
App Not Setup: The developers of this app have not set up this app properly for Facebook Login.
Here's error screenshot:
Any ideas?
the problem was you have to set
Do you want to make this app and all its live features available to the general public?
set status and review to ON and problem solved
enjoy coding
With respect to the all the other answers, here's the screenshot to help someone.
Go to https://developers.facebook.com/
Click on the Apps menu on the top bar.
Select the respective app from the drop down.
The circle next to your app name is not fully green. When you hover mouse on it, you'll see a popup saying, "Not available to all users because your app is not live."
So next, you've to make it publicly available.
Click on setting at left panel. [see the screenshot below]
In Basic tab add your "Contact Email" (a valid email address - I've added the one which I'm using with developers.facebook.com) and make "Save changes".
Next click "App Review" at left panel. [see the screenshot below]
Look for this, Do you want to make this app and all its live features available to the general public? and Turn ON the switch next to this.
That's it! - App is now publicly available. See the fully green circle next to the app name.
Since the UI of the facebook has changed recently, here's the latest update for setting the sandbox mode ON/OFF :
Go to https://developers.facebook.com/
Click on the Apps menu on the top bar.
Select the respective app from the drop down.
Go to 'Status & Review' from the table in the left side of the page.
Do you want to make this app and all its live features available to the general public? - Select switch to set YES/NO value.
Update:
The YES/NO button will be disabled until and unless you provide your contact email.
Go to "Settings" in the left menu.
Update your Contact Email.
Hit the "Save" button at the bottom of the page.
Update:
'Status & Review' is replaced by 'App Review' now
If the app is still in private mode (Status and Review set to NO), then only Facebook users with role in the app can login.
That unless you set it to public (Status and Review set to YES).
To add more users to be able to login to a private app:
Go to https://developer.facebook.com
Go to Apps -> "Your app" -> Roles
Choose Add Administrator,Developer or Tester.
Many reasons including:
Sandbox mode is ON
Domain name is different
Site URL is different.
This error also occurs when you try to log in in your test version of the Facebook app and you have not added the user you are trying to test the log in with in the Roles -> Testers section.
To fix it, just add the email address of the Facebook account you are trying to log in with in the section above.
Finally, make sure the user you added accepts the request sent before you try to test otherwise the log in process will fail in the second screen just after the user accept the conditions.
Make Sure in left panel App review tab selected (Your app is currently live and available to the public.) tab is ON and App status is GREEN
Happy Programming
And addition to all these beautifull comments dont forget to Start A Submission
There are a bunch of possible things which could trigger this error:
In your case, you just need to add your facebook account into either tester, developer or admin of your facebook app as you want to use that account to test.
But if you see the error upon clicking connect to facebook(before you have chance to enter facebook credentials), then it means your current facebook account detected from cookie is not a valid tester/developer/admin account for your app.
Your could either add your account in or just hit facebook.com and sign out(to remove the undesired cookie).
I had the same problem but now here is how I solved it
Go to https://developers.facebook.com/
• Click on the Apps menu on the top bar.
• Select the respective app from the drop down.
• Click Settings from the table in the left side of the page
• Then under the Contact Email type in your email you would like to use
• Then click save settings button
• Go to 'Status & Review' from the table in the left side of the page.
• Do you want to make this app and all its live features available to the general public? - Select switch to set YES/NO value.
For other users that run into this issue, the app I was testing against was a test version of our production app and didn't have the option to turn status and review to ON as others have mentioned here.
The fix was to create a new app which is not a test app, and configure it like the production version. The non-test version allows the option to turn status and review to ON.
My specific use was testing a user registered with a phone number instead of an email address. I tried adding that user into different roles of our test app (Developer and Tester), but to no avail. My guess is it has something to do with the user not having an email associated with it.
Here's more info on test apps: https://developers.facebook.com/docs/apps/test-apps
Hemang's answer was right, BUT, there's one extra step you'll need, which is to add a Facebook App ID. (I discovered I was missing this part):
Once you've done that in addition to Hemang's answer, you'll be good to go!
Okay - sandbox is off, domain has to be correct because 99% of the users can reach the app, and "all its live features available to the general public" is set to yes.
Now, You need to add a "Privacy Policy URL" in the App Details tab (developers.facebook.com).
This is a new Policy of Facebook.
This resolved my issue if you do not want to make the app available to the public (keeping Status & Review on NO)
I had to sign out of the previous account on the Facebook App and also remove the Facebook account in Settings. Removing just from the Settings will not remove the error because the App itself still has the previous account logged in.
If you have set your Roles as Administrator/Developer/Tester, you can put in that account login info in and it should work then.
do setup by following bellow link and domain name you need to mention as like wht you have mentioned in facebook app domain name.
Go to https://developers.facebook.com/
Click on the Apps menu on the top bar.
This is because you didn't make your Facebook app live. For this go to:
Facebook developer page->Select your app->you will see top of the right your live option is disable and click to enable it->It will refer to you in "basic setting section"->You have to add "privacy policy url" and "Terms and services url" also you may select app category->then save the setting.
Note: You can use any blogspot or website to make your privacy policy also terms and condition page.Both I gave same url which worked.
after a lot of tries, I've read in other topics which someone said "delete all your apps and create it again". I did that but, as you can imagine, a new App will create a new Application ID on Facebook's page.
So, even after all the "set public things" it didn't work because the application ID was wrong in my code due to the creation of a new App on Facebook developer page.
So, as AndrewSmiley said above, you should remeber to update that in your app #strings
Set LoginBehavior if you have installed facebook app in your phone
loginButton.setLoginBehavior(LoginBehavior.WEB_ONLY);

Privacy Policy Warning Won't Go Away

We've received the following warning:
Please update your privacy policy for Brewtoad to avoid enforcement action. The URL may be missing or returning an error.
Also, be sure your privacy policy displays on your website or app. For more info, refer to Platform Policy II.3 and this external resource: http://www.applicationprivacy.org/platform-requirements/facebook/.
When we click to update the privacy policy, we're directed to this page where we're being forced to create an App Center page. We don't want that. We only use the Facebook app for users to login with Facebook.
When we go to edit our app normally, there isn't an option to "submit a privacy policy."
This message is an alert that won't go away because we've "read" it.
Previous questions about this issue have answers insinuating that all you have to do is add the privacy policy url and that the message can be marked as read and the alert will go away
Neither of those things appears to be true. Instead, it looks as though facebook is trying to muscle us into some kind of integration with App Center that we don't want to implement.
You don't have to publish your app to App Center - just add privacy policy to https://developers.facebook.com/apps/APP_ID/appdetails and all will be fine, trust me.
You must provide a privacy policy in the required field on the app options page:
Head to https://developers.facebook.com/apps
Select your app
Click 'Edit app'
Click on 'App details' on the left
Fill the 'Privacy policy' url field with your privacy policy
If you don't have a privacy policy and need to generate one, I'm the founder of a service that does just that, and has a specific Facebook integration: www.iubenda.com/en/facebook

Facebook Graph API Video Upload Privacy Setting

Is it possible to set the "privacy" for each video upload using the Graph API?
I have a little gallery that will display different videos from people. But at the moment, I can only display the Thumbnail and unable to view the video if I am not "friends" with the uploader.
FYI: I have set the "Default Activity Privacy" in the Facebook App setting in Auth Dialog to "Everyone".
Any inputs would be very helpful.
Thanks!
If you go to Account Settings >> Apps, and find your app, there is a settings called
Who can see posts this app makes for you on your Facebook profile?
While your Default Activity Privacy may be set to Everyone now, it's possible that when the user authorized the app, he changed the privacy mode. Or, maybe the user authorized your app with the default privacy before you changed the default.
via Facebook: "Where can I control my app privacy and settings?"
... never does Facebook say that an app can override a user's privacy setting. That's because it's not possible. If it were possible, it would seriously discourage people from using apps at all.
#Gil Birman answer is wrong.
Try add to http entity param with name privacy and value {"value":"SELF"}. As result, uploaded video have access: only me. Facebook support also other privacy.

Facebook ignores Default Activity Privacy setting

I have set my app's Default Activity Privacy to "Only me", but when showing an auth dialog, Facebook ignores this setting and always shows "Friends". I am not mistaken about the expected behaviour. It is documented here: https://developers.facebook.com/docs/opengraph/authentication/.
Even when I preview the dialog within the app settings page, it shows "Friends" instead of "Only me". What gives?
Because your Facebook account already accept the application with default privacy is "Friends". You can change it.
Go to your Facebook page, then go to Privacy Settings, then choose Applications: http://www.facebook.com/settings?tab=applications
Find the app you are talking about, you will see the current privacy is "Friends". You can change it here.