---
http_interactions:
- request:
    method: post
    uri: https://graph.facebook.com/oauth/access_token
    body:
      encoding: UTF-8
      string: client_id=123&client_secret=123&grant_type=client_credentials
    headers:
      User-Agent:
      - Faraday v0.12.2
      Content-Type:
      - application/x-www-form-urlencoded
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 400
      message: Bad Request
    headers:
      Www-Authenticate:
      - OAuth "Facebook Platform" "invalid_client" "Error validating application.
        Cannot get application info due to a system error."
      Content-Type:
      - application/json; charset=UTF-8
      Facebook-Api-Version:
      - v2.8
      X-Fb-Rev:
      - '4583987'
      Access-Control-Allow-Origin:
      - "*"
      Cache-Control:
      - no-store
      X-Fb-Trace-Id:
      - GHQfpOGoO6+
      Expires:
      - Sat, 01 Jan 2000 00:00:00 GMT
      Strict-Transport-Security:
      - max-age=15552000; preload
      Pragma:
      - no-cache
      X-Fb-Debug:
      - m45LKcljfKLk5t2vVVgXoLkxboPq32H2Byv20O+HYluzgxL562XCEFcUiEH2dyt9UOGMqoFUpYHSYJGaEnrxRA==
      Date:
      - Fri, 30 Nov 2018 12:50:47 GMT
      Connection:
      - keep-alive
      Content-Length:
      - '166'
    body:
      encoding: UTF-8
      string: '{"error":{"message":"Error validating application. Cannot get application
        info due to a system error.","type":"OAuthException","code":101,"fbtrace_id":"GHQfpOGoO6+"}}'
    http_version: 
  recorded_at: Fri, 30 Nov 2018 12:50:47 GMT
- request:
    method: get
    uri: https://graph.facebook.com/oauth/access_token?client_id=123&client_secret=123&code&redirect_uri=http://zammad.example.com/api/v1/external_credentials/facebook/callback
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Faraday v0.12.2
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 400
      message: Bad Request
    headers:
      Www-Authenticate:
      - OAuth "Facebook Platform" "invalid_client" "Error validating application.
        Cannot get application info due to a system error."
      Content-Type:
      - application/json; charset=UTF-8
      Facebook-Api-Version:
      - v2.8
      X-Fb-Rev:
      - '4583987'
      Access-Control-Allow-Origin:
      - "*"
      Cache-Control:
      - no-store
      X-Fb-Trace-Id:
      - FEdFTInow6l
      Expires:
      - Sat, 01 Jan 2000 00:00:00 GMT
      Strict-Transport-Security:
      - max-age=15552000; preload
      Pragma:
      - no-cache
      X-Fb-Debug:
      - JIhX2xi6mDCBjKZi8VNZ9BEtE/qYmrtLadaqbo6Rkj941+6PJIL3Sd3cmtf/Oa5NjclmRNSuNTEEx2gjmrmgxg==
      Date:
      - Fri, 30 Nov 2018 12:50:48 GMT
      Connection:
      - keep-alive
      Content-Length:
      - '166'
    body:
      encoding: UTF-8
      string: '{"error":{"message":"Error validating application. Cannot get application
        info due to a system error.","type":"OAuthException","code":101,"fbtrace_id":"FEdFTInow6l"}}'
    http_version: 
  recorded_at: Fri, 30 Nov 2018 12:50:48 GMT
recorded_with: VCR 4.0.0
