Ionic FacebookConnectPlugin
<p>I am trying to implement Facebook login in my ionic application. But when the user try to login to via Facebook at first, it says "Invalid hash key." following as below.<a href="https://i.stack.imgur.com/eFxWZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eFxWZ.png" alt="enter image description here"></a>
After this, I've check the hash key that was added on Facebook developer site. But the keys that displayed on app and written in Facebook developer sites are same following as below:
<a href="https://i.stack.imgur.com/lBvpU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lBvpU.png" alt="enter image description here"></a>
Also, the strange thing is after this happened, when I tried to login again with facebook developer account, it works. But also after this, the try to login with normal facebook account, it doesn't work. What's wrong and why this happens?
The implemented codes are here:</p>

<pre><code>$scope.fblogin = function(){
    var fbLoginParams = ['public_profile','email'];
    $ionicLoading.show({template: '&lt;ion-spinner icon="lines" class="spinner-calm"&gt;&lt;/ion-spinner&gt;&lt;p&gt;Getting Facebook Login Status...&lt;/p&gt;'});
    facebookConnectPlugin.getLoginStatus(
        function(response)  //Already Facebook Logined
        {
            //Get My Profile From Facebook
            if (response.status == "connected")
            {                    
                $ionicLoading.hide();
                $state.go('main.home');
            }
            else
            {
                console.log(response);
                //Prepare For Facebook Login
                $ionicLoading.hide();
                $ionicLoading.show({template: '&lt;ion-spinner icon="lines" class="spinner-calm"&gt;&lt;/ion-spinner&gt;&lt;p&gt;Logging in Facebook...&lt;/p&gt;'});

                facebookConnectPlugin.login(fbLoginParams,
                    function(response)
                    {
                        $ionicLoading.hide();                            
                        $state.go('main.home');
                    },
                    function (response)
                    {
                        //Facebook Login Failed.
                        $ionicLoading.hide();
                        alert('Failed to login Facebook');
                    }
                );
            }
        },
        function(response) // Not Logined
        {
        }
    );
}
</code></pre>