Is there any example code explaining how to change Facebooks API existing code to make it yours?

Posted by Naeim on Stack Overflow See other posts from Stack Overflow or by Naeim
Published on 2010-03-14T09:07:40Z Indexed on 2010/03/14 9:15 UTC
Read the original article Hit count: 225

Filed under:
|
|
FBStreamDialog* dialog = [[[FBStreamDialog alloc] init] autorelease];
    dialog.delegate = self;
    dialog.userMessagePrompt = @"Example prompt";
    dialog.attachment = @"{\"name\":\"Facebook Connect for iPhone\","
        "\"href\":\"http://developers.facebook.com/connect.php?tab=iphone\","
        "\"caption\":\"Caption\",\"description\":\"Description\","
        "\"media\":[{\"type\":\"image\","
            "\"src\":\"http://img40.yfrog.com/img40/5914/iphoneconnectbtn.jpg\","
            "\"href\":\"http://developers.facebook.com/connect.php?tab=iphone/\"}],"
        "\"properties\":{\"another link\":{\"text\":\"Facebook home page\",\"href\":\"http://www.facebook.com\"}}}";
    // replace this with a friend's UID
    // dialog.targetId = @"999999";
    [dialog show];

Is there any example code explaining how to change Facebooks API existing code to make it yours?

i want to change http://img40.yfrog.com/img40/5914/iphoneconnectbtn.jpg to http://img40.yfrog.com/img40/5914/%@.jpg //... , %mystring

© Stack Overflow or respective owner

Related posts about xcode

Related posts about facebook