Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create a facebook application programmatically

Tags:

facebook

api

I'm trying to programmatically create an application in Facebook. I can do that with this:

https://www.facebook.com/connect/create_app.php?api_key=[key]&name=app_name

However, there's always a popup that says "Allow [Root App] to integrate Facebook functionality for you?" ... OK.

Is it possible for the "Root App" to create the application on the user's behalf without the popup via some previous permission which they have allowed, like stream_publish ...etc or maybe a session_token or ??

Someone said I can create child apps via "admin.setAppProperties" but couldn't get it working. I've also tried "FB.Connect.createApplication" and "Facebook.createApplication" but also failed.

Can anyone help? Maybe with some sample code.

like image 667
Kai Chan Avatar asked Jun 07 '11 10:06

Kai Chan


People also ask

Is Facebook SDK free?

The Graph API is free to use, for all applicable use cases. Rate Limiting applies though, developers.facebook.com/docs/graph-api/advanced/rate-limiting There is no way to “pay” or otherwise get those limits raised for normal 3rd party apps.

What is a Facebook SDK?

What is the Facebook SDK? The Facebook SDK is what allows mobile app developers to integrate Facebook within a mobile app. SDK stands for software development kit, and it allows for a website or app to integrate with Facebook seamlessly.


3 Answers

There used to be an API for this but I think it has been discontinued. You can see if you can hack it together from the information available here:

http://blog.programmableweb.com/2009/10/15/facebook-lets-you-easily-integrate-into-sites-and-widgets-with-new-create-application-api/

like image 158
Brad Dwyer Avatar answered Oct 19 '22 15:10

Brad Dwyer


Child applications (I believe they called them 'fourth party applications') intentionally need user interactions to create.

like image 40
TESTERTHETHUMPER Avatar answered Oct 19 '22 16:10

TESTERTHETHUMPER


The documentation for https://www.facebook.com/connect/create_app.php?api_key=[key]&name=app_name is scarce to none. Are you able to access the API key of the newly created application somehow? Or set further app settings such as site-url?

I'm thinking you would need the user's permission to view /accounts then monitor before/after state to detect which one was created.

like image 1
Mike Knoop Avatar answered Oct 19 '22 17:10

Mike Knoop