从facebook API获得工作经验

问题描述 投票:1回答:1

我想获取已登录我的应用程序的用户的工作经验。Facebook SDK文档的描述性不是很强,因为我特别需要在“ work-experience-id”的地方使用它。

这是我的onSuccess方法中的代码

new GraphRequest(loginResult.getAccessToken().getCurrentAccessToken(),
                    loginResult.getAccessToken().getUserId() + "/work", null, HttpMethod.GET, new GraphRequest.Callback() {
                @Override
                public void onCompleted(GraphResponse response) {
                    Log.d("Facebook", response.toString());
                }
            }).executeAsync();

请帮助。这将是很大的帮助

android facebook facebook-graph-api social-networking facebook-android-sdk
1个回答
0
投票

不幸的是,对于其他任何人,Facebook不再返回此数据。 https://developers.facebook.com/docs/graph-api/reference/v5.0/user

Facebook API reference

© www.soinside.com 2019 - 2024. All rights reserved.