Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

Undefined property: stdClass::$country_code #176

Closed
mzahlag opened this issue Aug 26, 2015 · 2 comments
Closed

Undefined property: stdClass::$country_code #176

mzahlag opened this issue Aug 26, 2015 · 2 comments

Comments

@mzahlag
Copy link

mzahlag commented Aug 26, 2015

Using findFriends($friends) function yields following output in console, and it returns empty list.

PHP Notice:  Undefined property: stdClass::$country_code in C:\php\snappy\src\snapchat.php on line 1102
Notice: Undefined property: stdClass::$country_code in C:\php\snappy\src\snapchat.php on line 1102

Code

$friends = array(
    "NumberOne" => "123456789",
    "NumberOne" => "123456789"
);
$friends = $snapchat->findFriends($friends);
print_r($friends);
$snapchat->closeAppEvent();
@mzahlag
Copy link
Author

mzahlag commented Aug 28, 2015

Problem is that $friends array returned by findFriends is empty

@mgp25
Copy link
Owner

mgp25 commented Aug 29, 2015

@mzahlag thanks for noticing i'll fix this in a while 😄

@mgp25 mgp25 closed this as completed in b6e1bc4 Aug 30, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants