Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I add a Share to Threads button to my website?

Currently, Meta and Twitter provide ways to share a link to Facebook and Twitter from your website via a button the user can click on. How do I create a button for my users to share content to Instagram Threads?

Instagram documentation does not seem to include any details on sharing to threads.

like image 270
Emma K Alexandra Avatar asked Jan 18 '26 07:01

Emma K Alexandra


1 Answers

Shareaholic Share Buttons supports Threads.

Threads offers the following deeplink on Android and iOS which can pre-populate a post with some text, which Shareaholic incorporates:

barcelona://create?text=[yourtext]

(In case you're wondering, "Project 92" and "Barcelona" were the internal codenames of the Threads project at Meta.)

On desktop:

https://threads.net/intent/post?text=[yourtext]

You can add Threads to your website with the following code:

<a href data-app="share_buttons" data-app-config='{"service":"threads"}'>Share</a>

(assuming shareaholic.js is included on the page)

Alternatively, add the following to any DOM element:

data-app="share_buttons" data-app-config='{"service":"threads"}'

You can experience the desktop and app endpoints for yourself here.

Threads Share Button

Example resulting post:

threads.net sharing

like image 169
Jay Meattle Avatar answered Jan 21 '26 07:01

Jay Meattle