Get facebook like count - Fetch

Hello, i’m really new to the fetch API…The only thing i need, is if possible to provide a small draft of how that would work.
I have an X facebook page, with Y amount of likes.
the 601988463299903… is the id of the page.And the fan_count is the like count variable.


I’m pretty sure that what i wrote is incorrect :stuck_out_tongue:
If you can just point me in the right direction on how it should look it would help me A LOT!
I basically just want to get the like count, and then i will handle the output on the website accordingly…I just need to get that variable!!

You have a good lead, but you’re right, the request is wrong.
You need to use facebook graph api. See here:

Good luck.

Liran.