You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 16, 2020. It is now read-only.
REQUEST TO: https://sc-analytics.appspot.com/post_events
DATA: {"common_params":{"user_id":"e770f49b7ca9a855e883a91e0effe26b57b0bcc82d46e1b6294d38f7037a6f69","city":"Unimplemented","sc_user_agent":"Snapchat\/9.10.0.0 (HTC One; Android 4.4.2#302626.7#19; gzip)","session_id":"00000000-0000-0000-0000-000000000000","region":"Unimplemented","latlon":"Unimplemented","friend_count":-1,"country":"Unimplemented"},"events":[{"event_name":"APP_OPEN","event_timestamp":1435617750198,"event_params":{"open_state":"NORMAL","intent_action":"null"}}],"batch_id":"f8c741f6-02b9-0003-0000-2bef9b70b308-Snapchat91000HTCOneAndroid442302626719gzip1435617750198"}
There was an error registering your account
Error code: 400
BAD_REQUEST
I'm having some trouble getting an account fully registered through the api.
firstly I was able to get things rolling by making the following changes.
moved hunk 462-491 to under line 397
https://github.com/mgp25/SC-API/blob/master/src/snapchat_agent.php#L462
casted the first $jsonResult as object on this line
https://github.com/mgp25/SC-API/blob/master/src/snapchat_agent.php#L428
added if empty array check before this foreach loop
https://github.com/mgp25/SC-API/blob/master/src/snapchat.php#L1236
when I try