dstelljes/php-snapchat — pull request #35 by ArtaexJeffrey (2013-12-27 13:20:10+00:00)
Title: Cleaner way to check for successful login

Snapchat returns ‘logged: true’ upon successful API call (in this case
it means successful login) then we set the auth_token. Replacing the
username with the username from Snapchat can be tricky as Snapchat will
sometimes return ‘false’ so just leave that out.