SDK functional capabilities
masterThe Weibo SDK provides the following core functionalities:
1. Authentication & Authorization
Supports Oauth2.0 Web Authorization and SSO (Single Sign-On) Login. SSO allows users to log in by invoking the Weibo client. Note: SSO requires the Weibo client to be installed on the device.
2. Weibo Sharing
Allows sharing text, images, videos, and music. There are two modes:
- Third-party app invokes Weibo client: The standard method for most apps.
- Weibo client invokes third-party app: Requires specific cooperation/integration. Note: The SDK currently only supports sharing via the official Weibo client.
3. Login/Logout Controls
Provides two types of UI components:
- One-click login button
- Login/Logout button Both use the SSO login interface. Logout is handled via encapsulated OpenAPI interfaces.
4. OpenAPI
Provides a framework for calling Weibo services, including:
- Logout Interface: An authorization recovery interface to revoke user authorization.
- Invitation Interface: Allows logged-in users to send private message invitations or gifts to their Weibo followers.