Skip to content

Include article title in tweets text when sharing with Twitter #134

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

Merged
merged 1 commit into from
Jul 30, 2019
Merged

Include article title in tweets text when sharing with Twitter #134

merged 1 commit into from
Jul 30, 2019

Conversation

lulzneko
Copy link
Contributor

This pull request adds functionality to the Twitter share on the SNS share button below the article.

This pull request will include the article title in the tweet when sharing the article on Twitter.
Currently, only the URL is included in the tweet, not the title of the article.
When the tweet template is displayed, it would be nice to include both the article title and the URL.

Also, when the tweet template is displayed, the article title will be in the selected state. This is a Twitter specification.
It is a function that allows users to easily delete the text written in the template (here, the title of the article).

Please refer to here also about the function of Twitter.
https://developer.twitter.com/en/docs/twitter-for-websites/tweet-button/overview

Thank you!

@yoshinorin yoshinorin self-assigned this Jun 28, 2019
@yoshinorin yoshinorin merged commit e48f37d into hexojs:master Jul 30, 2019
@yoshinorin
Copy link
Member

@lulzneko
Sorry too late. Thanks :)

Pikaurd pushed a commit to Pikaurd/hexo-theme-landscape that referenced this pull request Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants