@lovestevevai 写道:
如题,游戏使用sdkbox集成了分享组件,在android环境下能正常工作,但是在ios环境下分享时报错,错误信息如下:
Facebook :Requested FB action and not logged-in.
[LUA-print] dump from: [string "ShareUtil.lua"]:16: in function <[string "ShareUtil.lua"]:15>
[LUA-print] - "PluginShare share listener info:" = {
[LUA-print] - "event" = "onShareState"
[LUA-print] - "response" = {
[LUA-print] - "error" = "facebook dialog share must present with facebook app"
[LUA-print] - "platform" = 2
[LUA-print] - "state" = 4
[LUA-print] - }
[LUA-print] - }~~~~~~~~~~~~~~
[LUA-print] dump from: [string "ShareUtil.lua"]:16: in function <[string "ShareUtil.lua"]:15>
[LUA-print] - "PluginShare share listener info:" = {
[LUA-print] - "event" = "onShareState"
[LUA-print] - "response" = {
[LUA-print] - "error" = "show twitter composer fail, please make sure you have login"
[LUA-print] - "platform" = 1
[LUA-print] - "state" = 4
[LUA-print] - }
[LUA-print] - }我的开发环境是cocos2dx-lua 3.4、xcode8.3 beta
测试设备是ipad2,已安装facebook、Twitter,并且处于登录状态,而且是翻墙状态
从上面错误信息的字面意思来看,是facebook没有安装以及Twitter没有登录,但是我确定了是都安装了且处于登录状态的,另外网络也是翻墙且通畅的。这问题折腾几天了都没能解决,不知道是怎么回事。国内外的网站都搜索过了,跟这个错误相关的没有搜索到任何帖子,貌似从来没有人遇到这个问题,另外这个sdkbox官网问答的帖子是我问的:http://www.sdkbox.com/answers/question/facebooktwitter-share-not-working-on-ios/,至今也无人解决。
游戏的android版已经上线两周了,ios版因为这个问题一直卡在这里,非常着急,还请大神们解答一下,万分感谢。
帖子: 1
参与者: 1