透過 Open Graph:
$ curl https://graph.facebook.com/?ids=http://blog.changyy.org/ | python -mjson.tool
{
"/": {
"id": "/",
"shares": 2
}
}透過 FQL: SELECT url,id,site FROM object_url WHERE url = '/'
$ curl http://graph.facebook.com/fql?q=SELECT%20url,id,site%20FROM%20object_url%20WHERE%20url%20=%20%27http://blog.changyy.org%27 | python -mjson.tool
{
"data": [
{
"id": 597172713656917,
"site": "blog.changyy.org",
"url": "/"
}
]
}