如何从另一个网站导入Facebook朋友 [英] How do I import Facebook friends from another website

查看:101
本文介绍了如何从另一个网站导入Facebook朋友的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种连接到Facebook的方法,允许用户输入用户名和密码,并使我们的应用程序连接到其帐户并获取他们的联系人,以便他们可以邀请他们加入我们网站上的论坛.我之前写过一个Facebook应用程序,但是它不是一个连接器,而是一个应用程序,因此他们可以邀请所有朋友或仅邀请一些朋友加入我们正在开发的网站.

I am looking for a way to connect to Facebook by allowing the user to enter in their username and password and have our app connect to their account and get their contacts so that they can invite them to join their group on our site. I have written a Facebook app before, but this is not an app as much as it is a connector so that they can invite all their friends or just some to the site we are working on.

我已经看到其他几个网站也可以这样做,并且还可以连接到Yahoo,Gmail和Hotmail联系人.我不认为他们使用Facebook Connect来做到这一点,因为它太新了,但事实可能如此.

I have seen several other sites do this and also connect to Yahoo, Gmail and Hotmail contacts. I don't think they are using Facebook Connect to do this since it is so new, but they may be.

任何语言的解决方案都可以,因为我可以移植任何示例以使用C#.我无法在Google或Facebook上找到任何专门解决此特定问题的方法.任何帮助表示赞赏.

Any solution in any language is fine as I can port whatever example to use C#. I cannot find anything specifically on Google or Facebook to address this specific problem. Any help is appreciated.

我看到第一个答案被删除,暗示我可能需要刮掉好友页面.我越环顾四周,这可能就是我需要做的.我认为,以任何其他方式都需要该人将其添加为应用程序.我想知道如何删除答案,也许那个用户删除了它.

I saw a first answer get removed that had suggested I might need to scrape the friends page. The more I look around, this might be what I need to do. Any other way I think will require the person to add it as an app. I am wondering how a answer can get removed, maybe that user deleted it.

推荐答案

我前一段时间问过这个问题,而在Facebook连接正常运行之前.真正做到这一点的最好方法是使用facebook connect.

I asked this question awhile ago and before facebook connect was live and well. The best way to really do this is using facebook connect.

http://developers.facebook.com/connect.php?tab=website

我目前正在我们的实时站点上使用它,并在Codeplex上使用.NET的Facebook Developer Toolkit:

I am currently using this on our live site and using the Facebook Developer Toolkit for .NET on Codeplex here:

http://www.codeplex.com/FacebookToolkit

祝你好运!

这篇关于如何从另一个网站导入Facebook朋友的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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