最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Trying to download hundreds of thousands of photos from a Facebook page, how to deal with Graph API limit - Stack Overflow

programmeradmin4浏览0评论

I have a Facebook page that I'm trying to mass download all the images off of. As a first step, I created a Python script that programmatically records all the photo URLs, album by album, via the Graph API. It works great, but the issue is I quickly run into the API rate limits with all the photo paginations. I can only return a maximum of 50 photos per page. There are over 1600 albums, and every one has hundreds of photos. Back of napkin math tells me that with a limit of 200 requests per hour, running 24/7 it will take over three days to get all the URLs. Then that also introduces issues with the access token expiring. Is there a better way to approach this problem?

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论