Note that there are some explanatory texts on larger screens.

plurals
  1. POfacebook fan pages and related open graph objects
    primarykey
    data
    text
    <p>If exist a facebook fan page like this:</p> <pre><code>https://www.facebook.com/HuffingtonPost </code></pre> <p>I suppose to get likes count calling graph API: </p> <pre><code>https://graph.facebook.com/https://www.facebook.com/HuffingtonPost </code></pre> <p>Infact here I get:</p> <pre><code>{ "id": "https://www.facebook.com/HuffingtonPost", "shares": 435839 } </code></pre> <p>On the other hand if I call </p> <pre><code>https://graph.facebook.com/HuffingtonPost </code></pre> <p>I get a more verbose output:</p> <pre><code>{ "id": "18468761129", "name": "The Huffington Post", "picture": "http://profile.ak.fbcdn.net/hprofile-ak-ash2/188072_18468761129_6398033_s.jpg", "link": "http://www.facebook.com/HuffingtonPost", "likes": 435832, "category": "Website", "website": "http://www.facebook.com/HuffingtonPost", "username": "HuffingtonPost", "company_overview": "The Internet Newspaper\nNews | Blogs | Video | Community", "description": "The Huffington Post - The Internet Newspaper. - Company Overview: The Internet Newspaper News | Blogs | Video | Community | Facebook", [... omissis ...] } </code></pre> <p>Can anybody tell me what's difference between these two opengraph objects?<br /> There is also a slight difference between number of shares and likes. Why? </p> <p><strong>Update:</strong></p> <p>During last days graph api returned also object type, so I realized that:</p> <ul> <li>First API call returns an link_stat type object.</li> <li>Second API call returns a page type object.</li> </ul> <p>In first case shares count should represent sum of:</p> <ul> <li>number of likes of this URL</li> <li>number of shares of this URL (this includes copy/pasting a link back to Facebook)</li> <li>number of likes and comments on stories on Facebook about this URL</li> <li>number of inbox messages containing this URL as an attachment.</li> </ul> <p>In second case like count represents only itself</p> <p>May somebody confirm me shares count correctness?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload