Facebook API in machine readable format - facebook

Where I can find the Facebook API in a format like http://swagger.io, https://apiblueprint.org or http://raml.org?
I want to read and request the facebook server (api) "half-atomatic". My script knowns how to interact with the facebook server. And thats why I need the Facebook API in a machine-readable format.
Thank you for any hint.
Cheers Tobias

From what I've seen of Swagger, it sounds like you're looking for something like Facebook's Graph Explorer. It lets you browse the graph API methods visually, whilst manually creating your own queries and sending them to it.

Related

How to get instagram user data (ex follow count) through facebook.com api with http request

I want to get instagram user data for example follow and follows count using http request to https://graph.facebook.com/v14.0/{inst_acc_id} but i cant understand which token from graph api explorer i should use. There is lots of types and lots of permissions there. i tried different ones and all of them doesn't work for me. Or maybe there is another easier way to get instagram user data after the 2020 api change.
I need a solution for my NodeJs project, but it would be great to make it work even in plain http in postman. Any advices are highly apreciated)
So after the 2020 update you don't have an easy way to get even public data from meta ( facebook and insta). To get access for their api you need to provide a lot of personal data about your business, your website and a lot of other documents for them to review your request. And if you are trying to have a simple website that shows for example your instagram followers count its a giant overkill. And no other way around.

Facebook API retrieve "All activity"

I'm looking for a way to retrieve the equivalent of what's shown on https://www.facebook.com/me/allactivity. Both FQL & Open Graph are fine.
On the graph, /me/feed shows something similar, but it's missing likes, and tags and other things.
Any ideas are appreciated.
This is currently not possible. There is no endpoint to get to this data.
The only available data will be anything that appears as a post (e.g. Youtube, Twitter). For this you can query stream via FQL. You can also try endpoints /music.listens and /video.watches but they will retrive data for the current application not all.

Is there a way of scraping content from Facebook groups?

I'd like to get the content from a facebook group since there is a lot of valuable information in there. So is there way, hack or function that you could accomplish this with?
Simple, do an HTTP POST to the Graph API /{groupId} with your access code and you will get information programmatically. See: http://developers.facebook.com/docs/reference/api/group/

Tag usernames on messages with the Facebook feed post wall API

Is it possible to send a message tagging a facebook user using Facebook Graph API? (from facebook PHP SDK)
I've tried the #[id:1:name] method, but it doesn't seems to work. Also, I tried using the message_tags parameter, but no luck. Have anyone done this before? As far as I know, Facebook disabled this option time ago; am I right?
As far as what i know, it's not supported and it's not possible via their graph api, but i think i came across a link via google which shows a trick to tag anything with any link.etc.
Here it is: Click here
P.S I personally didn't test that trick, but i did try tagging using graph api but it didn't work.
Try this, check the Mentioning friends https://developers.facebook.com/docs/opengraph/guides/tagging/

Facebook browser

I was thinking how to write a program which can log me to Facebook and collect the latest status updates of my friends to a linked list. Can this be done for example by PHP or Python without learning Facebook api or do I need to learn that first?
To get your friends’ RSS status feed:
Sign into Facebook
Go to http://www.facebook.com/notes.php?friends
Copy the link to “My Friends’ Notes” on the right hand side
Replace “friends_notes” with “friends_status”
This will give you an RSS feed of all of your friend's statuses.
Yes, you can certainly do it using Php but it would be really dirty.
The right way is to use the Facebook API.
probably scraping their mobile site seem the easiest solution in that case
http://m.facebook.com/
python seem the best language to deal with it