Skip to content

Commit 237c62e

Browse files
committed
Apply Nemory's changes
To fix reported login issues.
1 parent 89d86cd commit 237c62e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/snapchat_agent.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ abstract class SnapchatAgent {
1111
* App version (as of 2013-11-20). Before updating this value, confirm
1212
* that the library requests everything in the same way as the app.
1313
*/
14-
const VERSION = '6.0.2';
14+
const VERSION = '4.1.07';
1515

1616
/*
1717
* The API URL. We're using the /bq endpoint, the one that the iPhone
@@ -53,7 +53,7 @@ abstract class SnapchatAgent {
5353
CURLOPT_CONNECTTIMEOUT => 5,
5454
CURLOPT_RETURNTRANSFER => TRUE,
5555
CURLOPT_TIMEOUT => 10,
56-
CURLOPT_USERAGENT => 'Snapchat/6.0.2 (iPhone; iOS 7.0.4; gzip)',
56+
CURLOPT_USERAGENT => 'Snapchat/4.1.07 (Nexus 4; Android 18; gzip)',
5757
);
5858

5959
/**

0 commit comments

Comments
 (0)