views:

415

answers:

0

Hi guys!

I have to integrate FaceBook connect with the iPhone App. I downloaded SDK, added new app on the facebook. But I have one problem. I can't found how can I create templateBundleId in the console - http://developers.facebook.com/tools.php

Console contains API Test Console, FBML Test Console and Facebook Connect Playground only. Where can I create templateBundleId?

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];
}

May be templates is deprecated. If it's true what can I use for publishing on the FB? And how can I develop it with the iPhone SDK?