Skip to content

Commit

Permalink
Merge pull request #80 from LinoSuarez/master
Browse files Browse the repository at this point in the history
Snapchat_agent update
  • Loading branch information
JorgenPhi committed Jan 29, 2015
2 parents fe0dd1c + 30852a8 commit 708fe8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/snapchat_agent.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ abstract class SnapchatAgent {
* App version (as of 2013-11-20). Before updating this value, confirm
* that the library requests everything in the same way as the app.
*/
const VERSION = '4.1.07';
const VERSION = 'Snapchat/8.0.1.3';

/*
* The API URL. We're using the /bq endpoint, the one that the iPhone
Expand Down Expand Up @@ -53,7 +53,7 @@ abstract class SnapchatAgent {
CURLOPT_CONNECTTIMEOUT => 5,
CURLOPT_RETURNTRANSFER => TRUE,
CURLOPT_TIMEOUT => 10,
CURLOPT_USERAGENT => 'Snapchat/8.1.1 (Nexus 5; Android 21; gzip)',
CURLOPT_USERAGENT => 'Snapchat/8.0.1.3 (Nexus 5; Android 21; gzip)',
CURLOPT_HTTPHEADER => array('Accept-Language: en'),
);

Expand Down

0 comments on commit 708fe8f

Please sign in to comment.