I am looking for a “best practice” answer regarding Facebook applications and the middleware / production environment. Instinctively, I provided each environment with my Facebook application, which has its own identifier and secret. It appears ( here , here, and through extensive Google) that it is simply not possible to share the OG configuration through applications, so I copied the application settings in different environments (icon, requested permissions and texts, etc.). It was pain and ugliness, but I lived with it.
Alas, with the introduction of opengraph actions this is no longer funny - much more to copy, and everything must go through the approval process. Is there a better way to do this? The employee suggested that we simply share the same application in all environments, but I’m afraid about this - this means that we will have to share production secrets with the intermediate environment (I’m not even talking about localhost development environments), and that we need to somehow Route Facebook traffic to the correct environment (because one Facebook application means one page URL).
There must be a better way ... no?
deployment facebook-graph-api
Yaniv aknin
source share