https://github.com/codedwells/web-share-social
Sharing to the web simplified. Impliment share to social faster. More features comming soon.
https://github.com/codedwells/web-share-social
library share-api social-share social-share-button
Last synced: 2 months ago
JSON representation
Sharing to the web simplified. Impliment share to social faster. More features comming soon.
- Host: GitHub
- URL: https://github.com/codedwells/web-share-social
- Owner: Codedwells
- License: mit
- Created: 2023-02-08T07:11:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-28T10:13:23.000Z (over 2 years ago)
- Last Synced: 2025-02-06T21:14:47.864Z (4 months ago)
- Topics: library, share-api, social-share, social-share-button
- Language: CSS
- Homepage: https://codedwells.github.io/web-share-social/
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# web-share-social
Sharing to the web has never been easier. Currently this minilibrary supports\
sharing to Facebook, Twitter and LinkedIn.## Usage
Use of this library is pretty straight forward. Download the **web-share.js** file\
not forgeting the **web-share.css** file. With those two files you are set.### Installation
* Add the two files to your project folder.
* Link the js and css files as you normally would.
* Edit the web-share.js file following the example below\
and you will be set.```js
var share = new Wsshare();
// The first parameter would be your link. The second parameter would be your
// message.
share.handleShare({
URL: 'https://your.link.com',
Message: 'This is your message to the users.',
});
```* You are now set to share you content.
More **social media sites** and diffrent **icon themes** comming soon.