Instagram API: How to know a media's privacy level?

旧城冷巷雨未停 提交于 2020-01-17 01:39:31

问题


I'm syncing a bunch of media from instagram. Some show up with thumbnails that say 403 forbidden along with this response:

<?xml version="1.0" encoding="UTF-8"?>
<Error>
    <Code>AccessDenied</Code>
    <Message>Access Denied</Message>
    <RequestId>*********</RequestId>
    <HostId>*********</HostId>
</Error>

I have no problem with this, but I would like to simply skip these photos as I'm doing my sync. Is there anything in the media response I can use to detect the privacy level of the photos?

Thanks!

来源:https://stackoverflow.com/questions/21532999/instagram-api-how-to-know-a-medias-privacy-level

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