docs fixes
This commit is contained in:
parent
f21fbe13c2
commit
f759de4092
1 changed files with 7 additions and 2 deletions
|
@ -17,8 +17,8 @@ Limitations
|
||||||
Only login (with list of new media) and fetching of images is implemented.
|
Only login (with list of new media) and fetching of images is implemented.
|
||||||
This is obviously a huge failing which I am to correct when I have more time.
|
This is obviously a huge failing which I am to correct when I have more time.
|
||||||
|
|
||||||
Motivation
|
Motivation and development process
|
||||||
----------
|
----------------------------------
|
||||||
|
|
||||||
I'm a huge fan of Snapchat. I'm stunned and delighted by the fact that a simple
|
I'm a huge fan of Snapchat. I'm stunned and delighted by the fact that a simple
|
||||||
feature like auto-expiration of images can create such a compelling and
|
feature like auto-expiration of images can create such a compelling and
|
||||||
|
@ -35,6 +35,9 @@ decompiling the whole thing with a mix of tools (all of them seemed to produce
|
||||||
subtly incorrect output), and then puzzling through the process of creating
|
subtly incorrect output), and then puzzling through the process of creating
|
||||||
their dreaded access tokens (called req\_token in the HTTP calls).
|
their dreaded access tokens (called req\_token in the HTTP calls).
|
||||||
|
|
||||||
|
This involved me paging through Fiddler, trying to generate SHA-256 hashes
|
||||||
|
seemingly at random, tearing my hear out, and weeping openly.
|
||||||
|
|
||||||
Their system is a bit unusual: it AES-256 hashes the two input values
|
Their system is a bit unusual: it AES-256 hashes the two input values
|
||||||
separately, using a secret key contained in the binary, and then uses a fixed
|
separately, using a secret key contained in the binary, and then uses a fixed
|
||||||
pattern string to pull bytes from one or the other. The final composition of
|
pattern string to pull bytes from one or the other. The final composition of
|
||||||
|
@ -77,6 +80,7 @@ The TODO list is almost endless at this point:
|
||||||
- Port to Javascript (probably via Node + NPM since their API doesn't seem to
|
- Port to Javascript (probably via Node + NPM since their API doesn't seem to
|
||||||
support JSONP)
|
support JSONP)
|
||||||
- Add support for PHP composer
|
- Add support for PHP composer
|
||||||
|
- Test framework
|
||||||
|
|
||||||
Author
|
Author
|
||||||
------
|
------
|
||||||
|
@ -84,3 +88,4 @@ Author
|
||||||
Made by [@tlack](http://twitter.com/tlack) with a lot of help from
|
Made by [@tlack](http://twitter.com/tlack) with a lot of help from
|
||||||
[@adamcaudill](http://twitter.com/adamcaudill)
|
[@adamcaudill](http://twitter.com/adamcaudill)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue