Show avatar in the website

Add your suggestions for improving Poker Mavens

Show avatar in the website

Postby sands » Fri Jan 11, 2019 10:52 pm

Hi dear kent
how can i show players avatar in to the my website homepage by session id?
sands
 
Posts: 13
Joined: Fri Jan 15, 2016 4:09 pm

Re: Show avatar in the website

Postby sands » Fri Jan 11, 2019 10:53 pm

sands wrote:Hi dear kent
how can i show players avatar in to the my website homepage by session id?

or player name
sands
 
Posts: 13
Joined: Fri Jan 15, 2016 4:09 pm

Re: Show avatar in the website

Postby Kent Briggs » Fri Jan 11, 2019 11:22 pm

Call ConnectionsList in the API to get the list of all players logged in or ConnectionsGet to get the player name for a specific SessionID. Then call either AccountsList (for multiple players) or AccountsGet (for single player) to get their avatar index. The API docs in the help file has a section labeled "Avatars" near the top that shows how to display the avatars on your web site.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 4041
Joined: Wed Mar 19, 2008 8:47 pm


Return to Wish List

Who is online

Users browsing this forum: No registered users and 1 guest

cron