Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save GlebMaltsev/e29ff99c500dba9c73760b1d57ad88b2 to your computer and use it in GitHub Desktop.
Save GlebMaltsev/e29ff99c500dba9c73760b1d57ad88b2 to your computer and use it in GitHub Desktop.
POST /account/ issue
REQUEST:
POST http://api.spritzr.com/api/v1.0/account/ HTTP/1.1
Content-Type: application/json; charset=UTF-8
Content-Length: 385
Host: api.spritzr.com
Connection: Keep-Alive
Accept-Encoding: gzip
User-Agent: okhttp/3.5.0
{"access_token":"EAAKU09zVruYBAAJHyxZCkZCZC5dRMvV1Fotob7cQQog1LXUDpuocZCOSGEZA6qWWTSnxKZCOUu68b0rcbXRssNkAmGjL9K3nKwuZBKDbb5r0Jw6SoG67eeM9L7E9GMnJxhSBZACQyIs5XOvcaBlX6oegfwRg1gz46BeheM0NEP0SeYytnCdUIaJTpS5V9VNAQ44ZD","device_os":"Android","device_type":"Phone","facebook_id":"110007869570544","language":"ru_RU","os_version":"6.0","timezone":"+0300","username":"mikechizh73@gmail.com"}
RESPONSE:
HTTP/1.1 401 Unauthorized
Connection: keep-alive
Server: gunicorn/0.17.2
Date: Thu, 04 May 2017 16:03:18 GMT
Transfer-Encoding: chunked
Content-Type: application/json
Via: 1.1 vegur
8A
{"err_msg": "The facebook account you are using cannot be used with Spritzr. Do you have a different account you can use?", "status": 401}
0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment