SLComposeViewController Facebook将iOS发布为iOS,而不是Facebook应用程序标识符

我目前正在研究为将来的iOS游戏添加Facebook社交功能的原型.我一直在研究的功能之一是使用新的本机Facebook Composer发布到游戏的链接,然后跟踪该帖子并为喜欢该帖子的每个人提供玩家硬币.发布后,我得到了他们的提要,并查找具有匹配的应用程序ID的发布.如果我不使用新的本机Facebook Composer(旧样式对话框,或者只是没有对话框的直接发布),我已经使该部分正常工作.

I'm currently working on a prototype for adding Facebook social features for future iOS games. One of the features I've been working on involves using the new native Facebook Composer to post to a link to the game, and then tracking the post and giving the player coins for every person who likes the post. After the post, I get their feed and look for a post with a matching application ID. I've already got that part working correctly if I don't use the new native Facebook Composer (either old style dialogs, or just a direct post with no dialog).


The problem I'm encountering is when using the new SLComposeViewController, the post will appear to come from the application "iOS" id "213546525407071" rather than the id for my application.


Is there a way to change the attributed application so that it uses my application ID instead of iOS?

 1 条回答