Craig
Craig

Reputation: 1287

how can I find the owner of a facebook app ID?

A while back I created an app ID on facebook and added the appropriate meta data to a website. I now want to continue adding facebook-related features to the site, but it seems the app is not related to my account afterall.

I must have created it under a different account or something, but how can I find who the owner is based on an App ID? I have existing likes, so I don't really want to change the App ID. I don't see any way in the UI, and I do not see the app when I go to the Developer app. Is there a way to do it using the Graph API?

Upvotes: 44

Views: 70783

Answers (4)

christijk
christijk

Reputation: 2223

I got this working. If you have both app id and app secret then you can try below steps to get the owner details.

  1. Get the access token using id and secret of the facebook app.

    https://graph.facebook.com/oauth/access_token?client_id={APP_ID}&client_secret={APP_SECRET}&grant_type=client_credentials

  2. Using the access token you can call the below API to get a list of administrators of the app.

    https://graph.facebook.com/{APP_ID}?fields=id,name,roles&access_token={ACCESS_TOKEN}

  3. Retrieve the owner profile details by,

    https://www.facebook.com/{USER_ID}

Upvotes: 6

George
George

Reputation: 2950

If you have access to the app id and the app secret but no access to the app within Facebook it is possible to discover the creator_uid and from there the email address of the app owner using the graph api.

First get an app access token:

https://graph.facebook.com/oauth/access_token?client_id={APP_ID}&client_secret={APP_SECRET}&grant_type=client_credentials

With this you can get the creator_uid:

https://graph.facebook.com/{APP_ID}?access_token={APP_ACCESS_TOKEN}&fields=creator_uid

Using the app token you will then get the email address when looking up the creator_uid in the graph api:

https://graph.facebook.com/{creator_uid}?access_token={APP_ACCESS_TOKEN}

Upvotes: 91

Moz Morris
Moz Morris

Reputation: 6761

EDIT (Jan 2013)

Looks like Facebook have removed app profile pages so that method no longer works.


Option 1
You could return the app object, which stores all the populated information about the app by requesting:

https://graph.facebook.com/xxxxxxxxxxxxxxx

Option 2 (This method no longer works)
Or, you could visit the app's profile page and contact the developer directly using the 'contact developer' link:

http://www.facebook.com/apps/application.php?id=xxxxxxxxxxxxxx

(you'll need to replace xxxxxxxxxxx with your app id)

Upvotes: 52

Demian Kasier
Demian Kasier

Reputation: 2523

I have a similar problem, in that I have the id and the secret but no access to the app within facebook.

I haven't found a way to see who owns does have access to the app. But I have found a way to contact a dev

First get the app access token. https://graph.facebook.com/oauth/access_token?client_id={APP_ID}&client_secret={APP_SECRET}&grant_type=client_credentials

Then get the address: https://graph.facebook.com/{APP_ID}?access_token={APP_ACCESS_TOKEN}

Upvotes: 4

Related Questions