Advertisement
ccreitz

Untitled

May 23rd, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. ==== Query
  2. curl -i -X GET \
  3. "https://graph.facebook.com/v3.3/me?fields=followers%2Cfan_count%2Cfans&access_token=<access token sanitized>"
  4. ==== Access Token Info
  5. {
  6. "perms": [
  7. "email",
  8. "manage_pages",
  9. "pages_show_list",
  10. "pages_messaging",
  11. "pages_messaging_phone_number",
  12. "pages_messaging_subscriptions",
  13. "public_profile"
  14. ],
  15. "page_id": 294625464562791,
  16. "user_id": "10205672416045175",
  17. "app_id": 552294145208884
  18. }
  19. ==== Parameters
  20. - Query Parameters
  21.  
  22.  
  23. {
  24. "fields": "followers,fan_count,fans"
  25. }
  26. - POST Parameters
  27.  
  28.  
  29. {}
  30. ==== Response
  31. {
  32. "followers": {
  33. "data": [
  34. {
  35. "name": "Dimitar Cekov",
  36. "id": "2735755479784391",
  37. "created_time": "2019-05-14T10:20:25+0000"
  38. },
  39. {
  40. "name": "Benni Otten",
  41. "id": "2450643514947235",
  42. "created_time": "2019-05-12T10:17:05+0000"
  43. }
  44. ]
  45. },
  46. "fan_count": 7,
  47. "fans": {
  48. "data": [
  49. {
  50. "name": "Nils Vollenbruch",
  51. "id": "2086657948098636",
  52. "created_time": "2019-05-22T16:42:35+0000"
  53. },
  54. {
  55. "name": "Dylan Kennet",
  56. "id": "2464237240267299",
  57. "created_time": "2019-05-22T09:22:53+0000"
  58. },
  59. {
  60. "name": "Ris Pig",
  61. "id": "2063904620398966",
  62. "created_time": "2019-05-22T09:18:38+0000"
  63. },
  64. {
  65. "name": "Sergey Bukhman",
  66. "id": "3323468401012465",
  67. "created_time": "2019-05-22T09:16:01+0000"
  68. },
  69. {
  70. "name": "Colin Creitz",
  71. "id": "2589585927778978",
  72. "created_time": "2019-05-02T16:52:38+0000"
  73. }
  74. ]
  75. },
  76. "id": "294625464562791"
  77. }
  78. ==== Debug Information from Graph API Explorer
  79. - https://developers.facebook.com/tools/explorer/552294145208884?method=GET&path=me%3Ffields%3Dfollowers%2Cfan_count%2Cfans&version=v3.3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement