Forum Topic: APIs

Sharing data opens in new tab Jan 02, 2013 10:17PM PST


I am using FB and Twitter as sharing tools on my site. But I dont want them to open FB or twitter login in new tab of same window. What other parameter(s) should I include to open in a new small window?

Please help.

Up 0 Rated Down
ShareThis Support Jan 03, 2013 01:34AM PST ShareThis Agent

Sharethis widget is launched for sharethis and email buttons only. For the other sharethis buttons,selected service's login page is opened in a new tab .
This is as per design and there isn't any way to customize these buttons to launch a pop-up instead of a login page in a new tab.

Hope this answers your query.
The ShareThis Support Team,

Up 0 Rated Down Jan 03, 2013 09:53PM PST

Thanks for your response.

You mean always authentication and sharing will be done in a new tab of same window.
Okay... One more thing, how can we get correct and current share count for the respective service?

Up 0 Rated Down
ShareThis Support Jan 04, 2013 01:53AM PST ShareThis Agent
Hi Chitraganda,

1. You can add sharethis counter buttons to your site from here:

2. Please note that the count is tied to the URL of the page. If user switches fom one subdomain to another or starts using st_url property of span tag to point to a different url , counters get changed(based on url). When a new URL is detected the count starts from 0.

Also,we migrated to a new count service which now shows data only tracked by ShareThis (earlier we used a different ShareThis algorithm which included Shares from third party Channels as well). Due to this, you might see a drop in the count of ShareThis counter buttons on your website.
If you do not want to continue to use ShareThis counts, we offer the capability to use native counts. (Right now,this parameter works for the 3 services: facebook,linkedin and stumbleupon only )
You can use parameter: nativeCount:true

Please add it to the sharethis code like this:

<script type="text/javascript" src="">

<script type="text/javascript">stLight.options({

publisher:"Your publisher key", nativeCount:true



In order to show twitter native count, you will have to use the twitter native button:
<span class="st_twitter_hcount_native" ></span>
Sorry for the inconvenience.

If you have any queries, please feel free to ask.
The ShareThis Support Team,
Up 0 Rated Down
Celine Celine May 13, 2013 02:06AM PDT
Thank you very much for this wonderful forum that I find also very interesting with a nice interface, easy navigation. It is really great! Congratulations and good luck .

<b><a href="">Voyante gratuite par mail</a></b>
<b><a href="">Voyance sérieuse par telephone</a></b>
Up 0 Rated Down
ShareThis Support May 15, 2013 01:42AM PDT ShareThis Agent
Thank you Celine.

Please feel free to contact us if you have any queries.

The ShareThis Support Team,
Up 0 Rated Down Sep 01, 2014 02:51PM PDT

It would be great if the social network dialog could be able to open in a popup.
If it is posible now, please let me know how I can do this.

Up 0 Rated Down
ShareThis Support Sep 01, 2014 08:40PM PDT ShareThis Agent
You can add the "popup:true" and "servicePopup: true" parameters to your site code which will open the ShareThis in new window.
Below is the modified script tag which should be present on your site code:

<script type="text/javascript">stLight.options({publisher: "YOUR PUBLISHER KEY", popup:true, servicePopup: true});</script>

Please let us know if you face any issues during implementation.

Add a response

You need to login to post an answer. Click here to login