How can I add a custom styled Facebook like / share button on an input-field?

孤街浪徒 提交于 2019-12-22 13:46:08

问题


I don't want to use the normal Facebook like button so how can I add a like / share button to a -Field?


回答1:


It is not allowed to use a custom styled like button, see Brand Permissions:

https://www.facebook.com/brandpermissions/

https://www.facebook.com/brandpermissions/logos.php

You can only use a custom graphic for sharing, but in your case it would be more appropriate to use a share function anyway (the Twitter button is also for sharing). See here: How to use Facebook Sharer in PHP

...or use the JavaScript SDK of facebook with the FB.ui function. But in that case you would need an app too.



来源:https://stackoverflow.com/questions/13431249/how-can-i-add-a-custom-styled-facebook-like-share-button-on-an-input-field

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!