3 ms·
... I guess it's also because I'm using Rails, so I'm already generating links via a helper function. So I wrote another, one line helper that does the wrapping
by steveklabnik 16y ago
... I guess it's also because I'm using Rails, so I'm already generating links via a helper function. So I wrote another, one line helper that does the wrapping. So that initial 90 seconds is amortized over every new Like button I add, because I use like_url rather than link_to.
Also, often like buttons are used on something like stories, so you're only adding the code to one template, and now you have tons of like buttons all over.
- bbwharris 16y agoI chose to go the other route which takes even longer. Load the XFBML version, and include the open graph meta tags. I did the same thing that you did, wrapped it all in a like_url helper.