user3864398
user3864398

Reputation: 1

Call back after successful sharing of twitter and google plus

how to implement callbacks aftersuccessful sharing of twitter and google plus . The following urls am using to share Twitter: https://twitter.com/intent/tweet?url=your url, Google: https://plus.google.com/share?url=your url

Upvotes: 0

Views: 268

Answers (2)

abraham
abraham

Reputation: 47913

If you are opening those URLs in popups/new tabs there isn't any method of getting successful sharing callbacks. The best you can do is use the JavaScript SDKs the services provide and listen for intent by the user that they are going to share.

Twitter has events which can tell you when a user has clicked to tweet.

Google+ +1 button has onstartinteraction to tell you when the +1 widget has been opened.

Upvotes: 0

akhil viswam
akhil viswam

Reputation: 516

you better to open social links in a new tab using target="_blank".You can not redirect from a social url

Upvotes: 0

Related Questions