{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/issues/531","repository_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4","labels_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/issues/531/labels{/name}","comments_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/issues/531/comments","events_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/issues/531/events","html_url":"https://github.com/facebook/facebook-php-sdk-v4/issues/531","id":114907804,"number":531,"title":"Error: Graph returned an error: Invalid appsecret_proof provided in the API argument ","user":{"login":"robksawyer","id":179419,"avatar_url":"https://avatars.githubusercontent.com/u/179419?v=3","gravatar_id":"","url":"https://api.github.com/users/robksawyer","html_url":"https://github.com/robksawyer","followers_url":"https://api.github.com/users/robksawyer/followers","following_url":"https://api.github.com/users/robksawyer/following{/other_user}","gists_url":"https://api.github.com/users/robksawyer/gists{/gist_id}","starred_url":"https://api.github.com/users/robksawyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robksawyer/subscriptions","organizations_url":"https://api.github.com/users/robksawyer/orgs","repos_url":"https://api.github.com/users/robksawyer/repos","events_url":"https://api.github.com/users/robksawyer/events{/privacy}","received_events_url":"https://api.github.com/users/robksawyer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-03T20:55:30Z","updated_at":"2016-02-03T15:35:36Z","closed_at":null,"body":"I keep getting the following error when using this library. More details below.\r\n\r\n`composer.json` = `\"facebook/php-sdk-v4\": \"^5.1\",`\r\n\r\n```\r\n$fb = new Facebook\\Facebook([\r\n\t\t\t'app_id' => Configure::read('Facebook.appId'),\r\n\t\t\t'app_secret' => Configure::read('Facebook.secret'),\r\n\t\t\t'default_graph_version' => Configure::read('Facebook.version') //'v2.4'\r\n\t\t]);\r\n```\r\n\r\n```\r\n$response = $fb->get('/me?fields=id,email',$accessToken);\r\n```\r\n\r\n```\r\nError: Graph returned an error: Invalid appsecret_proof provided in the API argument \r\n```\r\n\r\nNote: I'm trying to pass the accessToken from my Ionic mobile app. And then I'm validating the accessToken by making a Facebook API call to retrieve the email address. If the email address matches the one that was passed, then the request is valid. Another note, I've made sure to request public_profile and email when gaining the accessToken on the mobile side. And it works fine on the mobile side, returns the proper email and all. \r\n\r\nIs there a better way to handle this? \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/issues/comments/179296700","html_url":"https://github.com/facebook/facebook-php-sdk-v4/issues/531#issuecomment-179296700","issue_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/issues/531","id":179296700,"user":{"login":"FlorianKromer","id":8794030,"avatar_url":"https://avatars.githubusercontent.com/u/8794030?v=3","gravatar_id":"","url":"https://api.github.com/users/FlorianKromer","html_url":"https://github.com/FlorianKromer","followers_url":"https://api.github.com/users/FlorianKromer/followers","following_url":"https://api.github.com/users/FlorianKromer/following{/other_user}","gists_url":"https://api.github.com/users/FlorianKromer/gists{/gist_id}","starred_url":"https://api.github.com/users/FlorianKromer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlorianKromer/subscriptions","organizations_url":"https://api.github.com/users/FlorianKromer/orgs","repos_url":"https://api.github.com/users/FlorianKromer/repos","events_url":"https://api.github.com/users/FlorianKromer/events{/privacy}","received_events_url":"https://api.github.com/users/FlorianKromer/received_events","type":"User","site_admin":false},"created_at":"2016-02-03T15:35:36Z","updated_at":"2016-02-03T15:35:36Z","body":"Hello, I am also getting this error, any ideas?\r\n`\"facebook/php-sdk-v4\": \"^5.1\" ` too"}}