{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/WindowsCommunityToolkit/issues/2273","repository_url":"https://api.github.com/repos/Microsoft/WindowsCommunityToolkit","labels_url":"https://api.github.com/repos/Microsoft/WindowsCommunityToolkit/issues/2273/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/WindowsCommunityToolkit/issues/2273/comments","events_url":"https://api.github.com/repos/Microsoft/WindowsCommunityToolkit/issues/2273/events","html_url":"https://github.com/Microsoft/WindowsCommunityToolkit/issues/2273","id":336539572,"node_id":"MDU6SXNzdWUzMzY1Mzk1NzI=","number":2273,"title":"FacebookService Can't Log-In","user":{"login":"mzhukovs","id":13161978,"node_id":"MDQ6VXNlcjEzMTYxOTc4","avatar_url":"https://avatars2.githubusercontent.com/u/13161978?v=4","gravatar_id":"","url":"https://api.github.com/users/mzhukovs","html_url":"https://github.com/mzhukovs","followers_url":"https://api.github.com/users/mzhukovs/followers","following_url":"https://api.github.com/users/mzhukovs/following{/other_user}","gists_url":"https://api.github.com/users/mzhukovs/gists{/gist_id}","starred_url":"https://api.github.com/users/mzhukovs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzhukovs/subscriptions","organizations_url":"https://api.github.com/users/mzhukovs/orgs","repos_url":"https://api.github.com/users/mzhukovs/repos","events_url":"https://api.github.com/users/mzhukovs/events{/privacy}","received_events_url":"https://api.github.com/users/mzhukovs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-28T09:17:39Z","updated_at":"2018-06-29T23:09:41Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nPLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION.\r\nISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION.\r\n-->\r\n\r\n## I'm submitting a...\r\nBug report (I searched for similar issues and did not find one)\r\nDocumentation issue or request \r\n\r\n## Current behavior\r\nFacebookService.Instance.LoginAsync() always return false, and the UI just shows a flicker of the pop-up that is meant to ask me user to log-in.\r\n\r\nI followed the [instructions in the docs](https://docs.microsoft.com/en-us/windows/uwpcommunitytoolkit/services/facebook) here and tried a few things by tweaking the facebook app settings and can't get it to work. Perhaps this has due to with Facebook updating their policies - \"Use Strict Mode for Redirect URIs\" is now mandatory (as is \"Enforce HTTPS\" (these are not mentioned in the docs). I tried entering the ms-app:// url\r\nin the app settings in facebook dev portal in for Valid OAuth Redirect URIs (which the doc instructions say to leave blank) and that didn't help either - just can't get the service to log in.\r\n\r\np.s. FB also made it such that you can no longer use FacebookPermissions.PublishActions which is still included by default as the value for the optional parameter for FacebookService.Instance.Initialize() - if you install the Windows Community Toolkit Sample App and try to use the Facebook Service demo there you'll see the error come up when you hit the \"Connect\" button after entering your app id.\r\n\r\n## Expected behavior\r\nFacebookService shows log-in screen as expected, and can complete log-in flow, returning oauth access token.\r\n\r\n## Minimal reproduction of the problem with instructions\r\nI think any project would run into this. Including the Windows Community Toolkit Sample App. Correct me if I'm wrong, please.\r\n\r\n## Environment\r\n<!-- For bug reports Check one or more of the following options with \"x\" -->\r\n```\r\nUsing a freshly created UWP project as part of a new Xamarin Forms solution.\r\n\r\nWindows 10 Build Number:\r\n- [ ] Creators Update (15063)\r\n- [ ] Fall Creators Update (16299)\r\n- [ x ] April 2018 Update (17134)\r\n- [ ] Insider Build (build number: )\r\n\r\nApp min and target version:\r\n- [ x ] Creators Update (15063)\r\n- [ ] Fall Creators Update (16299)\r\n- [ ] April 2018 Update (17134)\r\n- [ ] Insider Build (xxxxx)\r\n\r\nDevice form factor:\r\n- [ x ] Desktop\r\n- [ ] Mobile\r\n- [ ] Xbox\r\n- [ ] Surface Hub\r\n- [ ] IoT\r\n\r\nVisual Studio \r\n- [ x ] 2017 version: Enterprise 15.7.4\r\n- [ ] 2017 Preview (version: )\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/WindowsCommunityToolkit/issues/comments/401495433","html_url":"https://github.com/Microsoft/WindowsCommunityToolkit/issues/2273#issuecomment-401495433","issue_url":"https://api.github.com/repos/Microsoft/WindowsCommunityToolkit/issues/2273","id":401495433,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTQ5NTQzMw==","user":{"login":"RexfelisLOC","id":16925431,"node_id":"MDQ6VXNlcjE2OTI1NDMx","avatar_url":"https://avatars1.githubusercontent.com/u/16925431?v=4","gravatar_id":"","url":"https://api.github.com/users/RexfelisLOC","html_url":"https://github.com/RexfelisLOC","followers_url":"https://api.github.com/users/RexfelisLOC/followers","following_url":"https://api.github.com/users/RexfelisLOC/following{/other_user}","gists_url":"https://api.github.com/users/RexfelisLOC/gists{/gist_id}","starred_url":"https://api.github.com/users/RexfelisLOC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RexfelisLOC/subscriptions","organizations_url":"https://api.github.com/users/RexfelisLOC/orgs","repos_url":"https://api.github.com/users/RexfelisLOC/repos","events_url":"https://api.github.com/users/RexfelisLOC/events{/privacy}","received_events_url":"https://api.github.com/users/RexfelisLOC/received_events","type":"User","site_admin":false},"created_at":"2018-06-29T23:09:41Z","updated_at":"2018-06-29T23:09:41Z","author_association":"NONE","body":"I'm also running into the failed LoginAsync issue mentioned here using FacebookPermissions.PublishActions.  Hopefully this can get fixed soon as I have to get my app approved prior to August 1, 2018 by Facebook."}}
{"actor":{"display_login":"RexfelisLOC"}}