{"action":"closed","issue":{"url":"https://api.github.com/repos/ccoenraets/sociogram-angular-ionic/issues/15","labels_url":"https://api.github.com/repos/ccoenraets/sociogram-angular-ionic/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/ccoenraets/sociogram-angular-ionic/issues/15/comments","events_url":"https://api.github.com/repos/ccoenraets/sociogram-angular-ionic/issues/15/events","html_url":"https://github.com/ccoenraets/sociogram-angular-ionic/issues/15","id":124124680,"number":15,"title":"Facebook is showing 'page is not available' after clicking Login button","user":{"login":"c0debreaker","id":3783931,"avatar_url":"https://avatars.githubusercontent.com/u/3783931?v=3","gravatar_id":"","url":"https://api.github.com/users/c0debreaker","html_url":"https://github.com/c0debreaker","followers_url":"https://api.github.com/users/c0debreaker/followers","following_url":"https://api.github.com/users/c0debreaker/following{/other_user}","gists_url":"https://api.github.com/users/c0debreaker/gists{/gist_id}","starred_url":"https://api.github.com/users/c0debreaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c0debreaker/subscriptions","organizations_url":"https://api.github.com/users/c0debreaker/orgs","repos_url":"https://api.github.com/users/c0debreaker/repos","events_url":"https://api.github.com/users/c0debreaker/events{/privacy}","received_events_url":"https://api.github.com/users/c0debreaker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-28T20:53:24Z","updated_at":"2015-12-29T14:52:42Z","closed_at":"2015-12-29T14:52:42Z","body":"Here is a screenshot of what I am seeing when I click the Login button\r\n\r\nhttp://i.imgur.com/OrUasWU.jpg\r\n\r\nHere are the Facebook app settings\r\nhttp://i.imgur.com/qi1Odav.jpg\r\nhttp://i.imgur.com/jLifdOC.jpg\r\n\r\nand the project that is failing\r\nhttps://github.com/c0debreaker/facebook-ionic\r\n\r\nhere are more info from the console.log codes I added in the code. You'll see it on my project\r\n\r\n```\r\noauthRedirectURL http://localhost:8100/#/app/oauthcallback\r\nclient_id=527710414057455\r\nredirect_uri=http://localhost:8100/#/app/oauthcallback\r\nscope=email,public_profile,user_friends,user_photos,user_posts,publish_actions,user_birthday\r\n```\r\n\r\nYou will also see the changes I added in my router in app.js. I added app.oauthcallback \r\n\r\n```\r\n.state('app.oauthcallback', {\r\n  url: \"/oauthcallback\",\r\n  views: {\r\n    'menuContent': {\r\n      templateUrl: \"templates/oauthcallback.html\"\r\n    }\r\n  }\r\n})\r\n```\r\n\r\nNot sure what I'm missing\r\n\r\nI've used Oauth before even when callback is to localhost. Not sure why Facebook is complaining with that kind of message. Maybe I did something wrong with the app I created in Facebook.\r\n\r\nBtw, I start my project using \"ionic serve\". It gets served on my Chrome browser on laptop. I'm not using my phone as the target device.\r\n\r\nAny help would be greatly appreciated.\r\n\r\nThanks!\r\nc0debreaker\r\n"}}