Comments (8)
👍
from social-share-button.
I have same issue
from social-share-button.
It looks like for Facebook, you have to use Open Graph Markup now:
https://developers.facebook.com/docs/sharing/webmasters
from social-share-button.
Any updates on this issue. I'm encountering the same problem for facebook?
from social-share-button.
@vrouth i used this fb debug tool https://developers.facebook.com/tools/debug/sharing/ and i got it working.
I had to add all these og attributes to my head tag
<meta property="fb:app_id" content="<%= Rails.application.secrets.facebook_app_id %>" />
<meta property="og:url" content="<%= request.original_url %>" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Title" />
<meta property="og:description" content="Description" />
<meta property="og:image" content="image full url" />
Also it seems to stop working if you have line breaks on your description.
from social-share-button.
Strange thing is that appending the title and description attribute to the sharer.php URL still works - see this answer for example http://stackoverflow.com/a/40319441
so patching https://github.com/huacnlee/social-share-button/blob/master/app/assets/javascripts/social-share-button.coffee#L38 to something like
SocialShareButton.openUrl("http://www.facebook.com/sharer.php?u=#{url}&title=#{title}&description=#{desc}", 555, 400)
would actually work. What do you think @huacnlee ?
from social-share-button.
https://developers.google.com/+/web/share/
In this page, I can't find any about custom option of Google+ share title.
Facebook just fixed by 0.8.7
from social-share-button.
how to share title text on google plus there is no any such thing also why there is no whats app share icon here?
from social-share-button.
Related Issues (20)
- How to specify the sharing link of Wechat separately?
- I have absolutely no idea what's wrong
- Links not working on Chrome
- Remove Google+
- Social-Share-Button visible but redirecting to same page HOT 2
- share function in gem still requires jQuery
- Email sharing not working
- File to import not found or unreadable: social-share-button. HOT 1
- Uncaught ReferenceError: SocialShareButton is not defined at HTMLAnchorElement.onclick HOT 15
- Meta Description not added while sharing on Linkein
- I18n.available_locales now contain all the locales defined in your gem
- Bundler::GemNotFound HOT 1
- Install documentation for Rails 6 HOT 18
- Facebook button's page says "Sorry, something went wrong" HOT 3
- Add support for webpacker HOT 2
- Facebook description not appearing after updating to 1.2.3
- Instagram Share button HOT 4
- Does this gem has any issue with Hotwire? HOT 1
- The request to scrape the URL timed out. HOT 1
- How can I use this with Rails 7 css-bundling? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from social-share-button.