Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

getSnaps issue #34

Closed
sallaben opened this issue Mar 26, 2015 · 1 comment
Closed

getSnaps issue #34

sallaben opened this issue Mar 26, 2015 · 1 comment

Comments

@sallaben
Copy link
Contributor

I can login fine, that all works, no unauthorized errors, and I know I'm not blocked. What's up though with getSnaps? Whenever I call it I don't see any outgoing requests displayed even if $debug=true, and when I var_dump the $snaps variable (which is set to $snapchat->getSnaps()), I just get bool(false).

what's up?

@mgp25
Copy link
Owner

mgp25 commented Mar 27, 2015

@sallaben If you dont have any snap you will get a false

        $updates = $this->getUpdates();
        if(empty($updates))
        {
            return FALSE;
        }

It doesnt display anything in Debug Mode because its not a request. You can do

$snapchat->getSnaps(true);

And it will store the snaps (if there is any)

Regards

@mgp25 mgp25 closed this as completed Mar 27, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants