Created
August 19, 2016 04:46
-
-
Save nov/108f8e9103a9a98650d2ca471e5252f4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$access_token = "<YOUR-TOKEN-HERE>" | |
$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]" | |
$headers.Add("Authorization", "Bearer $access_token") | |
$response = Invoke-RestMethod 'https://graph.facebook.com/me' -Headers $headers | |
"$response" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment