Android SDK friend request returns “Sorry, something went wrong”

夙愿已清 提交于 2019-12-08 19:49:33

Try change

params.putString("id", friendID);

to

params.putString("to", friendID);

I was struggling with the same issue.

The workaround for me was to double-check the permissions. (first_name, last_name with name, etc arent working correctly) You should start by removing all and only take "email" and then add the remaining permissions accordingly which will make it easier to understand.

LoginManager.getInstance().logInWithReadPermissions(
        this,
        listOf("email") //, "name", "first_name", "public_profile"
    )
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!