Skip to content

Detail Command Word ​

getAccountDetail ​

php
\FresnsCmdWord::plugin('Fresns')->getAccountDetail($wordBody);
Parameter NameTypeRequiredDescription
aidStringrequired
langTagStringoptionalText Specified Language
timezoneStringoptionalDate time specified in UTC timezone

getUserDetail ​

php
\FresnsCmdWord::plugin('Fresns')->getUserDetail($wordBody);
Parameter NameTypeRequiredDescription
uidNumberrequired
langTagStringoptionalText Specified Language
timezoneStringoptionalDate time specified in UTC timezone
authUidNumberoptionalInteraction status (like, dislike, follow, block) for uidOrUsername with this user request

getGroupDetail ​

php
\FresnsCmdWord::plugin('Fresns')->getGroupDetail($wordBody);
Parameter NameTypeRequiredDescription
gidStringrequired
langTagStringoptionalText Specified Language
timezoneStringoptionalDate time specified in UTC timezone
authUidNumberoptionalInteraction status (like, dislike, follow, block) for gid with this user request

getHashtagDetail ​

php
\FresnsCmdWord::plugin('Fresns')->getHashtagDetail($wordBody);
Parameter NameTypeRequiredDescription
hidStringrequired
langTagStringoptionalText Specified Language
timezoneStringoptionalDate time specified in UTC timezone
authUidNumberoptionalInteraction status (like, dislike, follow, block) for hid with this user request

getPostDetail ​

php
\FresnsCmdWord::plugin('Fresns')->getPostDetail($wordBody);
Parameter NameTypeRequiredDescription
pidStringrequired
langTagStringoptionalText Specified Language
timezoneStringoptionalDate time specified in UTC timezone
authUidNumberoptionalInteraction status (like, dislike, follow, block) for pid with this user request
typeStringoptional详情类型 list 或 detail,不传则默认为 detail
outputPreviewBooleanoptionalExclusive for list detail type, whether to output the preview comment list and liked user list
mapIdNumberoptionalIf the post has location information, it will calculate the distance between them when this parameter is passed
mapLngNumericoptionalIf the post has location information, it will calculate the distance between them when this parameter is passed
mapLatNumericoptionalIf the post has location information, it will calculate the distance between them when this parameter is passed

getCommentDetail ​

php
\FresnsCmdWord::plugin('Fresns')->getCommentDetail($wordBody);
Parameter NameTypeRequiredDescription
cidStringrequired
langTagStringoptionalText Specified Language
timezoneStringoptionalDate time specified in UTC timezone
authUidNumberoptionalInteraction status (like, dislike, follow, block) for cid with this user request
typeStringoptionalDetail type list or detail, default to detail if not provided
outputSubCommentsBooleanoptionalExclusive for list detail type, whether to output the preview sub-comment list
outputReplyToPostBooleanoptionalWhether to output the details of the related post
outputReplyToCommentBooleanoptionalIf it is a sub-comment, whether to output the details of the related post
mapIdNumberoptionalIf the post has location information, it will calculate the distance between them when this parameter is passed
mapLngNumericoptionalIf the post has location information, it will calculate the distance between them when this parameter is passed
mapLatNumericoptionalIf the post has location information, it will calculate the distance between them when this parameter is passed

Released under the Apache-2.0 License