开发者

Rails Friend friender/contact importer

开发者 https://www.devze.com 2023-01-28 07:40 出处:网络
Are there any gems available or a good way to go about making a friend finder to find frien开发者_Go百科ds that are using my service? Also, I am using omniauth with devise if that makes any difference

Are there any gems available or a good way to go about making a friend finder to find frien开发者_Go百科ds that are using my service? Also, I am using omniauth with devise if that makes any difference.


well quite easy...

as long as the user is connected to your facebook app (e.g.) you can query the service for his friendslist and search in your database for all user who have "this" user id.

you also can lookup their names but it might be more effective if you challenge their ids.

0

精彩评论

暂无评论...
验证码 换一张
取 消