Anton Gildebrand
Anton Gildebrand

Reputation: 3707

Twitter and Pinterest social buttons parse on request

I have the code that Twitter and Pinterest have supplied for Tweeting or Pinning an item on my page. Now this is running a little slow, mainly because of there is a lot of social buttons to parse, so i thought i'd do it when they were needed instead.

With Facebook's API i could do it like this to parse a specific snippet

FB.XFBML.parse($mysnippet);

How can i do the same with the Pinterest and Twitter buttons? I can't seem to find any methods for doing this manually...

Upvotes: 1

Views: 181

Answers (1)

aghouseh
aghouseh

Reputation: 86

Twitter has a reparse function:

twttr.widgets.load();

Upvotes: 2

Related Questions