Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
react-social-kr
Advanced tools
React social buttons and counts for Facebook, Pinterest, Google, Naver, KaKao etc ...
Simple React components for social (Facebook, Google, VKontakte, Pinterest ...) buttons and counts. Plus, Korean SNS supports (Naver Blog, KaKao Talk, KaKao Story ...)
Original Source from react-social. Thanks to Ola Holmström and all contributors.
npm install react-social-kr --save
import { FacebookButton, FacebookCount } from "react-social-kr";
@connect(
(state, ownProps) => ({
pathname: ownProps.location.pathname
}), {})
class App extends Component {
render {
const { pathname } = this.props;
return (
<FacebookButton pathname={pathname} appId={appId}>
<FacebookCount pathname={pathname} />
{" Share " + pathname}
</FacebookButton>
);
}
}
WARNING: GooglePlusCount
, TwitterCount
and PocketCount
uses the
donreach API which has a limit
of 1000 request per day, if you have an alternative please do not hesitate
to make a PR
Change the element the component renders into, default is span
.
The pathname you want to get the count of, default is window.location
.
Optional access token.
Callback for when the count is updated. Callback takes one argument count
.
Return the social count.
Change the element the component renders into, default is button
.
The pathname you want to share, default is window.location
.
The target you want to open, default is _blank
.
Pass options to window.open
.
A message that's prepended before the url.
Title of your shared content.
Url of an image.
Facebook app id.
Facebook has 2 different share dialogs. By default we're showing Feed
Dialog which has more options, but supports only sharing to user's
feed. You can set sharer
option to true
and we'll show Share Dialog
where user can choose between their feed and also pages they have
access to.
KaKaoTalk JavaScript api key.
There are no styles included, the components pass all their props down
to their element like className
and style
so you can easily style
them yourself.
GooglePlusCount
, TwitterCount
and PocketCount
uses the donreach API which has a limit of 1000 requests per day.MIT Licensed
1.1.2 (2017-06-26)
FAQs
React social buttons and counts for Facebook, Pinterest, Google, Naver, KaKao etc ...
The npm package react-social-kr receives a total of 9 weekly downloads. As such, react-social-kr popularity was classified as not popular.
We found that react-social-kr demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.