Facebook连接问题与iPhone [英] Facebook Connect issue with the iPhone

查看:188
本文介绍了Facebook连接问题与iPhone的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须将FaceBook connect与iPhone App集成。
我下载了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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆