Copy code The code is as follows:
span>
Digression: Jump directly to the share button on the Facebook login page:
The url is: http://www.facebook.com/sharer. php?u=www.baidu.com&t=123213123
The u parameter is the link you want to share. It’s not clear yet what the t parameter does.
Implementation of Facebook sharing function:
Sharing page settings
1. A link: The parameter is the link of the page to be shared
Copy code The code is as follows:
2.fb recognized tags:
Copy code The code is as follows:
testtitle>
< ;meta property="og:description" content="test>" />
Note:
1.title fb can automatically read the title of the page to be shared. This needs to be set in the sharer.php parameter of fb
You can also set it yourself
Copy code The code is as follows:
2.The image tag can be written with multiple sharers and they can choose the image themselves
3.url is the page you want to share
4.description introduction information
Tip:
The pixels of the picture must be 100*100. In this format, I use 90*90, which is OK.
For example: 300*100 150*50 will be intercepted at www.facebook.com. The 90x90 image display is incorrect
If the image is too small, the pop-up box for sharing will not display your image. This happens when the image is smaller than 90x90.
http://www.bkjia.com/PHPjc/728112.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/728112.htmlTechArticleCopy the code as follows: span style=" font-family: Verdana, Arial, Helvetica, sans-serif; word -wrap: normal; word-break: normal; line-height: 19.5px;"span style="word-wrap:normal...