Last active
December 25, 2015 10:09
-
-
Save aldonline/6958973 to your computer and use it in GitHub Desktop.
GET RDF triples from graph.facebook.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# triples for a given entity | |
curl -H "Accept: text/turtle" -X GET "https://graph.facebook.com/aldo.bucchi" | |
# with metadata ( triples for properties / schema ) | |
curl -H "Accept: text/turtle" -X GET "https://graph.facebook.com/aldo.bucchi?metadata=1" | |
# of course you can pass an access token to gain access to a broader piece of the graph | |
curl -H "Accept: text/turtle" -X GET "https://graph.facebook.com/aldo.bucchi&access_token=TOKEN" | |
# to get a fresh ( but short lived ) token browse to: | |
# https://developers.facebook.com/tools/explorer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment