daily pastebin goal
49%
SHARE
TWEET

Untitled

a guest Jan 17th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. HttpURLConnection conn;
  2. conn.setRequestMethod("POST");
  3. conn.setDoOutput(true);
  4. conn.setRequestProperty("object", "someURL");
  5. conn.setRequestProperty("app_id", "myID");
  6. conn.setRequestProperty("access_token", "myToken");
  7. conn.setRequestProperty("Content-Length", "" + postMessageInBytes.length);
  8.    
  9. {"error":{"message":"An access token is required to request this resource.","type":"OAuthException","code":104}}
  10.    
  11. ID app: my app ID/name
  12. ID user: user which I used to login
  13. Issued: 1348929549 (yesterday)
  14. Valid until: 1354113549 (in about 2 months)
  15. Valid:  True
  16. Origin: Mobile Web Faceweb
  17. Permission: publish_actions user_status
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top