获取FB喜欢计数的具体URL和页面 [英] Get FB likes count for specific URL and page

查看:92
本文介绍了获取FB喜欢计数的具体URL和页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个两个问题。


  1. 是否可以让喜欢的人数计入一个特定的页面网站?像在没有特定目标网址的按钮中,喜欢将被赋予 window.location.href 中的地址;可以在没有API密钥的情况下检索此号码吗?

  1. Is it possible to get the likes count to a specific page inside a website? As in if there's a like button without a specific target url, likes will be given to the address in the window.location.href; can this number be retrieved without an API key?

如果只有网站的URL,可以获取官方的Facebook页面/页面ID吗?如果我只有URL /域名(coca-cola.com),我可以获得的页面是 https: //www.facebook.com/cocacola

Is it possible to get the official Facebook page/page id if I only have the URL of the website? If i only have the URL / domain name (coca-cola.com), can I get the facebook page which is https://www.facebook.com/cocacola?


推荐答案

您可以通过调用图表来查看网站的计数,如下所示:

You can check the like count of a website by calling the Graph like the following:

https://graph.facebook.com/?ids=http://www.your-website。 com / the-url-or-so

如果您是业务的所有者,如果您可以获得Facebook页面,请参阅

To your Question if you can get a Facebook Page if you are the owner of the Business:

是的!前段时间我已经阅读了Facebook所发布的文章。如果您是公司/业务/品牌的所有者,您可以向Facebook转发页面,转移到您的帐户。为此,您必须是业主,您的业务真的很大。当公司名称相同时,您必须拥有更受欢迎的公司名称。

Yes! Some times ago I've read an article posted by Facebook where this is described. If you are the owner of a company/business/brand you can ask facebook for the page transfer to your account. For that you must be the owner and your business is really large. When the names of the companies are the same you must have to one which is more popular.

这篇关于获取FB喜欢计数的具体URL和页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆