0.1.20 • Published 10 years ago
hoodie-plugin-chat v0.1.20
hoodie-plugin-chat
Dependencies
hoodie install hoodie-plugin-chat
for cordova/phonegap users
bower install hoodie-plugin-chat
Setup client
<script src="/_api/_files/hoodie.js"></script>
for cordova/phonegap users
<script src="<bowerdir>/hoodie/dist/hoodie.js"></script>
<script src="<bowerdir>/hoodie-plugin-chat/hoodie.chat.js"></script>
API (Dream Code)
- hoodie.chat.follow(login)
- hoodie.chat.unfollow(login)
- hoodie.chat.post({text: 'text'}, /opitional/ {type: mediaplugin.enum})
- hoodie.chat.getPost({id: 'postId')
- hoodie.chat.updatePost({id: 'postId',text: 'text'}, /opitional/ {type: mediaplugin.enum})
- hoodie.chat.deletePost({id: 'postId'}, /opitional/ {type: mediaplugin.enum})
- hoodie.chat.comment(postId, {text:'text'})
- hoodie.chat.updateComment({ id: 'postId'}, {id: 'commentId'})
- hoodie.chat.deleteComment({ id: 'postId'}, {id: 'commentId'})
- hoodie.chat.count(postId, type.enum)
- hoodie.chat.uncount(postId, type.enum)
- hoodie.chat.like(postId)
- hoodie.chat.unlike(postId)
- hoodie.chat.feed(postId)
- hoodie.chat.share(postId)
- hoodie.chat.abuse(postId)
- hoodie.chat.following(/opitional/ login)
- hoodie.chat.followers(/opitional/ login)
- hoodie.chat.getProfile(/opitional/ login)
- hoodie.chat.updateProfile(/opitional/ login, profileObject)
0.1.20
10 years ago
0.1.19
10 years ago
0.1.16
10 years ago
0.1.15
10 years ago
0.1.14
10 years ago
0.1.13
10 years ago
0.1.12
10 years ago
0.1.11
10 years ago
0.1.10
10 years ago
0.1.9
10 years ago
0.1.8
10 years ago
0.1.7
10 years ago
0.1.6
10 years ago
0.1.5
10 years ago
0.1.4
10 years ago
0.1.3
10 years ago
0.1.2
10 years ago
0.1.1
10 years ago
0.1.0
10 years ago