-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this script still working? #42
Comments
Thanks for responding. I added an echo "fail" in Login in "snapchat.php" and it does display. If it should work I will do more debugging to see why it fails.Thx, Steve Sent from my BlackBerry Z30 From: OlaRingdalenSent: Thursday, August 7, 2014 5:42 PMTo: JorgenPhi/php-snapchatReply To: JorgenPhi/php-snapchatCc: Steven KaderSubject: Re: [php-snapchat] Is this script still working? (#42)Do you have the right path to "snapchat.php"? —Reply to this email directly or view it on GitHub. |
I dug deeper and see that the result being returned is this : "{"message":"The network you are connected to has been temporarily blocked because of suspicious activity","status":403,"logged":false} Snapchat seems to have blocked the IP and not sure if this will go away and/or be recurring. Anyone else seen this. Thanks for the help. |
Same issue, tried on a new EC2 Instance, :( |
I'm pretty sure the block is temporary. It could be that someone else has been spamming from the Amazon network. I wrote a bot last night, and had it run every minute. That was SO stupid! Now the free server I used is blocked. BUT I think I have a fix, that seems to be working. Intercept the login call, where the auth token is stored, and save the auth token for maybe 12 hours at a time, or just until it starts failing. That seems to fix the issue. Also add random delays between fetching stuff from their server. I might submit a fix to the git repository, for the class itself. |
Great. If it is still working could you post the code changes. Not sure what to change to duplicate what you said. |
I'm already on it. I've made a patched version and updated the readme with an example on how to do this at https://github.com/HSPSoftware/php-snapchat Please note that you might still get blocked if you hammer them with thousands of requests, but this should at least help you not get blocked as easily, as it won't log you in over and over again. Will send a merge request to get the new code and examples into the main repository. |
Great...thanks for the help. On Sat, Sep 6, 2014 at 11:51 AM, Henrik Pedersen [email protected]
Steven Kader | CEO | The Jared Company http://jaredcompany.com Follow me on Twitter : http://twitter.com/StevenKader Email: [email protected] |
print_r($array); |
I've been trying this script but am having trouble with the Login. I am passing my username and password (I verified they are working on the device) but the login keeps failing.
This is my PHP test page :
getSnaps(); echo "2" ; ?>Any help would be appreciated. Thanks.
The text was updated successfully, but these errors were encountered: