Share Buttons
Facebook Messenger

FBMessangerShare

👨‍💻 Code

import { FBMessangerShareBtn } from "dv-social-share";
 
<FBMessangerShareBtn url="https://dv-social-share.vercel.app" appId="" />;

Output:



đź“– FBMessangerShareBtn Props

PropsTypeDefaultDescriptionRequired
urlstringThe URL of the page to be shared.âś…
appIdstringFacebook application id.âś…
redirectUristringThe URL to redirect to after sharing (default: the shared url).❌
tostringA user ID of a recipient. Once the dialog comes up, the sender can specify additional people as recipients.❌
imgConfigobjectA imgConfig contains width, height & bgColor for the Image❌
openInNewTabbooleanfalseOpen share window in a new tab if set to true.❌