# Share image on facebook

Integrating social media functionalities directly into your video content can significantly boost its reach and viewer engagement. By enabling viewers to share an image directly to Facebook with just a click, you create a more interactive and social experience. This feature can be particularly beneficial for promotional content, where shareability can enhance the visibility of your campaigns.

Here's how you can incorporate a direct image-sharing feature to Facebook within your video:

**Implementing the 'Open link connector' for Facebook Sharing:**

1. **Code Setup:**

   Utilize the 'Open link connector' to embed the following JavaScript code:

```jsx
jsxCopy code
const imageUrl = "https://placehold.co/512x512"; // Replace this URL with the image you wish to share
return `https://www.facebook.com/sharer/sharer.php?u=${imageUrl}`;

```

This code snippet is designed to create a URL that, when accessed, opens Facebook's share dialog with the specified image preloaded for sharing.

1. **Activation:**

   When a viewer interacts with the designated share element in your video, the embedded code triggers Facebook's share dialog, enabling them to share the image on their timeline effortlessly.

**Use Case Example:**

* **Event Promotion:** If your video is promoting an upcoming event, you can include an eye-catching promotional image that viewers can share to Facebook, increasing the event's visibility and potential attendance.

By embedding this straightforward code into your video, you empower viewers to share content directly to Facebook, enhancing the interactive experience and potentially increasing your content's reach and impact on social media.
