Social Service DoFBOAuthAndGetToken Problem

0 votes
We are using the following to connect to facebook:

public static void ConnectWithFacebook(){
    
        string[] perms = new string[10];
        perms [0] = FBPerms.email;        
        perms [1] = FBPerms.user_friends;
        AppConstants.BuildSocialService().DoFBOAuthAndGetToken(AppConstants.FB_APP_ID, perms, false, new FB_CallBack());

    }

Its callback is as followings:

public void OnSuccess (object response)
    {
        if (response is string){
            FB_CallBack.fbAccessToken = response.ToString();
            FB_CallBack.isConnected = true;

            Loading.loadingMsg = "Successfully connected to Facebook";
        }

        if (response is com.shephertz.app42.paas.sdk.csharp.social.Social){
            com.shephertz.app42.paas.sdk.csharp.social.Social socialObj = (com.shephertz.app42.paas.sdk.csharp.social.Social)response;

            FB_CallBack.fbUserId = socialObj.GetFacebookProfile().GetId();
            FB_CallBack.fbUserName = socialObj.GetFacebookProfile().GetName();
            FB_CallBack.fbUserProfilePic = socialObj.GetFacebookProfile().GetPicture();

            storeUserCheck.requestUserCheck();
        }
    }

If the first time we don't allow the permission to play the app in Facebook, it does not redirect to Facebook the second time it connects to Facebook. It also does not throw any exception.

May I know how to make it redirect to Facebook so that user can allow the permission to play in Facebook for the second time if does not allow the permission the first time?
closed with the note: Solved
asked Aug 26, 2014 in App42 Cloud API-BaaS by Rachel Lee (10 points)
closed Aug 27, 2014 by Rachel Lee
We are looking this and trying to replicate. Will update you soon on this.
Thanks for having patience.
Hi, Rachel Lee. I have problem in Valid OAuth redirect URIs. May I know how you get the Valid OAuth redirect URIs for your app? I have stuck in this problem for few days already. Hope you can help me. Thank you.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...