Sina Weibo SDK API documentation

Source: Internet
Author: User
Tags comments documentation oauth
API Documentation

Important: Newly created apps need to be audited by using OAuth2.0 and the new version of the interface. New Interface Migration Guide new Interface Documentation OAuth2.0 Development GuideWeibo basic Data Interface (Rest API) get the downstream data set (timeline) interfaceStatuses/public_timeline get the latest public Weibo message Statuses/friends_timeline get the latest Weibo message for the current logged-on user and the user they are interested in (alias: Statuses/home_timeline) Statuses/user_timeline get a list of Weibo messages posted by users statuses/mentions get the current user's Weibo list statuses/comments_timeline get the list of comments sent and received by the current user Statuses/comments_by_me get comments from current user Statuses/comments_to_me get comments received by current user statuses/comments returns a list of comments for a microblog message based on the Weibo message ID Statuses/counts number of comments and forwards in bulk for a group of Weibo Statuses/repost_timeline returns the latest N-messages for an original microblog new! Statuses/repost_by_me returns the latest N Weibo information forwarded by the user new! Statuses/unread gets the number of unread messages for the current user statuses/reset_count unread 0 interface Emotions Emoticons interface, get emoticons listWeibo access InterfaceStatuses/show get a single microblogging message based on ID user/statuses/id jump to a Weibo page based on the Weibo ID and user ID statuses/update post a microblog message updated! Statuses/upload upload a picture and post a Weibo message Statuses/destroy delete a Weibo message statuses/repost forward a microblog message updated! Statuses/comment comments on a Weibo message updated! Statuses/comment_destroy/:id Delete the current user's Weibo comment statuses/comment/destroy_batch bulk delete the current user's Weibo comment information statuses/reply Reply to the Weibo comment information updated!user InterfaceUsers/show access to user profiles (authorized users) based on user ID statuses/friends get user watchlist and each user who is interested in the latest Weibo statuses/followers get a list of users ' fans and the latest Weibo users for each fan user /hot get system recommended user User/friends/update_remark Update the note information of a friend who is currently logged on to the user new! Users/suggestions returns users who may be interested in the current user beta!Focus on InterfacesFriendships/create focus on a user Friendships/destroy to cancel the attention friendships/exists whether to pay attention to a user (recommended use friendships/show) friendships/show Get more information about two user relationshipsTopic Interface beta!Trends get someone's topic trends/statuses get a tweet on a topic trends/follow focus on a topic Trends/destroy cancel a topic of concern trends/hourly return to hot Topics by the hour trends /daily return to the hottest topic of the day. Trends/weekly return to the hot topic of the week.Social Graph InterfaceFriends/ids Get user Focus object UID list Followers/ids get user fan object UID listprivacy Settings interface [NEW]Account/update_privacy Set Privacy information account/get_privacy get privacy informationblacklist interface [NEW]Blocks/create a user into the blacklist blocks/destroy a user out of the blacklist blocks/exists detect whether a user is a blacklist user blocks/blocking List of blacklisted users (output user details) blocks/ Blocking/ids List of paginated blacklisted users (output ID only)user Tag interface [NEW]Tags returns the label list for the specified user tags/create add user tag tags/suggestions return the label of interest to the user Tags/destroy Delete label tags/destroy_batch bulk Delete labelAccount InterfaceAccount/verify_credentials Verify that the current user identity is legitimate account/rate_limit_status get the current user API Access frequency limit account/end_session The current user to log out Account/update_profile_image Change your avatar account/update_profile Change your profileFavorite InterfaceFavorites get the current user's favorite list favorites/create add favorite Favorites/destroy Delete the current user's favorite microblog information Favorites/destroy_batch Bulk Delete favorite Weibo informationshort-Link interface [NEW]Short_url/shorten one or more long links to a short link short_url/expand restores one or more short links to the original long link short_url/share/counts Get a short link on Weibo share number (including original and forwarded tweets) Short_url/share/statuses get the latest microblogging content with a single short link specified short_url/comment/counts Get a short link on Weibo comments on microblog short_url/comment/comments get the latest Weibo comments with a single short link specifiedLogin/oauth InterfaceOAuth OAuth Authorization Method Introduction Oauth/request_token Get Unauthorized request token Oauth/authorize requesting user authorization token Oauth/access_token get authorized access Token

Login/oauth 2.0 Interface Oauth2/access_token Get authorized access token Oauth2/authorize Request user authorization token Weibo geolocation information interface

Have any questions, please contact @ Sina MapMap Engine interface [NEW]MAP-JS is a map engine written in the JS language that you can use to build a rich, interactive map application on your website.POI Data Search interface [NEW]Pois/keyword searches based on keywords and/or classifications, returns relevant POI point information Pois/round searches near a center point based on keywords and/or classifications, returns relevant POI point information pois/view based on keywords and/or classifications, Search in a rectangle to return the relevant POI point informationPOI Data processing interface [NEW]Pois/add_poi added POI data pois/get_poi get new POI dataMobile Location interface [NEW]Loc/get_location return to the current location based on other data such as base station, WIFI, etc.address Translation interface [NEW]Geocode/ip_to_geo return geographic information based on IP Geocode/address_to_geo interface that returns coordinates based on address geocode/geo_to_address returns address information based on coordinatesDriving route Search interface [NEW]Navigation/route Drive Route EnquiryBus Search interface [NEW]Bus/transfer Search Bus transfer route Bus/line line name Search bus/station Bus site name search based on start ID or coordinatesSpatial Computing interface [NEW]Distance/distance_point calculate the distance between two points on the map Distance/distance_po_li calculate the nearest distance from the map (x, y) to the line distance/distance_line calculate the length of the map's linestatic Map interface [NEW]Base/get_map_image generate a picture of a static maplocation information interface error codes and explanationsLocation/error location information interface error codes and explanationsTest InterfaceHelp/test Test InterfaceAppendix Rest API Field DescriptionStatus Weibo information user profile information Comment Comment Information description direct_message private message Information Province City Code table Metadata meta-data new!Geographic Information field DescriptionLocation/citycode City Code Correspondence table Location/citycode_bus bus City Code table location/category Classification code table


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.