Questions tagged [react-share]

38 questions
10
votes
0 answers

react-share image not showing when shared

in my all my share-buttons my images are not showing just the url in my my public folder html header and in my details component i am using…
R.Ovie
  • 323
  • 4
  • 14
6
votes
3 answers

How to share a dynamically generated image from react with react-share?

I have a react app which generates images on the front end dynamically using Plotly.js. I'd like to add image sharing functionality. I am trying to use react-share for this. Social platforms require image URL for image sharing and do not support…
Poliakoff
  • 1,592
  • 1
  • 21
  • 40
6
votes
2 answers

React share contents on social media

Dear stack over flow community. I am building a react app using create react app where I will show a random joke fetched from an external API. Here is the code for react component import React from "react" function Home(props) { …
yuki
  • 199
  • 1
  • 2
  • 11
5
votes
0 answers

linkedin sharing is giving me a content security policy when using react-share

I am getting an error that shows the error below when using an NPM package react-share. Refused to load manifest from 'https://static-exp1.licdn.com/sc/h/8ekldmhv4d8prk5sml735t6np' because it violates the following Content Security Policy directive:…
5
votes
1 answer

share image on social network using react.js react-share

I am trying to share images and video on social media ( mostly FB,twitter,linkedIn )in reactjs app , have added react-helmet for the same but still unable to share image below is the link which i am referring and my…
user4582995
  • 123
  • 2
  • 13
5
votes
1 answer

react-share util.inherits is not a function webpack 2

i have the next error when i try to include react-share in my app, all compile fine and if i go to another routes where no is loading this library works fine, but when i include it crash. TypeError: util.inherits is not a function i am using…
4
votes
1 answer

React-share LinkedIn

By the way, I asked this question yesterday, but did not get the desired result. I am trying to set sharing messaging via LinkedIn. I understand that to work your parameters have to be encoded. For example I made the…
Max
  • 781
  • 7
  • 19
4
votes
4 answers

How to implement share to twitter with react js

I want to let users share images from my website to twitter. I used this module react-share to implement this.But it doesn't give an option to share images. My code looks likes this. import { ShareButtons, ShareCounts, generateShareIcon, } from…
Goutham
  • 352
  • 2
  • 4
  • 14
3
votes
0 answers

Getting 404 error with react-share and next.js

I have built an app with next.js. Some pages are built dynamically with getStaticProps and getStaticPaths. I'd like the user to be able to share the page on Social media. I am using react-share module for that. The module works fine with Twitter but…
FabriceD
  • 31
  • 1
3
votes
4 answers

react-share can't share LinkedIn article

I tried to share article current URL to social media such as Facebook, Twitter & LinkedIn using react-share package. I have some issues at share the page: (URL:…
farisabun
  • 123
  • 1
  • 8
2
votes
2 answers

Pinterest share button functionality not working using react-share library

I use this component to share blogs.I use facebook,twitter,linkedin and pininterst components using react-share.But when i click on…
Britto Thomas
  • 21
  • 1
  • 1
2
votes
1 answer

How can I use react-share with SpeedDial of Material UI?

I'm trying to make a SpeedDial of social share buttons with React, react-share and SpeedDial from Material UI, but react-share requires that I use its buttons. I have the following SpeedDial code: const actions = [ {icon:
2
votes
1 answer

How to share image on twitter using react-share in reactjs

I am not able to share image on twitter using react-share. My code is :
rajatgalav
  • 329
  • 1
  • 6
  • 19
1
vote
0 answers

npm package: react-share - Not able to share images in social media platforms

Problem Statement: When user clicks share button icon-> options: whatsapp, twitter, etc... react-share npm has URL and Title as options to their Share buttons. Ex: WhatsappShareButton and others.. I am only able to share "base64 string" format in…
1
vote
0 answers

i am not getting whatsapp, telegram icon in react-share-social npm

I am building an application in which we can share post on social media too. I am using react-share-social. "facebook", "twitter", "linkedin" and a few icons are displaying but "whatsapp" and "telegram" icons are not displaying on web page. I tried…
1
2 3