Question

I'm running a site using social plugins, so I created a facebook app

then I want to use facebook insight to connect my website and app (ps. I also add app_id or meta in header)

but I can't find the app I create in the connect list

connect list pic

does anyone has a clue what's going on??

Was it helpful?

Solution

It appears to be a Facebook caching issue - the UI is simply not refreshing and providing the new app options. However you can still submit the request with the required app id manually. I used firebug to inject my new app id and name into the <select> element, and then submit the form as normal.

e.g: 1) Find the relevant input <select> element: UI and corresponding HTML

2) Run this code in the Firebug (or equivalent) console, with the relevant [PLACEHOLDERS] replaced with your app id:

var fbidOptions = $$('select[name="fbid"]')[0];
var newOption = document.createElement('option');
newOption.setAttribute('value','fb:app_id,[PUT APP ID HERE]');
newOption.innerHTML = '[IT DOESNT REALLY MATTER, BUT PUT APP NAME HERE]';
fbidOptions.appendChild(newOption);

3) Select the newly injected option, and submit. The facebook servers will accept the app id as valid, leading me to believe its purely a UI caching issue.

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top