Flickr API 中的错误还是我的理解不正确?
我正在尝试使用 flickr API 获取池中照片的列表,因此我使用 getPhotos 方法。
我只传递组 ID 的单个强制参数(在我的例子中为“1108839@N25”)。回复首先告诉我此回复中有 19 张照片:
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
<photos page="1" pages="1" perpage="100" total="19">
...
但是 回复实际上仅包含 13 张照片的详细信息。这是 flickr API 中的错误还是我做错了什么?
如果需要进一步证明,如果请求的结构为每页仅请求 1 张照片,则响应显示有 19 页,但请求超过 13 页的页面 为空
更新< /强>: 我越来越接近解决方案了...
当我未登录时,我只能看到池中的 13 张照片。然而,其中一张未列出的照片是我提交的照片,并且已设置权限以便它应该出现。
这是照片: http://www.flickr.com/photos/stolencamerafinder/3592503307/
您未登录时应该能够看到这一点。它甚至说它属于右侧的池,但如果您尝试在池中向前然后向后导航,它就会消失。有什么想法吗?
I'm trying to use the flickr API to get the listing of photos in a pool and so I am using the getPhotos method.
I'm only passing in the single mandatory argument of the group ID (in my case "1108839@N25"). The response begins by telling me that there are 19 photos in this response:
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
<photos page="1" pages="1" perpage="100" total="19">
...
but the response only actually contains details of 13 photos. Is this a bug in the flickr API or is there something I'm doing wrong?
If further proof were needed, if the request is structured to only request 1 photo per page, the response says there are 19 pages, but requests for pages past page 13 are empty
Update:
I'm getting closer to the solution...
When I'm not logged in I can see only 13 photos in the pool. However one of the photos not being listed is a photo I submitted and the permissions are set so that it should appear.
This is the photo:
http://www.flickr.com/photos/stolencamerafinder/3592503307/
You should be able to see this when not logged in. It even says it belongs to the pool on the right, but if you try to navigate forwards then backwards in the pool it disappears. Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许丢失的图像不公开?仅允许访问公共图像。
May be the missing images are not public? Only public images are given access.