简体   繁体   English

Android Facebook unity 5.0.3插件问题

[英]Android Facebook unity 5.0.3 plugin issues

I am getting two issues with this plugin. 我收到此插件的两个问题。

1: When I call this code below I get an API error code of 1 inside the Facebook dialog. 1:当我在下面调用此代码时,在Facebook对话框中得到的API错误代码为1。

FB.Feed (linkName: "Space Bird", linkCaption: "I just made the distance of " +pdist+"km! How far can you go?", link: "https://play.google.com/store/apps/details?id=wms.app.spacebird");

Is there something wrong with it? 这有什么问题吗?

2: On my Facebook account in my app, the sharing button works, but if I use someone else's account, it shows the dialog that this app will like to post on your behalf (or something like that) and if you hit OK, it disappears. 2:在我应用程序的Facebook帐户上,共享按钮有效,但是如果我使用其他人的帐户,则会显示该应用程序想要代表您(或类似内容)发布的对话框,如果您单击确定,它将显示消失。

This is what I got for debug for that: 这是我为调试而得到的:

02-21 14:40:26.350: V/FBUnitySDK(5497): sending to Unity OnLoginComplete({"cancelled":true,"key_hash":"keyhashhere"})
02-21 14:40:26.840: V/FBUnitySDK(5497): sending to Unity OnFeedRequestComplete({"error":"not logged in"})

And yes, I do have the correct keyhash on Facebook. 是的,我在Facebook上确实有正确的密钥哈希。

So, what should I try for both of these issues? 那么,对于这两个问题,我应该尝试什么?

#1: #1:

There is a bug on our side, and we will try to fix it as soon as possible. 我们这边有一个错误,我们将尝试尽快修复它。

If your link contains dots in get parameters, the feed will fail. 如果您的链接在get参数中包含点,则供稿将失败。

One of the temporary workarounds is to use a URL shortener . 临时的解决方法之一是使用URL缩短器

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

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