New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-social-plugins

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-social-plugins

Social Network SDK Components built with ReactJs

  • 2.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

React Social Plugins

npm version dependencies Status badge devDependency Status badge Downloads Paypal

Install

Install the component using NPM:

$ npm install --save react-social-plugins

Usage

Initialise module

import {
  LinkedinCompanyProfile,
  LinkedinFollowCompany,
  LinkedinLogin,
  LinkedinAddProfile,
  LinkedinProfile,
  LinkedinShare,

  TwitterButton,
  TwitterTweet
} from 'react-social-plugins';

Linkedin Plugins

Twitter Plugins

Linkedin Follow Company

Renders a "Follow" button for a company

<LinkedinFollowCompany
  companyId={12312312}
  counter="top" // Or "right"
  lang="en_US"
/>
Linkedin Login

Renders a "Sign in with LinkedIn" button

<LinkedinLogin
  apiKey="xxxxxxxxxxxxxx"
  authorize
  lang="en_US"
  onError={this.handleError}
  onSuccess={this.handleSuccess}
/>
Linkedin Add Profile

Renders a "Add to profile" button

<LinkedinAddProfile
  lang="en_US"
  task="CERTIFICATION_NAME" // Or "SCHOOL_NAME"
/>
Linkedin Profile

Renders a "Member profile" card

<LinkedinProfile
  lang="en_US"
  profileUrl="http://www.linkedin.com/in/praveenkumar-outlook"
  format="inline" // Or "hover"
  text="Praveenkumar K" // text to show in "hover" format
/>
Linkedin Company Profile

Renders a "Company profile" card

<LinkedinCompanyProfile
  lang="en_US"
  companyId={123123123}
  format="inline" // Or "hover"
  text="Company name" // text to show in "hover" format
/>
Linkedin Share

Render a "Share" button

<LinkedinShare
  apiKey="xxxxxxxxxxxxxx"
  authorize
  lang="en_US"
/>
Twitter Tweet

Renders the Tweet with the conversation

<TwitterTweet
  align='left'
  coversation='none'
  tweetId='xxxxxxxxxxxxxxxx'
  theme='light'
  width={325}
/>
Twitter Button

Renders the Tweet button to either Share, Mention or Hashtag

<TwitterButton
  target="/"
  text="Hello World"
  type="Share"
/>
<TwitterButton
  hashtags="one,two"
  target="username"
  text="Hello World"
  type="Mention"
  size="large"
  via="username"
/>
<TwitterButton
  hashtags="one,two"
  target="username"
  text="Hello World"
  type="Hashtag"
  size="large"
  via="username"
/>

License

MIT License

Keywords

FAQs

Package last updated on 07 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc