settings > auth dialog shows blank - facebook

The new Settings > auth dialog page is blank for one of my apps. In other words I am unable to setup/config the new auth dialog for that app.
Yes, I have set Settings > Advanced > Enhanced Auth Dialog: Enabled but that is not actually relevant because that setting is to show the new dialog - not config it. Also, it is not enabled in my other apps and they all load the auth dialog config page correctly.
So, I can't setup nor config the new auth dialog - any ideas appreciated.

I had this issue and it seemed to resolve itself when I setup previews for my aggregations and actually previewed them. My auth page returned. Not sure if that was coincidence or if it will get it back for you. This is currently a known bug in the system and I'm sure they're working on getting it fixed without this kind of work around.

As Dustin Nielson said, worked for me, although I didn't get it at first. So in more detail: in developer, go to apps, to your app (you might already be there), pick 'Open Graph' and then work yourself through the 'wizzard'. Leave it as is for now and try again to go to the Auth Dialog settings page.

Related

Heroku - Created a facebook app with Node.js which gives type error

I am trying to create a facebook application and this is my first time. I read several articles on how to create one and I created an application from this page https://developers.facebook.com/apps. When I clicked on Go to App from facebook right after I created it. It is showing this error
I have tried to look on Heroku dev center for same type of problem to resolve problem on my own I couldn't find any solution. When I do curl -v https://tranquil-oasis-2533.herokuapp.com it says HTTP/1.1 500 Internal Server Error. This is the output from heroku logs http://pastebin.com/0qdueiZE. Somebody please help me.
This appears to be an issue with the faceplate module. It is described here: https://github.com/heroku/faceplate/pull/20
You have two options to get around the issue:
Propose a fix to faceplate that works within the constraints of the Facebook application security here: https://developers.facebook.com/docs/ApplicationSecurity/
Take your Facebook app out of sandbox mode.
This seems to be issue with sandbox mode. Disable sandbox mode. Here is the steps how you can do it.
Go to https://developers.facebook.com/apps.
click "Edit Settings"
and selected radio button "disabled" for the "Sanbox Mode" under "basic info".
Hope this helps.
The error message points to what needs to be known
Cannot read property 'name' of undefined
<title><%= app.name %></title>
app is undefined. Probably want to check your web.js file to see what app is up to.
And ensure you have the latest node template for Heroku.
https://github.com/heroku/facebook-template-nodejs
My guess is that you aren't passing app as a local to the index.ejs template. If you're using Express, console.log(res.locals) before you res.render index.ejs. Is app in the logged output?

Misconfigured App on Facebook but no errors?

I am trying to set up a tab with a link to a contact form from my site on Facebook.
I developed the 'app' through the developers site and have set up the page tab.
I've saved the app and it saves it fine (displaying a message saying changes were saved but it might take some time to propagate across all servers.)
Well I waited an hour and I still can't add the tab to my page. I tried locating the app page directly using the namespace, but I get an error message saying:
"[My App] cannot be displayed because the app is misconfigured."
I don't know how it is misconfigured? There are no errors when saving, so I don't know what the issue is or how to go about fixing it. There are no problems with the app that I can see... how am I supposed to know what's wrong with it?
All it is is a page tab. I've put the link to the page tab in, I don't have a secure page (https) so I have left this box blank but I don't know what to do now.
Any ideas how I can find out in what way it is 'misconfigured'?
This error usually occurs when you try to view the App Center page for the app when the app doesn't have the 'App Details' tab settings populated.
So instead of:
https://www.facebook.com/appcenter/APP_NAMESPACE
Make sure you are loading:
https://apps.facebook.com/APP_NAMESPACE
That page will display hints (if you are admin or developer of the app) on what you are missing.
And, adding to the answer already given by #Donn Lee, which pointed to the right way, you must also ADD A PLATFORM in settings, in https://developers.facebook.com/apps/APP-ID/settings/

Tab Content Does Not Refresh After First Click of Like Button

I've implemented a very simple "like guard" for a facebook tab, and am running into an issue with my test users. Multiple testers are reporting that when they open a tab and click the "like" button, they do not always get a page refresh (so the like guard does not disappear until they do a manual reload). This is using facebook's like button at the top of the page, not one I've coded up myself.
As a sanity check, I enabled some simple logging on my server and have been able to recreate the issue - I hit "like" or "unlike" but there seems to be no request made to my index.php page, so definitely no refresh happening.
I'm aware of this old bug https://developers.facebook.com/bugs/228778937218386 but this one seems different. For starters, after the first click of the "like" button, if I just continue clicking unlike/like/.... then the refresh happens automatically, as expected. What's especially weird is that if I reload the page after the first failed refresh, the refreshes start working again as expected, ie the first update to my like status triggers a page refresh.
Some possibly (?) relevant info:
My Tab is part of a test page, and is unpublished
I am only using http hosting for the tab content, since my https isn't set up yet
So far I've just tested with other admins - so maybe user role affects this?
Curious to see if anyone has run into this issue before.
Finally settled this problem, sharing in case others run into the same issue:
My confusion was caused by where I created/assigned my testers. I made a dummy community page to host the tab I was building and I added all my testers to the test community page. I realized that the only users not getting the weird refresh problems were those testers who I had also added as admin/testers for the app itself. Apparently, adding them as testers to your community page is not enough, and rather than giving you some kind of warning when they view your tabs, testers just get this buggy refresh behavior.

Add application to page: not visible

I just added 3 applications to my page using:
https://www.facebook.com/dialog/pagetab?app_id=[appid]&next=[siteurl]
That all works fine, it redirects me to the [siteurl].
However, the apps don't show up on the page. In "Edit Page" -> "Apps" the apps also aren't visible.
Any idea what causes this?
Thanks!
It could be that the app is in sandbox mode and the account you're checking the "edit page -> apps" section does not have a role within your app, so they can't see it.
The dialog could also be failing. It's fairly recent and I've spotted bugs with it already. Try using http://www.facebook.com/add.php?api_key=APP_ID&pages=1, replacing APP_ID with your app's ID, to see if that's working.
Fixed it!
The problem was that I defined the secure page url, but not the non-secure page url (while we don't use the non-secure page url anymore?)...

Why Is The New Auth Dialog Preview Missing Aggregations?

I have enabled the new Auth Dialog and created aggregations. However, when I click on preview auth dialog. It does not look like what it is supposed to.
The Aggregation previews are no longer rendered in the Auth Dialog - I think the docs were subsequently updated to show the currently live version, but old screenshots may still be around showing the previews inside the auth dialog