Skip to content

Get url of the photo uploaded #2

Description

@Biribu

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions