I'm getting an error which says, "Warning: exec() has been disabled for security reasons in /home/a4455435/public_html/snapchat.php on line 175".
@jKard1210 should have to do something with your security settings, i'm guessing you can enable exec in a config file of php. google it, should get the right results
question: where does snapchat save it's auth token? Before the update, I could login with snapchat, use casper to get the authtoken from snapchat, and use that token in snap-api. But I can't log in on the old snapchat anymore, so I'd like to try 'injecting' the auth token generated by snap-api and see if that works
I'm also getting this error: "Warning: file_put_contents(public_html/authData/auth-james121099.dat) [function.file-put-contents]: failed to open stream: No such file or directory in /home/a4455435/public_html/snapchat.php on line 321"
I fixed that problem, but I'm still getting the "Warning: exec() has been disabled for security reasons in /home/a4455435/public_html/snapchat.php on line 175". I know that my server allows exec commands, but this one in particular is having an issue. This is the "exec('java -version', $output, $returnCode);" which is in getAuthToken()
Hi all, getting an Auth error on the latest commit with correct login information (tried using Google app password). Looking to chuck someone $20 via PayPal if they can fix this for me. PM me on Gitter if interested.
Hello All, I am facing some issue with gzdecode function. I am iOS Developer. Can any one help me out ?
Is there any alternative for snap chat API without Google auth ?
Hi. I'm taking a different approach. I am running snapchat in an Android emulator and using mitmproxy to intercept requests and modify them on the fly. I want to post images to my story. I can successfully modify every field EXCEPT for the image itself.
I have tried sending raw image data, padded image data, and padded+encrypted image data.
I have gotten a variety of errors, including 400 bad request, 500 bad request, and unsupported media type
Does anyone have any insight on the difference between these errors?
Also, I intercepted the snapchat image data, which presumably is post-encryption, and saved it to a file.... but I was able to open it as a jpg and see the image, which I found very strange.
For some reason the emulator always ends up posting to /retry_post_story ....... anyone know why??
milesrichardson have you tried with a different account?
we figured it out. was missing a line break
Any one around ?
@jKard1210 PHP's exec() function has probably been disabled by your hosting provider for obvious security reasons (it allows executing a command on the system), and I would think you will not be able to enable it. Now for using the Snapchat library you need to have your own web server set up locally or on a VPS. Free / Payed web hosting services will not allow exec() commands and they probably don't have Java installed.
@cuonic Do you know why the exec always puts null in the result var?
@ferdau Maybe nothing came back ? The command failed ? Ensure java is installed, try executing the following :
<?php var_dump(exec("java -v")); ?>
@cuonic Thanks for the help, I think I screwed something up. Will try tomorrow, thanks!
But java is installed (everything worked fine a few weeks ago)
@ferdau If you are on linux try <?php var_dump(exec("/usr/bin/java -version")); ?>. www-data doesn't have the same exec paths as a normal user.
I use OSX but still same result
Ok is this the code used to run the Encrypter.jar ?
This message was deleted
how do i change the location of wer i want the snaps so save??
you can change it in snapchat.php in the getmedia() function
it's not really implemented to be changed as of now
I have installed all dependancies (except php5-zip.. "could not find") on my ubuntu 12.04 server with nginx and php running properly. I was able to execute registerTool.php through command line successfully. But I cannot locate the captcha.zip anywhere on my server when I get to that step. Is it because I do not have the php5-zip dependency installed?
Does anyone know how dsig is generated?
Do you just need to keep the same dsig every time you use the account to avoid flags?
@PyroFilmsFX probably something with the permissions, had the same error the first time I tried it. Can't remember what I did to fix it though. I'm running it without sudo, and the folder is somewhere in my home dir
permissions are 0755 on everything btw, but didn't mess with that
anyone else getting the 'please update snapchat' as debug ?
Anyone getting the error : PHP Warning: finfo_file(): Failed identify data 0:no magic files loaded in....
thats because using url
save it locally and send from your local machine
Albin Falsen Lindqivst
is snapchat bots possible still?
is this api compatible with c# or is there at least a c# wrapper?
Hello all, im working with an application, and need login to snapchat, i dont know how to generate X-Snapchat-Client-Token and X-Snapchat-Client-Auth-Token. Anyone help me, thank so much, my Skype is siverrally
Hello, can someone guide me with what do i have to study to be able to create a private api for snapchat, thanks.
Could someone give me any sort of hints towards generating the "X-snapchat-auth-token"? iOS.
If any one has more info add me on discord: Sandor#4559
how can i dowmload instagram private api? github link is not available
@mgp25 could you help me to download instagram API?