找不到我的应用程序在Facebook的见解? [英] Can't find my app on facebook insights?
问题描述
我使用社交插件运行网站,所以我创建了一个Facebook应用程序
I'm running a site using social plugins, so I created a facebook app
然后我想使用Facebook的洞察力连接我的网站和应用程序
(ps。我还在标题中添加app_id或meta)
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
有谁知道发生了什么吗?
does anyone has a clue what's going on??
推荐答案
似乎是一个Facebook缓存问题 - UI根本不是刷新并提供新的应用程序选项。但是您仍然可以手动提交所需的应用程序ID。我使用firebug将新的应用程序ID和名称注入到< select>
元素中,然后正常提交表单。
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.
例如:
1)查找相关输入< select>
元素:
e.g:
1) Find the relevant input <select>
element:
2)在Firebug(或等效)控制台中运行此代码,相关的[PLACEHOLDERS]替换为您的应用程式ID:
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)选择新注入的选项,然后提交。 Facebook服务器将接受应用程序ID为有效,导致我相信它纯粹是一个UI缓存问题。
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.
这篇关于找不到我的应用程序在Facebook的见解?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!