如何在朋友和朋友中获得相同的ID?可贴的朋友Facebook api? [英] How can I get same id in friends & tagable friends Facebook api?

查看:124
本文介绍了如何在朋友和朋友中获得相同的ID?可贴的朋友Facebook api?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开发一个应用程序,我们通过使用我/朋友和朋友获取朋友的数据我/ taggable_friends apis

We are working on an Application in which we are getting friends data using me/friends & me/taggable_friends apis.

对于这两个apis,我们得到不同的用户ID。在我/ taggable_friends api中,它正在返回特定用户的不同ID。

For both of the apis we are getting different id of user. In me/taggable_friends api, It is returning different id of particular user.

请咨询如何管理这种情况。

Please advice how to manage this situation.

谢谢。

推荐答案

taggable_friends 不是一个id,而是一个令牌,而且它是短命的。

What you get from the taggable_friends endpoint is not an id, but a token only – and it is short-lived.

只有你 你应该使用它的目的在OG故事中标注朋友。为此,您应该向用户提供一个UI,以便他们可以选择要标记的朋友。

The only purpose for which you are supposed to use it, is tagging friends in OG stories. For that, you are supposed to provide the user with a UI where they can select the friends they want to tag.

您不能尝试使用数据从该端点获取任何其他用途。

You are not allowed to try and use the data you get from that endpoint for any other purpose.

这篇关于如何在朋友和朋友中获得相同的ID?可贴的朋友Facebook api?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆