FBMessangerShare
👨‍💻 Code
import { FBMessangerShareBtn } from "dv-social-share";
<FBMessangerShareBtn url="https://dv-social-share.vercel.app" appId="" />;
Output:
đź“– FBMessangerShareBtn Props
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the page to be shared. | âś… | |
appId | string | Facebook application id. | âś… | |
redirectUri | string | The URL to redirect to after sharing (default: the shared url). | ❌ | |
to | string | A user ID of a recipient. Once the dialog comes up, the sender can specify additional people as recipients. | ❌ | |
imgConfig | object | A imgConfig contains width, height & bgColor for the Image | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |