简体   繁体   English

有没有办法在unity / android中使用facebook sdk做一个类似的按钮?

[英]Is there a way to do a like button using the facebook sdk in unity/android?:

I have searched everywhere and can not find anything about using the facebook sdk for unity/android to do a like button. 我到处搜索,找不到关于使用Facebook sdk for unity / android做类似按钮的任何信息。

Is this feature not available yet? 这个功能还不可用吗? Or am I blind? 还是我瞎了?

赞按钮没有本地SDK支持,但是您可以尝试使用以下代码来集成该功能: https : //github.com/crowjdh/android-facebook-like-button-integration

The following Link should help you, Official Facebook Doku 以下链接应该对您有帮助, Facebook Doku官方网站
[EDIT] [编辑]
In the above Link you find an explanation of how you should "Post" a Like. 在上面的链接中,您可以找到有关如何“发布”喜欢的说明。
Also in the following Link you find all permissions, with user_likes in FB.LogInWithPublishPermissions() also FB.LogInWithReadPermissions you should be able to Post likes and somehow read them: Permissions 同样在下面的链接中,您可以找到所有权限,在FB.LogInWithPublishPermissions()user_likes中可以找到FB.LogInWithReadPermissions您应该可以发布喜欢并以某种方式读取它们: 权限

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM