Disable sandbox mode for facebook app via api? - facebook

Does anyone know if there is an (undocumented?) field/property in graph api I can use to disable sandbox mode for an app?
I have checked https://developers.facebook.com/docs/reference/api/application/ and googled my eyeballs sore, but can't find anything, is this only available from the app settings panel on developers.facebook.com/apps?

No, there is no undocumented/documented property for this. You must enable/disable manually from your app settings.

Related

How to Enable Facebook Sandbox mode?

The documentation and links out there on how to enable Facebook Sandbox mode seem to be out of date.
I don't see the radio button in my Settings > Advanced.
Even this is different https://developers.facebook.com/docs/games/bestpractice/managing-development-cycle/
It’s on the “Status & Review” tab now and called “Do you want to make this app and all its live features available to the general public?”

Launch Settings app using private api

Since opening Settings.app with a prefs:// URL no longer works in iOS 5.1+, I'm wondering if I can launch Settings using private APIs?
NOTE: Not for the app store.
Using Private APIs
GitHub Project iOS-Runtime-Headers
Here are iOS Objective-C headers as derived from runtime introspection.
The headers were generated using RuntimeBrowser for iPhone.
Of specific interest to the Settings app, take a look at the Preferences.Framework.
I've never worked with this directly, but there seems to be other SO questions on the topic:
iOS Private API Documentation
Does anybody know how I can find the the headers for IOS5 Iphones/ipod. Jailbreak development
Get a screenshot while App is in background? (Private APIs allowed)
More...
Using URLs
According to this answer on SO, it is no longer possible to manually launch the Settings app using URLs.
Asked Apple through my developer account if there is a way to programmatically launch the WiFi Settings dialog. Here is the response:
"Our engineers have reviewed your request and have concluded that there is no supported way to achieve the desired functionality given the currently shipping system configurations."
If, however, you are using the native Twitter or Facebook SDK, then a dialog will appear asking the user to login if they are not. More information from this SO question, with example image below.
I don't have a particular answer. However, I would build on previous answer about Facebook or Twitter. I think, it make sense to disassemble Twitter or Social framework and find where this dialog is shown. If you will find this place, you can check the code behind "Settings" button.
There should be some API which switches to Preferences. However, it could be that code which does it lives in some service component which has entitlement, which you won't be able to get.

Facebook Enhanced Auth Dialog

The new enhanced auth dialog also shows which of your friends are also using the app. Is there any way to hide this? There are certain apps for which it would be more politically correct to NOT know who else is using it.
You could try disabling Social Discovery in the apps settings.
Also you could try setting the Default Activity Privacy to "Only me".

Hide Facebook Application development

I want to develop a facebook app. The only thing I want to know is will this (the fact that I am developing an app) be shared to my friends? If yes how can I disable that?
I don't really understand your question - what exactly do you think would be shared with your friends?
Unless you post something from your app there's no way for a third party to even know that it exists, let alone who runs it. Even the app's info page won't show the developer info unless they choose to enable that.
There's also test accounts you can create via the app edit interface or API ( https://developers.facebook.com/docs/test_users/ ) to test the app without using your own
{edit} Also, as Derek says, you can use sandbox mode while testing so the app and its content aren't visible to anyone except the admins, developers and test users{/edit}
You can enabled "Sandbox mode" which should disable all notifications and public access to your app.

How to check if the Oauth-2.0 migration is done?

I am a facebook developer have a site which registers using fbconnect register feature/button. We use following SDK:FeatureLoader.js.php/en_US for the same.
Now to migrate to Aouth-2.0 I have added the "oauth:true" to FB.init function on my page and also enabled the Oauth radio button on my facebook app settings.
But can some body help me out to how I can verify that my app is now Oauth-2.0 enabled as I can register without "oauth:true" as well.No effect of adding and removing it?
maybe you have the sandbox settings enabled. If so, oauth (true or false) will function. Disable the Sandbox Mode and look if it still works.