Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [BUG] FacebookGetFriends() & FacebookGetFriendsCount ()

Author
Message
JohnnyMeek
11
Years of Service
User Offline
Joined: 23rd Apr 2013
Location: Slovenia
Posted: 8th Jan 2017 10:34 Edited at: 8th Jan 2017 10:39
Just testing this in v2.21 and found that for my test user who has one friend, FacebookGetFriendsCount () return 0 on the first call, and then increases by one each subsequent call.

It returns the same Facebook user ID for every friend index.

I'm using the code from the online docs example.



I guess this might be intended behaviour as the list gets appended on each call?
JohnnyMeek
11
Years of Service
User Offline
Joined: 23rd Apr 2013
Location: Slovenia
Posted: 8th Jan 2017 14:35
OK, so I guess this is an issue.

If you logout of Facebook and the log back in, FacebookGetFriends() appends and doesn't reset.
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 8th Jan 2017 17:05
I assume this is on iOS, if so then I've fixed it for the next version.
JohnnyMeek
11
Years of Service
User Offline
Joined: 23rd Apr 2013
Location: Slovenia
Posted: 9th Jan 2017 07:48
Thanks Paul.

Any chance that I could get a temp player with this fix? It's vital to my next release and I don't want to wait until the next release cycle.

RickV
TGC Development Director
24
Years of Service
User Offline
Joined: 27th Apr 2000
Location: United Kingdom
Posted: 9th Jan 2017 09:17
@JohnnyMeek - we're releasing the new version today!
Development Director
TGC Team
haliop_New
User Banned
Posted: 9th Jan 2017 12:17
ohhh yes yes YES YES YES YES YES NEW VERSION !!!!!!!!!!!!!!!!!!!!!!!

Login to post a reply

Server time is: 2024-09-29 21:23:53
Your offset time is: 2024-09-29 21:23:53