SocialiteProviders / Weibo

Licence: other
[READ ONLY] Subtree split of the SocialiteProviders/Weibo Provider (see SocialiteProviders/Providers)

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to Weibo

Spotify
[READ ONLY] Subtree split of the SocialiteProviders/Spotify Provider (see SocialiteProviders/Providers)
Stars: ✭ 13 (-64.86%)
Mutual labels:  oauth, social-media, socialite, oauth1, socialite-providers
Slack
[READ ONLY] Subtree split of the SocialiteProviders/Slack Provider (see SocialiteProviders/Providers)
Stars: ✭ 11 (-70.27%)
Mutual labels:  oauth, social-media, socialite, oauth1, socialite-providers
VKontakte
[READ ONLY] Subtree split of the SocialiteProviders/VKontakte Provider (see SocialiteProviders/Providers)
Stars: ✭ 82 (+121.62%)
Mutual labels:  oauth, social-media, socialite, oauth1, socialite-providers
Twitch
[READ ONLY] Subtree split of the SocialiteProviders/Twitch Provider (see SocialiteProviders/Providers)
Stars: ✭ 20 (-45.95%)
Mutual labels:  oauth, social-media, socialite, oauth1, socialite-providers
Twitter
[READ ONLY] Subtree split of the SocialiteProviders/Twitter Provider (see SocialiteProviders/Providers)
Stars: ✭ 21 (-43.24%)
Mutual labels:  oauth, social-media, socialite, oauth1, socialite-providers
Instagram
[READ ONLY] Subtree split of the SocialiteProviders/Instagram Provider (see SocialiteProviders/Providers)
Stars: ✭ 34 (-8.11%)
Mutual labels:  oauth, social-media, socialite, oauth1, socialite-providers
electron-oauth-helper
Easy to use helper library for OAuth1 and OAuth2.
Stars: ✭ 55 (+48.65%)
Mutual labels:  oauth, oauth1
erlang-oauth
An Erlang OAuth 1.0 implementation
Stars: ✭ 298 (+705.41%)
Mutual labels:  oauth, oauth1
oauth-provider-sample
A Spring Security OAuth provider, developed in my monograph about SSO and OAuth
Stars: ✭ 13 (-64.86%)
Mutual labels:  oauth, oauth1
Oauthswift
Swift based OAuth library for iOS
Stars: ✭ 2,949 (+7870.27%)
Mutual labels:  oauth, oauth1
Oauthlib
A generic, spec-compliant, thorough implementation of the OAuth request-signing logic
Stars: ✭ 2,323 (+6178.38%)
Mutual labels:  oauth, oauth1
Weixin
[READ ONLY] Subtree split of the SocialiteProviders/Weixin Provider (see SocialiteProviders/Providers)
Stars: ✭ 84 (+127.03%)
Mutual labels:  oauth, social-media
oauther
OAuth 1.0 for Elixir
Stars: ✭ 64 (+72.97%)
Mutual labels:  oauth, oauth1
Qq
[READ ONLY] Subtree split of the SocialiteProviders/QQ Provider (see SocialiteProviders/Providers)
Stars: ✭ 50 (+35.14%)
Mutual labels:  oauth, social-media
laravel-socialiter
Automatically manage user persistence and resolution for any Laravel Socialite provider.
Stars: ✭ 43 (+16.22%)
Mutual labels:  oauth, socialite
yii2-league-oauth2-server
Yii 2.0 implementation of PHP league OAuth2 server interfaces
Stars: ✭ 29 (-21.62%)
Mutual labels:  oauth
oauth2-wechat
微信登录认证授权 Wechat login authorization. This package provides Wechat OAuth 2.0 support for the PHP League's OAuth 2.0 Client
Stars: ✭ 18 (-51.35%)
Mutual labels:  oauth
laterpost
Simple Twitter Status update or social media post scheduling app built using Laravel and Vue.js
Stars: ✭ 41 (+10.81%)
Mutual labels:  social-media
subsocial-node
NOTE: Development continues in https://github.com/dappforce/subsocial-parachain repo. Subsocial full node with Substrate/Polkadot pallets for decentralized communities: blogs, posts, comments, likes, reputation.
Stars: ✭ 73 (+97.3%)
Mutual labels:  social-media
slide-social-buttons
Slide Social Buttons are a fun way to display your social media buttons.
Stars: ✭ 33 (-10.81%)
Mutual labels:  social-media

Weibo

composer require socialiteproviders/weibo

Installation & Basic Usage

Please see the Base Installation Guide, then follow the provider specific instructions below.

Add configuration to config/services.php

'weibo' => [    
  'client_id' => env('WEIBO_CLIENT_ID'),  
  'client_secret' => env('WEIBO_CLIENT_SECRET'),  
  'redirect' => env('WEIBO_REDIRECT_URI') 
],

Add provider event listener

Configure the package's listener to listen for SocialiteWasCalled events.

Add the event to your listen[] array in app/Providers/EventServiceProvider. See the Base Installation Guide for detailed instructions.

protected $listen = [
    \SocialiteProviders\Manager\SocialiteWasCalled::class => [
        // ... other providers
        \SocialiteProviders\Weibo\WeiboExtendSocialite::class.'@handle',
    ],
];

Usage

You should now be able to use the provider like you would regularly use Socialite (assuming you have the facade installed):

return Socialite::driver('weibo')->redirect();

Returned User fields

  • id
  • nickname
  • avatar
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].