socialize / socialize-sdk-android

Socialize SDK for Android. An Android social sharing SDK for native apps.
www.getsocialize.com
Apache License 2.0
147 stars 57 forks source link

Making multiple 'like' requests to the same entity results in new entity objects being created #3

Closed jasonpolites closed 13 years ago

jasonpolites commented 13 years ago

Right now, if I perform the action that triggers the above code, then the EntityId changes each time. Is this expected? I'd expect the EntityId to be the unique identifier for the first String param that I pass to the like() function. If this is the case, then why am I seeing different Entity.getId() values every time I call like() on the same vanue.

Sample log cat messages of 'liking' the same venue multiple times but getting a different likeid and entityid each time:

07-19 00:15:21.978: DEBUG/SocializeAuthListener(15552): created like entity com.socialize.entity.Like@405d24c8. likeid =203867 entityid= 203867

07-19 00:15:23.078: DEBUG/SocializeAuthListener(15552): created like entity com.socialize.entity.Like@40698b88. likeid =203868 entityid= 203868

jasonpolites commented 13 years ago

https://www.pivotaltracker.com/story/show/15996381