{"action":"closed","issue":{"url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/462","repository_url":"https://api.github.com/repos/thephpleague/oauth2-client","labels_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/462/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/462/comments","events_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/462/events","html_url":"https://github.com/thephpleague/oauth2-client/issues/462","id":117172976,"number":462,"title":"Using mobile generated access token for authentication","user":{"login":"Surt","id":48085,"avatar_url":"https://avatars.githubusercontent.com/u/48085?v=3","gravatar_id":"","url":"https://api.github.com/users/Surt","html_url":"https://github.com/Surt","followers_url":"https://api.github.com/users/Surt/followers","following_url":"https://api.github.com/users/Surt/following{/other_user}","gists_url":"https://api.github.com/users/Surt/gists{/gist_id}","starred_url":"https://api.github.com/users/Surt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Surt/subscriptions","organizations_url":"https://api.github.com/users/Surt/orgs","repos_url":"https://api.github.com/users/Surt/repos","events_url":"https://api.github.com/users/Surt/events{/privacy}","received_events_url":"https://api.github.com/users/Surt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-16T17:12:38Z","updated_at":"2016-02-13T20:13:40Z","closed_at":"2016-02-13T20:13:40Z","body":"I'm triying to use an already generated token to ask data to facebook.\r\nthe client sends me a token string (from a mobile app where the app already has the token) and I'm triying to use it to get data from facebook in this way\r\n\r\n```php\r\n// $access_token comes from the mobile app\r\n$token = new \\League\\OAuth2\\Client\\Token\\AccessToken(array('access_token' => $access_token));\r\n$userDetails = $provider->getUserDetails($token);\r\n``` \r\n\r\nbut it does not work (maybe due to the lack of expiration time, etc?\r\nDoes anybody did this before and can help me? Actually I'm triying only for IOS (swift) but in a near future I will need to get the token from android too)\r\n\r\n\r\n"}}