Please develop the UI and front-end interface by yourself. Here is a list of several core data interfaces needed to develop such APPs;
It is strongly recommended that you use the front-end SDK of the "apifm" for development, which can save you the tedious process of connecting the interface documents yourself:
["SDK Description"](https://www.yuque.com/apifm/nu0f75/be7qa3)
There are three main data interfaces involved:
#Friend Management
## Add friends
```javascript
WXAPI.addFriend(token, uid)
```
## Read friend list
```javascript
WXAPI.friendList({ token: '0000', page: 1 })
```
## View friend information
```javascript
WXAPI.friendUserDetail(token, uid)
```
## Delete friends
```javascript
WXAPI.deleteFriend(token, uid)
```
# Moments
## Post to Moments
```javascript
WXAPI.momentsPublish({
token: '000',
})
```
## **Pull Moments timeline**
```javascript
WXAPI.momentsList({
token: '0000'
})
```
## **View Moments record details**
```javascript
WXAPI.momentsDetail(token, momentsId)
```
## **Delete Moments records**
```javascript
WXAPI.momentsDelete(token, momentsId)
```
# Delete a comment in Moments
```javascript
WXAPI.momentsDeleteComment(token, commentId)
```
## **Like in Moments**
```javascript
WXAPI.momentsLike(token, momentsId)
```
## **Moments comments**
```javascript
WXAPI.momentsComment(token, momentsId, uid, content)
```
## **Moments updates**
```javascript
WXAPI.momentsCommentLogs({
token: '000'
})
WXAPI.momentsLogsRead(token, logsIds)
```
#IMChat
## **Pull chat history with friends**
```javascript
WXAPI.userImList({
token: '0000',
uid: 'There is also a user number'
})
```
## **Send a message to a friend**
```javascript
WXAPI.userImSendmessage(token, uid, content)
```
## **Clear chat history**
```javascript
WXAPI.userImEmpty(token, uid)
```