{"action":"created","issue":{"url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/247","repository_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4","labels_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/247/labels{/name}","comments_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/247/comments","events_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/247/events","html_url":"https://github.com/jeduan/cordova-plugin-facebook4/issues/247","id":161884305,"number":247,"title":"share dialog failed when use space in Display Name on facebook app, but remove space share worked.","user":{"login":"Dukeduk","id":3468823,"avatar_url":"https://avatars.githubusercontent.com/u/3468823?v=3","gravatar_id":"","url":"https://api.github.com/users/Dukeduk","html_url":"https://github.com/Dukeduk","followers_url":"https://api.github.com/users/Dukeduk/followers","following_url":"https://api.github.com/users/Dukeduk/following{/other_user}","gists_url":"https://api.github.com/users/Dukeduk/gists{/gist_id}","starred_url":"https://api.github.com/users/Dukeduk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dukeduk/subscriptions","organizations_url":"https://api.github.com/users/Dukeduk/orgs","repos_url":"https://api.github.com/users/Dukeduk/repos","events_url":"https://api.github.com/users/Dukeduk/events{/privacy}","received_events_url":"https://api.github.com/users/Dukeduk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-23T09:58:56Z","updated_at":"2016-11-14T09:16:22Z","closed_at":null,"body":"[http://i.imgur.com/AKklY2c.jpg](url)\n- share dialog failed when use space in Display Name on facebook app, but remove space share worked. \n- when share dialog failed callback return errorMessage : Facebook error: Failed to authenticate the application because of app name mismatch. Please check the application name configured by the dialog.\n- APP_NAME in config.xml and Display Name of facebook app are the same, but share failed still occur.\n\nthank you, Araya\n"},"comment":{"url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/comments/260284595","html_url":"https://github.com/jeduan/cordova-plugin-facebook4/issues/247#issuecomment-260284595","issue_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/247","id":260284595,"user":{"login":"schlaus","id":3582118,"avatar_url":"https://avatars.githubusercontent.com/u/3582118?v=3","gravatar_id":"","url":"https://api.github.com/users/schlaus","html_url":"https://github.com/schlaus","followers_url":"https://api.github.com/users/schlaus/followers","following_url":"https://api.github.com/users/schlaus/following{/other_user}","gists_url":"https://api.github.com/users/schlaus/gists{/gist_id}","starred_url":"https://api.github.com/users/schlaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schlaus/subscriptions","organizations_url":"https://api.github.com/users/schlaus/orgs","repos_url":"https://api.github.com/users/schlaus/repos","events_url":"https://api.github.com/users/schlaus/events{/privacy}","received_events_url":"https://api.github.com/users/schlaus/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T09:16:22Z","updated_at":"2016-11-14T09:16:22Z","body":"I had the same problem. It seems adding the plugin doesn't work correctly if you happen to have a space in your app's name.\r\n\r\nI got it to work again after manually updating the name in these files:\r\n* `plugins/android.json`\r\n* `plugins/fetch.json`\r\n* `android/android.json`\r\n\r\nThe name has to be the exact same in Facebook's dev center and in your Cordova config for sharing to work."}}
{"actor":{"display_login":"schlaus"}}