在sharekit中获取facebook和twitter的用户ID

问题描述:

我使用sharekit为iPhone应用程序实现facebook和twitter。我们如何获取登录用户的用户ID,以便我可以将其发送到服务器。任何帮助将不胜感激。谢谢。

Iam implementing facebook and twitter using sharekit for an iphone app. How can we get the user id of the logged in user so that I could send it to the server. Any help will be greatly appreciated. Thank you.

您可以使用新的facebook图表API获取Facebook用户信息,以获取可以使用的示例代码这个

you can get facebook user information using new facebook graph APIs for sample code you can use this.