0

Is it possible to add a button like the nice one done by ThinkingStiff in the example here ?

That one is designed to be used on Tumblr pages. I'd like to get the same functionality on a page that is outside of Tumblr.

Yes, I already have a method to get the {ReblogURL} and the {PostID} values it needs.

Thanks for your help!

4

1 に答える 1

0

あ、自己解決しました。元のコードで{ReblogURL}andを置き換えるだけです:{PostID}

<div class="my-like" data-reblog="{ReblogURL}" data-id="{PostID}" title="Like"></div>

新しい vars (取得に使用する方法から) を使用し、その div を置き換えます。

例:

<div class="my-like" data-reblog="3Pbn6aNA" data-id="12345678901" title="Like"></div>

: これらの変数は、ライブの Tumblr 投稿ではありません。

于 2012-07-10T05:16:46.870 に答える