P.L.
P.L.

Reputation: 1488

How to configure "App Domain" (needed for Open Graph action) for a pure native iOS app (no web app)?

My iOS app would like to publish an open graph action when user uploaded a photo to my (web) server from the app(e.g. User uploaded a photo to Server). The app will be the only point that I'll interact with Facebook, and I do not maintain a web or mobile web that wanted to use Facebook login.

Whenever I try to publish the said action+object (a URL of the page in my server), Facebook will complain invalid domain and suggest I configure the 'App Domain'.

However, in Facebook app settings, in order to configure the 'App Domain' I need to have either a Web (that users Facebook login) or Mobile Web or Facebook tab. Which I do not plan to support. If I just go ahead and set an 'App Domain' Facebook will not allow me to save.

Did I miss something? Or my use case is not the one meant by Open Graph?

Upvotes: 4

Views: 746

Answers (1)

Donn Lee
Donn Lee

Reputation: 3149

If your domain is example.com, just enable "Website with Facebook Login" in the App Dashboard (even though you will not have a web integration) and for the site url enter: http://example.com Then enter example.com in "App Domains".

Upvotes: 2

Related Questions