bradvin / social-share-urls Goto Github PK
View Code? Open in Web Editor NEWSocial Share URLs
License: BSD 3-Clause "New" or "Revised" License
Social Share URLs
License: BSD 3-Clause "New" or "Revised" License
Just tested the viber example that is already there, and it works just fine ;)
Can some on can add signal share button
This will require updating the README.md docs and updating the code to reflect any changes to the docs.
From the research I've done, it would appear LinkedIn no longer supports the sharing URL and requires Oauth and POST request to generate a post.
Here's their docs: https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/share-on-linkedin
can I share selected text to linkedin?
thank you
I just found this repo and I love it. I noticed though that the format for mailto
links is done in a way that is not fully compatible with Gmail; you'll only get the subject or the body, never both, whichever is first in the URL. This StackOverflow answer of mine documents how it can be made fully compatible with Gmail and other clients, with a really terrible hack that shouldn't be necessary.
I don't have time to do a PR right now since there are so many languages in here, but maybe someone else can, or maybe I will someday.
On https://github.com/bradvin/social-share-urls#whatsapp:
Test Notes : wa.me does not work unless a phone_number is supplied, so, for this reason, we are suggesting users use the api.whatsapp.com format.
wa.me links now work even without a phone number. This way the user can use the web app if the wa app is not installed:
https://faq.whatsapp.com/5913398998672934/
Hi there, using this:
https://www.linkedin.com/sharing/share-offsite/?url={url}
I get the LinkedIn error page:
"Something went wrong
Refresh the page"
How to send a PDF file to whastapp ?
There are additional params for sharing to Y.Collections:
url
Link to the source page.image
Link to image of the page (required parameter).description
Image description.So final Y.Collections share URL looks like:
https://yandex.ru/collections/share/?url={url}&image={img}&description={desc}
.
Hi,
in the PHP-Class is the Pinterest-Key of the NiceNames-Array (Line 28) "pinterest.com".
Shouldn't it be just "pinterest", because the Keys in the other Arrays are only "pinterest"?
A good deal of testing and development has been done with a few other repos based on social sharing. May as well crosscheck the lists and see what can be found.
https://github.com/ellisonleao/sharer.js/blob/master/sharer.js
As per this repository's readme documentation, Facebook should support the redirect_url
query parameter.
But as per the official documentation the expected query parameter is redirect_uri
.
After some manual tests, I confirm that the working parameter is redirect_uri
.
See here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent
The fixed escaping function would be:
function fixedEncodeURIComponent(str) {
return encodeURIComponent(str).replace(/[!'()*]/g, function(c) {
return '%' + c.charCodeAt(0).toString(16);
});
}
BTW: thank you for this awesome project!
Please add Social Sharing URLs for Surfingbird, WordPress, Flickr, Foursquare, meetup, DeviantArt and BufferApp.
BufferApp:
http://bufferapp.com/add?text=[post-title]&url=[post-url]
WordPress:
http://wordpress.com/press-this.php?u=[post-url]&t=[post-title]&s=[post-desc]&i=[post-img]
What for Surfingbird ???
.
It is worked earlier: https://wa.me/?text=text
, but at the moment it is not working anymore.
If i add phone number in this link, then everything is alright: https://wa.me/8976?text=text
.
This big link https://api.whatsapp.com/send?text=text
works without phone number.
.
.
Hello,
You could add Microsoft Teams as a new target :
Link only : https://teams.microsoft.com/share?href={url}&msgText={title}&preview=true
API : https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/share-to-teams
I'm not sure if this is documented anywhere officially, but Substack Notes has a share URL scheme:
https://substack.com/notes?action=compose&message=hello
The message
parameter can include URI-encoded URLs, and creates a popup that looks like this:
Is it possible for us to get a share callback?
When i open g+ share url, it says error occurred
https://gist.github.com/HoldOffHunger/1998b92acb80bc83547baeaff68aaaf4#gistcomment-3272848
Hi. And thanks you for this very awesome tool. While implementing sharing buttons on my website, I noticed that Evernote only accepts HTTPS requests now, as HTTP requests raise a 403 error. So you might want to update the list.
This works for whatsapp:
<a href="https://api.whatsapp.com/send?text=www.google.com" data-action="share/whatsapp/share">Share via Whatsapp web</a>
This now works: https://faq.whatsapp.com/en/android/26000030/?category=5245251
Digg Link is Broken, remove it.
The LinkedIn link doesn't seem right.
Ref: https://developer.linkedin.com/docs/share-on-linkedin > How would you like to Share on LinkedIn? > Customized URL
.
It working on PC. But not working on mobile (IOS, Android). It can't add text when shared line in android and ios.
After click button line shared, auto start line app. Although add text into url. But it none display on line timeline. There is link only.
Please tell me why and how to fix it. Thankyou!
.
Hey guys, are you planning to add support for Tiktok and Discord?
Regards!
Hi, is it possible to add a share for instagram?
Best regards.
You know, this kind'a thing: https://www.revoltlib.com/new-social.html
Getting error You can’t perform that action at this time.
Is anyone else facing this?
WhatsApp offers advanced sharing features. And, these work for WhatsApp Web as well.
Source: https://faq.whatsapp.com/en/android/26000030/?category=5245251
This is an awesome project! I think you’ll get a lot more longevity out of the code if you separate the UI component and the URL generation stuff into separate node modules / repositories though.
That way someone could still use the URL stuff without needing the UI piece.
Anyway, just a suggestion—feel free to close if you’re not interested in doing that—love the project!
should be https://lineit.line.me/share/ui?url={url}
. http://line.me/R/msg/text/?{url}
is not working.
I may be wrong but it seems NewsVine is no longer working.
Possible support for WhatsApp Web depends on browser detection (mobile / browser) see:
Strange error (api.whatsapp.com redirect Firefox, Opera, IE and Edge to mobile protocol [whatsapp://])
https://webapps.stackexchange.com/questions/106145/whatsapp-link-with-phone-number-doesnt-open-whatsapps-web-app
Based on detection: rewrite api.xxx.xxx to web.xxx.xxx (it's work)
In some scenarios the "pop-up" may be blocked ... maybe a "link" option is less blocking.
But this approach has its particularity in Firefox:
If is Firefox, append to
<body>
before trigger "click" Event
https://stackoverflow.com/questions/32225904/programmatical-click-on-a-tag-not-working-in-firefox
Add new services:
{
name: 'G-Bookmarks',
class: 'google',
url: 'https://www.google.com/bookmarks/mark?op=edit&bkmk={url}&title={title}&annotation={desc}&labels={tags}'
},
{
name: 'Flattr',
class: 'flattr',
url: 'https://flattr.com/submit/auto?user_id={account_id}&url={url}&title={title}'
},
{
name: 'EchoJS',
class: 'echojs',
url: 'http://www.echojs.com/submit?u={url}&t={title}'
},
{
name: 'Hacker News',
class: 'hackernews',
url: 'https://news.ycombinator.com/submitlink?u={url}&t={title}'
},
{
name: 'Mail',
class: 'mail',
url: 'mailto:[email protected]?subject={title}&body={desc}'
}
Mobile options like Viber are only effective if they are launched in a "mobile" navigation ... it does not make sense to be available in a "desktop" nagation because they will not lead anywhere (I think).
I did something derived ... if you want to take a look: https://subversivo58.github.io/lab/social-share-link.html
It working on PC. But not working on mobile (IOS, Android). It can't add text when shared line in android and ios.
After click button line shared, auto start line app. Although add text into url. But it none display on line timeline. There is link only.
How can fixed?Please.
This code works perfect on desktop devices .
It saves pin and description with it.
<a data-pin-do="buttonBookmark" data-pin-lang="en" href={
https://www.pinterest.com/pin/create/button/?url=${url}&medial=${imageURL}&description=${encodeURIComponent(pinterestDescription)}`}
style={{textDecoration:"none", color:"inherit"}}
>
`
But on mobile devices, it does not show description. I am only able to see image without any note or description.
And on desktop, it has description as well
Please help if anyone could do.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.