简体   繁体   English

从Linkedin API中提取随机个人资料照片

[英]Pulling in random profile pics from Linkedin API

I'm making an iPhone app which needs to pull in random Linkedin profile pictures (that are publicly accessible). 我正在制作一个iPhone应用程序,该应用程序需要提取随机的Linkedin个人资料图片(可公开访问)。 I could simply send requests for random profile ids, but it seems very inefficient. 我可以简单地发送随机配置文件ID的请求,但这似乎效率很低。 Is there a more effective way to do this? 有没有更有效的方法可以做到这一点?

The LinkedIn API is not designed for searching done by non-authenticated users (nor random searching). LinkedIn API不适用于未经身份验证的用户进行的搜索(也不是随机搜索)。 You could theoretically do the following: 1) Authorize the user using the app 2) Do a search for a random string as that user 3) Display the profile picture for one of the results 从理论上讲,您可以执行以下操作:1)使用应用授权用户2)以该用户身份搜索随机字符串3)显示其中一个结果的个人资料图片

The Terms of Use doesn't allow you to create a "master user" and access the API without authenticating each user who uses the application. 使用条款不允许您在不验证使用该应用程序的每个用户的情况下创建“主用户”并访问API。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM