Multiple Facebook, Twitter share buttons in one page with custom image and title

后端 未结 3 1279
不知归路
不知归路 2021-02-06 06:31

I\'m creating a blog where the landing page will show 5 latest posts by default and each post will have a Facebook and Twitter share buttons on them.

I will need each of

3条回答
  •  面向向阳花
    2021-02-06 07:15

    It is fairly easy to do - you just associate to each of the buttons the URL of the post page instead the URL of the landing page.

    The implementation should be similar to the following (of course you should loop through your posts instead):

    
    
    
    

提交回复
热议问题