English 中文(简体)
书店
原标题:Facebook Plug-in Facepile Issue

我不难理解Facebook开发商的面孔径。 我成功地面对着一个好像的人的景象,只要他们再次成为朋友。

这非常好。 但是,我刚刚能够工作的另一个面貌。 而且,这只是表明有多少人喜欢这一页。 在学生发展者网页上,它说:

如果一些用户喜欢你的网页,但没有一个观众的朋友喜欢,那么这一句子将显示像你的网页一样的用户总数。

However, this simply just doesn t show up for me. Is there something I might be missing? Here s my code as it appears:

<div id="fb-root"></div>

  <script>(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=00000000";
    fjs.parentNode.insertBefore(js, fjs);
  }(document,  script ,  facebook-jssdk ));</script>

  <script src="http://connect.facebook.net/en_US/all.js
  #appId=0000000000000&amp;xfbml=1"></script>

  <div class="fb-like" data-href="http://myurl" data-send="false" data-width="450" data-show-faces="true"></div>

  <div class="fb-facepile" data-href="http://myurl" data-action="watch" data-max-rows="1" data-width="300"></div>

不要忘记,我用mm子取代了申请身份证和URL。 你们本来可以有深刻的见解!

最佳回答

www.un.org/spanish/ecosoc 最新情况:在仔细阅读你的问题之后,我建议你一劳永逸地研究研究学会版本,看看这些版本是否对你有用。

<iframe src="http://www.facebook.com/plugins/facepile.php?href={SITE_URL}&amp;size=small&amp;width=292&amp;max_rows=1" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px;"></iframe>

Old Answer:

假设“类似算法”是你需要的唯一东西,那么你就没有必要。 简单地利用公开图表。

Open Graph:

https://graph.facebook.com/{PAGE_ID}

eg.

Returns:

{
   "id": "314467614927",
   "name": "Angry Birds",
   "picture": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/276791_314467614927_795266395_s.jpg",
   "link": "http://www.facebook.com/angrybirds",
   "likes": 20292918,
    ...
}

我现在从JSON中取回同样的数字,并在你希望利用联合材料显示这一数据的地方居住。

问题回答

暂无回答




相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.