Describes a single post of a TwisterUser.
- Source:
Methods
(inner) doPostRepliedTo(cbfunc, querySettings)
calls cbfunc with the post that this post is replying to.
Parameters:
| Name | Type | Description |
|---|---|---|
cbfunc |
function | |
querySettings |
Object |
- Source:
(inner) doPreviousPost(cbfunc, querySettings)
calls cbfunc with the previous post as argument. Queries the post if not in cache.
Parameters:
| Name | Type | Description |
|---|---|---|
cbfunc |
function | |
querySettings |
Object |
- Source:
(inner) doReplies(cbfunc, querySettings)
calls cbfunc for every post that is a reply to this post.
Parameters:
| Name | Type | Description |
|---|---|---|
cbfunc |
function | |
querySettings |
Object |
- Source:
(inner) doRetwistedPost(cbfunc)
Verifies and caches the retwisted post and calls cbfunc with it.
Parameters:
| Name | Type | Description |
|---|---|---|
cbfunc |
function |
- Source:
(inner) doRetwistingPosts(cbfunc, querySettings)
calls cbfunc with an array of the post that are retwisting this post.
Parameters:
| Name | Type | Description |
|---|---|---|
cbfunc |
function | |
querySettings |
Object |
- Source:
(inner) getContent()
returns the content of the post.
- Source:
(inner) getId()
returns the post id.
- Source:
(inner) getId()
returns the post id of the last post.
- Source:
(inner) getReplyId()
returns the id of the post that this post is replying to.
- Source:
(inner) getReplyUsername()
returns the username of the user to which this post is a reply.
- Source:
(inner) getRetwistedContent()
returns content of the rwteisted post
- Source:
(inner) getRetwistedId()
returns the id of the retwisted post.
- Source:
(inner) getRetwistedlastId()
returns the last id of the rewisted post.
- Source:
(inner) getRetwistedPost(cbfunc)
return an uncached and unverified TwisterPost object of the retwisted post.
Parameters:
| Name | Type | Description |
|---|---|---|
cbfunc |
function |
- Source:
(inner) getRetwistedTimestamp()
returns the timestamp of the retwisted post
- Source:
(inner) getRetwistedUser()
returns the username of the retwisted post.
- Source:
(inner) getTimestamp()
returns the timestamp of the post.
- Source:
(inner) getUsername()
returns the user that posted the post.
- Source:
(inner) getUsername()
returns the TwisterUser object of the user that posted the post.
- Source:
(inner) isReply()
returns true if the postis an reply.
- Source:
(inner) isRetwist()
returns true if the postis an rewtist.
- Source: