{"action":"created","issue":{"url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/521","repository_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4","labels_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/521/labels{/name}","comments_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/521/comments","events_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/521/events","html_url":"https://github.com/jeduan/cordova-plugin-facebook4/issues/521","id":236690197,"node_id":"MDU6SXNzdWUyMzY2OTAxOTc=","number":521,"title":"apprequest bug on \"askfor\", dialog not showing","user":{"login":"tbase82","id":15409041,"node_id":"MDQ6VXNlcjE1NDA5MDQx","avatar_url":"https://avatars2.githubusercontent.com/u/15409041?v=4","gravatar_id":"","url":"https://api.github.com/users/tbase82","html_url":"https://github.com/tbase82","followers_url":"https://api.github.com/users/tbase82/followers","following_url":"https://api.github.com/users/tbase82/following{/other_user}","gists_url":"https://api.github.com/users/tbase82/gists{/gist_id}","starred_url":"https://api.github.com/users/tbase82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbase82/subscriptions","organizations_url":"https://api.github.com/users/tbase82/orgs","repos_url":"https://api.github.com/users/tbase82/repos","events_url":"https://api.github.com/users/tbase82/events{/privacy}","received_events_url":"https://api.github.com/users/tbase82/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-17T23:33:50Z","updated_at":"2018-06-23T07:57:54Z","closed_at":"2018-06-23T07:57:54Z","author_association":"NONE","body":"Hi,\r\nif i use the following object for showDialog:\r\n{\r\n\tmethod: \"apprequests\",\r\n\tmessage: \"Message\",\r\n\ttitle: 'Title',\r\n\tactionType: 'askfor',\r\n\tfilters: 'app_non_users'\r\n}\r\n\r\nthe dialog is not showing.\r\n\r\nxcode output:\r\nUserInfo={com.facebook.sdk:FBSDKErrorDeveloperMessageKey=The objectID is required when the actionType is either send or askfor., com.facebook.sdk:FBSDKErrorArgumentNameKey=objectID}\r\n2017-06-17 23:45:20.142985+0200 OkeyAlemi[5596:1657936] game request dialog did fail\r\n2017-06-17 23:45:20.143238+0200 OkeyAlemi[5596:1657936] error::Error Domain=com.facebook.sdk.share Code=2 \"(null)\" \r\n\r\nafter changing the object id there is still an error.\r\n\r\nmy installed plugins:\r\n$ cordova plugin list\r\ncc.fovea.cordova.purchase 6.1.2 \"Purchase\"\r\ncordova-plugin-compat 1.1.0 \"Compat\"\r\ncordova-plugin-customurlscheme 4.3.0 \"Custom URL scheme\"\r\ncordova-plugin-device 1.1.6 \"Device\"\r\ncordova-plugin-facebook4 1.9.1 \"Facebook Connect\"\r\ncordova-plugin-file 4.3.3 \"File\"\r\ncordova-plugin-insomnia 4.3.0 \"Insomnia (prevent screen sleep)\"\r\ncordova-plugin-screen-orientation 2.0.1 \"Screen Orientation\"\r\ncordova-plugin-splashscreen 4.0.3 \"Splashscreen\"\r\ncordova-plugin-statusbar 2.2.3 \"StatusBar\"\r\ncordova-plugin-vibration 2.1.5 \"Vibration\"\r\ncordova-plugin-whitelist 1.3.2 \"Whitelist\"\r\ncordova-plugin-wkwebview-engine 1.1.3 \"Cordova WKWebView Engine\"\r\nphonegap-plugin-push 1.10.4 \"PushPlugin\"\r\n{}\r\n$ cordova --version\r\n7.0.1\r\n\r\nif i change the actionType: to 'turn' its working for type turn. \r\n**If i put a empty string actionType: '' it works fine.**\r\n\r\nLogin with Facebook works fine.\r\n\r\ncompiled in debug mode and tested on a real device iphone7 with version 10.3.1\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/comments/399649502","html_url":"https://github.com/jeduan/cordova-plugin-facebook4/issues/521#issuecomment-399649502","issue_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/521","id":399649502,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTY0OTUwMg==","user":{"login":"peterpeterparker","id":16886711,"node_id":"MDQ6VXNlcjE2ODg2NzEx","avatar_url":"https://avatars0.githubusercontent.com/u/16886711?v=4","gravatar_id":"","url":"https://api.github.com/users/peterpeterparker","html_url":"https://github.com/peterpeterparker","followers_url":"https://api.github.com/users/peterpeterparker/followers","following_url":"https://api.github.com/users/peterpeterparker/following{/other_user}","gists_url":"https://api.github.com/users/peterpeterparker/gists{/gist_id}","starred_url":"https://api.github.com/users/peterpeterparker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterpeterparker/subscriptions","organizations_url":"https://api.github.com/users/peterpeterparker/orgs","repos_url":"https://api.github.com/users/peterpeterparker/repos","events_url":"https://api.github.com/users/peterpeterparker/events{/privacy}","received_events_url":"https://api.github.com/users/peterpeterparker/received_events","type":"User","site_admin":false},"created_at":"2018-06-23T07:57:54Z","updated_at":"2018-06-23T07:57:54Z","author_association":"COLLABORATOR","body":"Close, inactivity"}}
{"actor":{"display_login":"peterpeterparker"}}