{"action":"opened","issue":{"url":"https://api.github.com/repos/cosenary/Instagram-PHP-API/issues/257","repository_url":"https://api.github.com/repos/cosenary/Instagram-PHP-API","labels_url":"https://api.github.com/repos/cosenary/Instagram-PHP-API/issues/257/labels{/name}","comments_url":"https://api.github.com/repos/cosenary/Instagram-PHP-API/issues/257/comments","events_url":"https://api.github.com/repos/cosenary/Instagram-PHP-API/issues/257/events","html_url":"https://github.com/cosenary/Instagram-PHP-API/issues/257","id":369673553,"node_id":"MDU6SXNzdWUzNjk2NzM1NTM=","number":257,"title":"access_token provided is invalid","user":{"login":"hassan-khalil","id":20831567,"node_id":"MDQ6VXNlcjIwODMxNTY3","avatar_url":"https://avatars2.githubusercontent.com/u/20831567?v=4","gravatar_id":"","url":"https://api.github.com/users/hassan-khalil","html_url":"https://github.com/hassan-khalil","followers_url":"https://api.github.com/users/hassan-khalil/followers","following_url":"https://api.github.com/users/hassan-khalil/following{/other_user}","gists_url":"https://api.github.com/users/hassan-khalil/gists{/gist_id}","starred_url":"https://api.github.com/users/hassan-khalil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hassan-khalil/subscriptions","organizations_url":"https://api.github.com/users/hassan-khalil/orgs","repos_url":"https://api.github.com/users/hassan-khalil/repos","events_url":"https://api.github.com/users/hassan-khalil/events{/privacy}","received_events_url":"https://api.github.com/users/hassan-khalil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-12T19:02:47Z","updated_at":"2018-10-12T19:02:47Z","closed_at":null,"author_association":"NONE","body":"Each time i login and try to get user media or serch user it gives error .\r\n\r\n```\r\n +\"meta\": {#176 ▼\r\n    +\"code\": 400\r\n    +\"error_type\": \"OAuthAccessTokenException\"\r\n    +\"error_message\": \"The access_token provided is invalid.\"\r\n  }\r\n```\r\n\r\non authenticating i am receiving access token. this is my code,  i think access token which i receive from instagram is not working.\r\n\r\n```\r\n$instagram = new Instagram(config('instagram'));\r\n$instagram->setAccessToken(Session::get('token'));\r\ndd($instagram->getUserMedia(Session::get('id'), 10));\r\n```"}}
{"actor":{"display_login":"hassan-khalil"}}