{"action":"created","issue":{"url":"https://api.github.com/repos/PhilipGarnero/django-rest-framework-social-oauth2/issues/26","labels_url":"https://api.github.com/repos/PhilipGarnero/django-rest-framework-social-oauth2/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/PhilipGarnero/django-rest-framework-social-oauth2/issues/26/comments","events_url":"https://api.github.com/repos/PhilipGarnero/django-rest-framework-social-oauth2/issues/26/events","html_url":"https://github.com/PhilipGarnero/django-rest-framework-social-oauth2/issues/26","id":117137354,"number":26,"title":"Invalid OAuth access token.","user":{"login":"christiancabizza","id":4366575,"avatar_url":"https://avatars.githubusercontent.com/u/4366575?v=3","gravatar_id":"","url":"https://api.github.com/users/christiancabizza","html_url":"https://github.com/christiancabizza","followers_url":"https://api.github.com/users/christiancabizza/followers","following_url":"https://api.github.com/users/christiancabizza/following{/other_user}","gists_url":"https://api.github.com/users/christiancabizza/gists{/gist_id}","starred_url":"https://api.github.com/users/christiancabizza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christiancabizza/subscriptions","organizations_url":"https://api.github.com/users/christiancabizza/orgs","repos_url":"https://api.github.com/users/christiancabizza/repos","events_url":"https://api.github.com/users/christiancabizza/events{/privacy}","received_events_url":"https://api.github.com/users/christiancabizza/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-16T14:35:29Z","updated_at":"2015-11-17T09:57:05Z","closed_at":null,"body":"Hi Philip, i'm trying to test your framework in order to create social app authentication in my APIs.\r\nAfter: curl -X POST -d \"grant_type=convert_token&client_id=oQLj8tAr8QbbDw1uxC3AAmoSaIEL6IoO6ACSw9SS&client_secret=gDg2jwmQwRn33Oye8W5cB5nNRv9gCQCKN8fuIewilX6jIohQFS30F0zJclyLxOUPUnodP0jcgTxY6m1Rnjzvbek5fef3HCEMN9IJazkkM15MCkVzvwy36MBIEhvtNleT&backend=facebook&token=0647a7a063cd58d79038a57786fe4a57\" http://localhost:8000/api/social/convert-token\r\n\r\nI receive back the response:\r\n{\"error_description\": \"Backend responded with HTTP400: {\\\"error\\\":{\\\"message\\\":\\\"Invalid OAuth access token.\\\",\\\"type\\\":\\\"OAuthException\\\",\\\"code\\\":190,\\\"fbtrace_id\\\":\\\"Fs2FhofZ8T4\\\"}}.\", \"error\": \"invalid_request\"}\r\n\r\n I get client_id and client_secret from admin panel. Where do I have to get the token? I tried all alternatives: client_token from dashboard and even from https://developers.facebook.com/tools/accesstoken/\r\n\r\nThis is my facebook settings code:\r\n\\# ************* Auth Social Login **************\r\n\\# Facebook configuration\r\nSOCIAL_AUTH_FACEBOOK_KEY = '926874140727083' #App ID\r\nSOCIAL_AUTH_FACEBOOK_SECRET = '34c940f05f8d62b8f34e32f12ca4ff92' #App Secret\r\nSOCIAL_AUTH_FACEBOOK_TOKEN = '0647a7a063cd58d79038a57786fe4a57'\r\n\\# Define SOCIAL_AUTH_FACEBOOK_SCOPE to get extra permissions from facebook. Email is not sent by default, to get it, you must request the email permission:\r\nSOCIAL_AUTH_FACEBOOK_APP_NAMESPACE = 'areaoperatoriacc'\r\n\\#SOCIAL_AUTH_FACEBOOK_SCOPE = ['email']\r\n\\# ************* ***************** **************"},"comment":{"url":"https://api.github.com/repos/PhilipGarnero/django-rest-framework-social-oauth2/issues/comments/157324156","html_url":"https://github.com/PhilipGarnero/django-rest-framework-social-oauth2/issues/26#issuecomment-157324156","issue_url":"https://api.github.com/repos/PhilipGarnero/django-rest-framework-social-oauth2/issues/26","id":157324156,"user":{"login":"christiancabizza","id":4366575,"avatar_url":"https://avatars.githubusercontent.com/u/4366575?v=3","gravatar_id":"","url":"https://api.github.com/users/christiancabizza","html_url":"https://github.com/christiancabizza","followers_url":"https://api.github.com/users/christiancabizza/followers","following_url":"https://api.github.com/users/christiancabizza/following{/other_user}","gists_url":"https://api.github.com/users/christiancabizza/gists{/gist_id}","starred_url":"https://api.github.com/users/christiancabizza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christiancabizza/subscriptions","organizations_url":"https://api.github.com/users/christiancabizza/orgs","repos_url":"https://api.github.com/users/christiancabizza/repos","events_url":"https://api.github.com/users/christiancabizza/events{/privacy}","received_events_url":"https://api.github.com/users/christiancabizza/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T09:57:05Z","updated_at":"2015-11-17T09:57:05Z","body":"Only a last question: \r\nI'm writing an application BE, to let Android, WP and iOS devices register, login and so on through Facebook, Twitter and Google accounts. \r\nDoes your package manage these features automatically?\r\nWhere can I find examples?\r\n\r\nThanks again!"}}