使用Parse添加Facebook用户的个人资料数据?

使用Parse添加Facebook用户的个人资料数据?,facebook,facebook-graph-api,parse-platform,Facebook,Facebook Graph Api,Parse Platform,我尝试在以下位置学习教程“在Unity中集成解析Facebook”: 一切正常,但当我想添加用户的电子邮件、性别、姓名、生日和位置时,通过使用以下方法: private IEnumerator saveUserProfile(Dictionary<string, string> profile) { var user = ParseUser.CurrentUser; user["profile"] = profile; user["email"] =

我尝试在以下位置学习教程“在Unity中集成解析Facebook”: 一切正常,但当我想添加用户的电子邮件、性别、姓名、生日和位置时,通过使用以下方法:

    private IEnumerator saveUserProfile(Dictionary<string, string> profile) {
    var user = ParseUser.CurrentUser;
    user["profile"] = profile;

    user["email"] = profile["email"] ;
    user["gender"] = profile["gender"] ;
    user["name"] = profile["name"] ;
    user["birthday"] = profile["birthday"] ;
    user["location"] = profile["location"] ;
    // Save if there have been any updates
    if (user.IsKeyDirty("profile")) {
        var saveTask = user.SaveAsync();
        while (!saveTask.IsCompleted) yield return null;
        UpdateProfile();
    }
    }
唯一的附加值是“性别”,其他值没有创建。请参见下面的屏幕截图: 此外,当我在Facebook上按下Parse database侧“authData”列中的“Profile No.”行时,Facebook网站将打开并显示以下消息: 配置文件不可用 抱歉,此配置文件目前不可用。请稍后再试

请说明我能做些什么来添加上述值,并为用户获得正确的配置文件编号

多谢各位


Waheed

试着查一下你的字典,里面存储了哪些东西

foreach( KeyValuePair<string, string> kvp in profile)
{
     Debug.Log("Key = " + kvp.Key + " Value = " + kvp.Value);
}