hoodie install hoodie-plugin-chat
for cordova/phonegap users
bower install hoodie-plugin-chat
<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>
- 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)