facebookfacebook-app-settings

How to create a Facebook App that will be used just for the "share dialog"?


I want to create a Facebook "share" link to post a score from a HTML game. The old /sharer.php method would be ideal but there's no way to suggest text along with the post (and this method is deprecated AFAIK).

The recommended way I'm struggling with is the Share Dialog. I've created an app and have an app_id but I'm unable to get this to work without submitting for review. Unless I'm logged in as the developer I just get an error page that reads:

"An error occurred. Please try later"

I don't want the app to be searchable on FB. I don't want to install the FB JS SDK (completely overkill for what can be a link/redirect). "Submit for review" requires details for Facebook Login, which is not used, so I'm unsure how to proceed with this.

Also possibly relevant, I can't seem to add "website" as a App Centre listed platform ("either configured incorrectly or not supported by the App Centre").

Has anyone done this before? Do I really need to submit the app, and how? I'm trying to find the least crufty, least effortful way to do this ultra-simple thing ;) Any help/advice appreciated.

N.B., prior art:

Do I really need to submit an app request to facebook in order to use the fb-api?

This question is similar but either the advice given is out of date or for the questioner was solved using a share button (unclear which). Other questions I've found seem to be concerning other contexts of use (Android, FB SDK etc).


Solution

  • I shouldn't have been too surprised this wasn't working because the app was marked as in "development mode" (so only accessible to the users nominated under Roles). What was less clear was how to disable this mode, fortunately I found this question/answer combo:

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

    Entering a contact email address for the app enabled the "set live" toggle on the Status and Review page. In case you think I'm an idiot (and the jury is out on this), I didn't see any messages or warnings to indicate this was an issue, though turns out there is a tooltip on the toggle button to advise of this.