Facebook连接问题与iPhone [英] Facebook Connect issue with the iPhone
问题描述
我下载了SDK,在Facebook上添加了新的应用程序。
但是我有一个问题。所有样本和教程都包含Feed发布的功能。
在SDK中包含的示例中,我必须插入模板包ID而不是'9999999'
:
- (void)publishFeed:(id)target {
FBFeedDialog * dialog = [[[FBFeedDialog alloc] init] autorelease];
dialog.delegate = self;
dialog.templateBundleId = 9999999;
dialog.templateData = @{\key1\:\value1\};
[dialog show];
}
我可以在哪里创建templateBundleId?我无法找到如何在开发工具中创建它。
可能不推荐使用模板。如果是真的,那么我可以在FB上发布什么?如何使用iPhone SDK?
您可以在控制台中创建templateBundleId - http://developers.facebook.com/tools.php
I have to integrate FaceBook connect with the iPhone App. I downloaded SDK, added new app on the facebook.
But I have a problem. All samples and tutorials contains feature with feeds publishing.
In the sample which included in the SDK I have to insert Template Bundle Id instead of '9999999'
:
- (void)publishFeed:(id)target {
FBFeedDialog* dialog = [[[FBFeedDialog alloc] init] autorelease];
dialog.delegate = self;
dialog.templateBundleId = 9999999;
dialog.templateData = @"{\"key1\": \"value1\"}";
[dialog show];
}
Where can I create templateBundleId? I can't found how to create it in the Developer's Tools.
May be templates is deprecated. If it's true then what can I use for publishing on the FB? And how can I do it with the iPhone SDK?
You create the templateBundleId in the console - http://developers.facebook.com/tools.php
这篇关于Facebook连接问题与iPhone的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!