# Tweet button is sharing the page and not quotes - Problem solved

**URL:** <https://forum.freecodecamp.org/t/tweet-button-is-sharing-the-page-and-not-quotes-problem-solved/53001>\
**Category:** I Built This\
**Created:** [November 7, 2016, 8:47pm UTC](https://forum.freecodecamp.org/t/tweet-button-is-sharing-the-page-and-not-quotes-problem-solved/53001 "2016-11-07T20:47:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![zsoltime](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/zsoltime/32/4252_2.png) [@zsoltime](https://forum.freecodecamp.org/u/zsoltime)\
**Post date:** [November 7, 2016, 8:59pm UTC](https://forum.freecodecamp.org/t/tweet-button-is-sharing-the-page-and-not-quotes-problem-solved/53001/2 "2016-11-07T20:59:50Z")

</div>

I think this post could help you:

> **[Having a bit of trouble with tweet javascript](https://forum.freecodecamp.org/t/having-a-bit-of-trouble-with-tweet-javascript/50806/2)**
>
> Adding a Twitter button is quite easy as you can simply create a link with your URL-encoded quote added to your link’s href attribute. Obviously, you need to update this every time you generate a new quote. The link looks like this: ...

You should use [web intents](https://dev.twitter.com/web/tweet-button/web-intent) instead

---

_[View the full topic](https://forum.freecodecamp.org/t/tweet-button-is-sharing-the-page-and-not-quotes-problem-solved/53001)._
