
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
lesca-facebook-share
Advanced tools
It use for share url to Facebook simply.
npm install lesca-facebook-share --save
install before DOM Render
import Facebook from 'lesca-facebook-share';
Facebook.install('facebook-app-id'); // get your id => https://developers.facebook.com/apps/
share with parameters
Facebook.share({
href: 'https://github.com/jameshsu1125/lesca-facebook-share',
quote: 'use share facebook api simply',
hashtag: 'lesca_facebook_share',
redirect_uri: window.location.href,
});
method | description | return |
---|---|---|
.install(uid: string) | initialize with uid | void |
.share({ href: string, hashtag: string, quote: string, redirect_url: string}) | parmaters |
parmaters | description | default |
---|---|---|
href: string | share url | |
hashtag: string | hashtag | void |
quote: string | quote | void |
redirect_url: string | redirect url (mobile necessary) | location.href |
FAQs
Simple facebook share
The npm package lesca-facebook-share receives a total of 0 weekly downloads. As such, lesca-facebook-share popularity was classified as not popular.
We found that lesca-facebook-share demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.