What's the Google plus and Facebook equivalent of the Twitter share intent (https://twitter.com/intent/tweet) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What's the Google plus and Facebook equivalent of the Twitter share intent (https://twitter.com/intent/tweet)

I'm creating share buttons for a project I'm working on and I can't seem to find the same kind of url for facebook and Google. If it's in any way relevant here's my project https://codepen.io/OriginalName/pen/ZowoRB thanks in advance.

27th May 2018, 7:23 AM
Timothy
2 Answers
+ 6
Apparentely they don't have such API. I've been doing some research and managed to share the link of your code on both sites. But you want to be able to share the text of the quote, right? Facebook has the Share Dialog to enable sharing without extended permission but I haven't tested it yet, maybe you could give it a try: https://developers.facebook.com/docs/sharing/reference/share-dialog
30th May 2018, 7:48 AM
Pao
Pao - avatar
+ 2
Thanks for your help but I think I might only keep the Twitter button. I can't seem to be able to get the Facebook one to work and I'm not sure what else to.
1st Jun 2018, 10:12 PM
Timothy