dopiaza / DPZFlickr

PHP API Kit for Flickr with support for OAuth
Other
30 stars 21 forks source link

Get url of the photo uploaded #2

Open Biribu opened 10 years ago

Biribu commented 10 years ago

I have an issue because I need the url of the photo I just uploaded with the script. But I just get part of it. I get the first part of numbers which compounds the name in server, something like this: 232352452452_2352352352_m.jpeg

The part of _m.jpeg is always the same and the first bunch of numbers, you receive in [_content] in json received.

But the second part is not received so I cannot show the complete url. Is there a way to receive it too?

Also, there is an error in upload script. Line 63, it should be $photos = @$response['_content']; to get something. With [photos] and without @, it gives an error and doesn't read anything.

Thanks for help and for doing this script.