id: api-facebook

info:
  name: Facebook API Test
  author: dwisiswant0
  severity: info
  reference:
    - https://developers.facebook.com/tools/explorer/
  metadata:
    max-request: 1
  tags: token-spray,facebook

self-contained: true

http:
  - method: GET
    path:
      - "https://graph.facebook.com/me?access_token={{token}}"

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - 'application/json'

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100cbc5f70cfe5b9b41907f254d9f19f6b200075b53bbd51c3b97a91a3263fa3e96022065ea28b75857f362921b5b28c066d89d80f54e9821cf39099dd2ed4641d4badd:922c64590222798bb761d5b6d8e72950