I have two pages, /a/ and /a/b/c/ with Facebook like buttons. When I query Facebook, I can get the number of likes for the first page but not for second. Example:
https://graph.facebook.com/http://ubuntu.local:8000/a/ =>
{
"id": "http://ubuntu.local:8000/a/",
"shares": 1
}
https://graph.facebook.com/http://ubuntu.local:8000/a/b/c/ =>
{
"id": "http://ubuntu.local:8000/a/b/c/"
}
What should I do to get the result for a longer URL?
Without having a known non-working URL, I would suggest trying to URL Encode your URL. Also, what do you get when you try “linting” the URL that doesn’t work? http://developers.facebook.com/tools/lint