如何在输入字段上添加自定义样式的Facebook /共享按钮? [英] How can I add a custom styled Facebook like / share button on an input-field?

查看:142
本文介绍了如何在输入字段上添加自定义样式的Facebook /共享按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不想使用普通的Facebook像按钮,所以如何添加一个/共享按钮到一个-Field?

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

推荐答案

不允许使用自定义样式按钮,请参阅品牌许可:

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

您只能使用自定义图形进行共享,但在您的情况下,无论如何也应该使用共享功能(Twitter按钮也可以共享)。
请参阅这里:如何在PHP中使用Facebook Sharer

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

...或使用FB.ui功能的Facebook的JavaScript SDK。但是在这种情况下,您也需要一个应用程序。

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

这篇关于如何在输入字段上添加自定义样式的Facebook /共享按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆