Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds twitter "related" tag #281

Merged
merged 4 commits into from
Mar 14, 2020
Merged

Conversation

pi0neerpat
Copy link
Contributor

Allows you to specify which accounts you want the user to follow, immediately after they share the tweet. Screenshot:

image

src/TwitterShareButton.ts Outdated Show resolved Hide resolved
Copy link
Owner

@nygardk nygardk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

@nygardk nygardk merged commit 77e335a into nygardk:master Mar 14, 2020
@Wellusioner
Copy link

image
When I click twitter share button, Nothing happens now.

@pi0neerpat
Copy link
Contributor Author

@Wellusioner can you post your code?

I just tried this with no issue on latest release 4.1.0

  <TwitterShareButton
        title="I'm planting trees without spending any money. Check out my grove 🌳"
        via="rtreesdapp"
        related={["rtreesdapp"]}
        url={window.location}
        hashtags={["treefi"]}
      >
        Share your grove
      </TwitterShareButton>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants