Sina Weibo client
General request method for Weibo V2 Api via OAuth.
Parameters: |
|
---|---|
Returns: | The http response from SinaWeibo (a JSON compatible structure). |
NOTE: This method require authorization before invokation.
alias of SinaWeiboStatusMessage
Get home timeline
Parameters: | count – number of statuses |
---|
NOTE: This method require authorization before invokation.
update a status
- parameter text: the update message
- return: success or not
NOTE: This method require authorization before invokation.
reply to a status
- parameter text: the comment text
- return: success or not
NOTE: This method require authorization before invokation.
Forward a status on SinaWeibo:
- If message is from the same platform, forward it using special interface.
- Else, route the request to a general forward method of SNSBase.
- Decorate the text with previous comment sequence.
Parameters: |
|
---|---|
Returns: | Success or not |
NOTE: This method require authorization before invokation.
Tencent Weibo Client
alias of TencentWeiboStatusMessage
Get home timeline
- function : get statuses of yours and your friends’
- parameter count: number of statuses
NOTE: This method require authorization before invokation.
update a status
- parameter text: the update message
- return: success or not
NOTE: This method require authorization before invokation.
reply to a status
- parameter text: the comment text
- return: success or not
NOTE: This method require authorization before invokation.
Renren Client
docstring placeholder
docstring placeholder
docstring placeholder
docstring placeholder
docstring placeholder
docstring placeholder
A general purpose encapsulation of renren API. It fills in system paramters and compute the signature.
alias of RenrenShareMessage
docstring placeholder
Get timeline of Renren statuses
Parameters: | count – Number of statuses |
---|---|
Returns: | At most count statuses (can be less). |
NOTE: This method require authorization before invokation.
docstring placeholder
NOTE: This method require authorization before invokation.
alias of RenrenStatusMessage
Get home timeline get statuses of yours and your friends’ @param count: number of statuses
NOTE: This method require authorization before invokation.
update a status @param text: the update message @return: success or not
NOTE: This method require authorization before invokation.
reply status @param status: StatusID object @param text: string, the reply message @return: success or not
NOTE: This method require authorization before invokation.
Forward a status on Renren:
- If message is from the same platform, forward it using special interface.
- Else, route the request to a general forward method of SNSBase.
Parameters: |
|
---|---|
Returns: | Success or not |
NOTE: This method require authorization before invokation.
alias of RenrenBlogMessage
Get blog timeline
Parameters: | count – Number of blogs |
---|
NOTE: This method require authorization before invokation.
Post a blog
Parameters: |
|
---|---|
Returns: | success or not |
NOTE: This method require authorization before invokation.
Reply a renren blog
Parameters: |
|
---|---|
Returns: | success or not |
NOTE: This method require authorization before invokation.
RSS Feed
Override Message.dump_full because default .raw attribute of RSSMessage object is not JSON serializable.
Note: dumpped messages are meant for the consumption of other languages. We do not concern how to convert back. If you do that, make sure call str2obj on .raw yourself. Besides, make sure the source of the string is trustful.
For the use in Python, directly serialize the message for persistent storage. Do not recommend you use any of the three level of dump_xxx functions. Use of digest_xxx is OK.
a NULL stub.
read and parse RSS feed. pretend it to be a ‘special’ SNS platform, where you can only read your wall but can not write to it.
alias of RSSMessage
Get home timeline
Read/Write Channel for rss2
alias of RSS2RWMessage
Parameters: | message (Message or str) – For Message update it directly. RSS2RW guarantee the message can be read back with the same values in standard fields of Message.parsed. For str, we compose the virtual Message first using current time and configured author information. |
---|
Summary Channel for RSS
It provides more meaningful ‘text’ field.
alias of RSSSummaryMessage