Skip to content

Instantly share code, notes, and snippets.

@c0nstantine
Created September 13, 2014 04:09
Show Gist options
  • Save c0nstantine/63c8a771fbf896de3efe to your computer and use it in GitHub Desktop.
Save c0nstantine/63c8a771fbf896de3efe to your computer and use it in GitHub Desktop.
diff --git a/community/views/components/data.py b/community/views/components/data.py
index 86ce37a..79d7205 100644
--- a/community/views/components/data.py
+++ b/community/views/components/data.py
@@ -241,6 +241,7 @@ class SiteInfo(object):
if ctx.request.engine.name != 'rebelmouse':
data['whitelabel_settings'] = ctx.request.engine.settings
+ data['FB_APP_ID'] = ctx.request.engine.get_consumer_keys('facebook')[0]
if ctx.embedded:
data['embed_settings'] = {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment