Use Facebook API with Objective C to find random Facebook user image

最后都变了- 提交于 2019-12-02 09:09:18

It sounds like your problem is that you can't tell if it's a real image or not because Facebook always returns a default image?

Instead of just requesting the picture?type=large directly (which always returns an image), first make a request to the http://graph.facebook.com/USERID and read that response - which will be false or something if it's not a real user.

Loop through until you find a real user, then request the image URL.

I'm not sure why you would want to do this though... but good luck.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!