JorgenPhi / php-snapchat

A PHP library for the Snapchat API - With Commit History
MIT License
259 stars 73 forks source link

I fixed the upload-sending snap issue #35

Open excodex opened 10 years ago

excodex commented 10 years ago

Hello, I changed this line:

$media_id = strtoupper($this->username) . '~' . time();

to this:

$media_id = strtoupper($this->username) . '~' . strtoupper(gen_uuid());

in snapchat.php

And the snap sending is working. You can find the _genuuid function here.

spartanz51 commented 10 years ago

I love you

NSURLSession0 commented 10 years ago

I still doesn't work for me. Both upload() and send() return false. Any idea what the problem could be?