0.1.20 • Published 9 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
9 years ago
0.1.19
9 years ago
0.1.16
9 years ago
0.1.15
9 years ago
0.1.14
9 years ago
0.1.13
9 years ago
0.1.12
9 years ago
0.1.11
9 years ago
0.1.10
9 years ago
0.1.9
9 years ago
0.1.8
9 years ago
0.1.7
9 years ago
0.1.6
9 years ago
0.1.5
9 years ago
0.1.4
9 years ago
0.1.3
9 years ago
0.1.2
9 years ago
0.1.1
9 years ago
0.1.0
9 years ago