我有Facebook粉丝专页的ID,只有ID。我必须构建哪个链接才能重定向到此粉丝专页?
答案 0 :(得分:3)
如果您只想要将链接带到粉丝页面,您可以使用:
http://facebook.com/ANY_FACEBOOK_ID
它适用于任何Facebook ID,无论页面,用户,应用程序
<强>更新强>
正如对其他答案的评论中所讨论的,上述链接存在一些缺点:
http://facebook.com/PAGEID?sk=notes
不会重定向到Notes应用程序)因此,如果您不仅需要将用户定向到页面本身而且还要导向页面上的应用程序,您可以使用以下链接:
http://facebook.com/pages/-/PAGEID?sk=app_APPID
答案 1 :(得分:2)
使用对象ID(user,page..group ...等)查询图表时:
https://graph.facebook.com/40796308305
{
"id": "40796308305",
"name": "Coca-Cola",
"picture": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/157930_40796308305_262497158_s.jpg",
"link": "https://www.facebook.com/coca-cola",
"likes": 40005128,
"category": "Food/beverages",
"is_published": true,
"website": "http://www.coca-cola.com",
"username": "coca-cola",
"founded": "1886",
"description": "Created in 1886 in Atlanta, Georgia, by Dr. John S. Pemberton, Coca-Cola was first offered as a fountain beverage at Jacob's Pharmacy by mixing Coca-Cola syrup with carbonated water. \n\nCoca-Cola was patented in 1887, registered as a trademark in 1893 and by 1895 it was being sold in every state and territory in the United States. In 1899, The Coca-Cola Company began franchised bottling operations in the United States. \n\nCoca-Cola might owe its origins to the United States, but its popularity has made it truly universal. Today, you can find Coca-Cola in virtually every part of the world.",
"about": "The Coca-Cola Facebook Page is a collection of your stories showing how people from around the world have helped make Coke into what it is today.",
"location": {
"latitude": -33.816989983333,
"longitude": 150.84844081667
},
"can_post": true,
"checkins": 78,
"talking_about_count": 583000
}
直接查询Facebook也会重定向到“对象”页面:
https://www.facebook.com/40796308305 --> https://www.facebook.com/cocacola
https://www.facebook.com/579187142 --> https://www.facebook.com/ifaour
然而,这是不正式方式。所以我不确定这是否会在将来停止工作。