Friends Synchronization

If you would like to synchronize your friends, there are two simple solutions for this.

Switch on Friends Feature

Do not forget to switch on friends feature in AtomChat Admin Panel -> Settings -> General. Now Search for In Contacts tab, show & from the dropdown, you can select either All Online Friends Or All Friends (Online & Offline). Click 'Update' Button to save the changes.

Via Javascript

JS

Variable

Description

Mandatory

chat_friends

Comma separated UIDs of each friend

Yes

Note

To verify, visit the AtomChat Admin Panel -> Users -> User -> Edit to view the friends.

Via Restful API

You can use the Restful API to synchronize your users' friends list. Check out the Add Friends and Delete Friends APIs.