Uploading a photo with Flickr

我怕爱的太早我们不能终老 提交于 2019-12-23 03:51:34

问题


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


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/4936615/uploading-a-photo-with-flickr

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