Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Like Issue #14

Open
luizcelso opened this issue Aug 20, 2016 · 1 comment
Open

Like Issue #14

luizcelso opened this issue Aug 20, 2016 · 1 comment

Comments

@luizcelso
Copy link

If I like 10 people, for example, the result is the same:

object(stdClass)[4]
public 'match' => boolean false
public 'likes_remaining' => int 100

Is it ok?

@skipperbent
Copy link
Owner

It seems like you are using the incorrect id for the user you are trying to like.

Please make sure only to like people/ids that are available when calling the recommendations method.

I just did a test and the response you want to receive when the like is alright is:

(Please note i've censored some of the ids).

object(stdClass)#130 (2) { ["match"]=> object(stdClass)#4 (16) { ["_id"]=> string(24) "xxx" ["closed"]=> bool(false) ["common_friend_count"]=> int(0) ["common_like_count"]=> int(0) ["created_date"]=> string(24) "2014-05-16T18:21:39.776Z" ["dead"]=> bool(false) ["last_activity_date"]=> string(24) "2014-05-16T18:21:39.776Z" ["message_count"]=> int(0) ["messages"]=> array(0) { } ["muted"]=> bool(false) ["participants"]=> array(2) { [0]=> string(24) "xxx" [1]=> string(24) "xxx" } ["pending"]=> bool(false) ["is_super_like"]=> bool(false) ["is_boost_match"]=> bool(false) ["following"]=> bool(true) ["following_moments"]=> bool(true) } ["likes_remaining"]=> int(100) }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants