+ 3

I need help relating to social sharing

what is the code to make a button, so that the user will be able to share a particular thing (means sharing options from various social media window will pop up) when that button is pressed ? Only using html and css. Thank you guys.

28th Jan 2018, 10:52 AM
Jitesh Gupta
3 Answers
+ 3
Abdullah you didn't understand my question, take an example: see at top right corner of this Q&A Discussions page there is a sharing button, when that button is pressed then a pop up is displayed that whether u want to share using bluetooth or facebook or pinterest, etc..... So my question is, how to make that pop up appear which lets us share ??
28th Jan 2018, 12:47 PM
Jitesh Gupta
+ 1
For facebook: https://developers.facebook.com/docs/plugins/share-button For Google+: https://developers.google.com/+/web/share/ For twitter: https://dev.twitter.com/web/tweet-button You must need JavaScript. How are you even supposed to integrate a button without JavaScript or other scripting languages?
28th Jan 2018, 12:39 PM
Abdullah Omar Nasseef
Abdullah Omar Nasseef - avatar
0
The thing what are you asking for is called "Intent". This is relatively easy to implement in android applications (i don't know about iOS). However , you can still use intents in webpages or web applications. Check out the W3C link: https://www.w3.org/TR/web-intents/
28th Jan 2018, 2:12 PM
Abdullah Omar Nasseef
Abdullah Omar Nasseef - avatar