使用 Flickr 上传照片
我今天刚刚开始使用 Flickr API,我有一个问题:
如果我允许某人将照片上传到我的网站,然后为了不将其存储在我的小型本地服务器上,我怎样才能上传该照片使用 PHP Flickr API 到 Flickr?
这应该是一个非常常见的用例,对吗?我使用PHP。
谢谢, 亚历克斯
I just started working with the Flickr API today and I have a question:
If I allow a person to upload a photo to my website and then in order for me not to store it on my small local server, how can I just upload that photo to Flickr using the PHP Flickr API?
That should be a pretty common use case, correct? I use PHP.
Thanks,
Alex
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Flickr 上传 API:
http://www.flickr.com/services/api/upload.api.html
简单的 php 脚本在 flickr 上上传图片
http://www.flickr.com/groups/api/discuss/72157621716056865/
也许这会为您指明正确的方向,因为这取决于您上传文件后想要对文件执行的操作。
Flickr Upload API:
http://www.flickr.com/services/api/upload.api.html
Simple php script to upload pics on flickr
http://www.flickr.com/groups/api/discuss/72157621716056865/
Maybe this will point you in the right direction since depending on what you want to do with your files after you upload them.
您查看过 API 的文档吗?我过去曾使用过它,您无需自己下载图像,只需上传图像并将其直接发送到 Flickr。
Have you checked out the documentation for the API. I've worked with it in the past, you don't need to download the image yourself you upload it and send it straight to Flickr.