Deprecated template bundles

Oct 29, 2009 at 3:46 PM

on the http://developers.facebook.com/tools.php?feed page today I read that

Facebook will deprecate template bundles and their related API calls December 20, 2009.

Please start using stream attachments with stream.publish, FB.Connect.streamPublish, and Facebook.streamPublish instead.

how do you manage this situation in the FDT-based applications?

 

thanks

andrea

Nov 11, 2009 at 8:33 PM

same question..

I deployed FBML based demo and I'm getting 500 internal server error which I think is due to invalid template ID. Dint debug it though. Its not possible to get a template bundle anymore.

When will the sample be updated to deal with the situation? or if someone has already found the workaround can you please paste the snippet here?

 

Thanks

Nov 11, 2009 at 9:36 PM

Actually some days ago I found that you can use FDT in the following way, following the facebook guidelines:

public void Post(facebook.API fbAPI, string appLink)
    {
        string response = fbAPI.stream.publish(
            " has decided to solve the stream.Publish problem :).",
            new attachment()
            {
                name = "This is a Title",
                href = appLink,
                caption = "{*actor*} has decided to solve the stream.Publish problem :)",
                description = "this is a looooong description",
                properties = new attachment_property()
                {
                    category = new attachment_category() { text = "Action!", href = appLink }
                },
                media = new List<attachment_media>() {
                    new attachment_media_image() { src = WebConfigurationManager.AppSettings["AbsolutePath"] + "images/100x80.jpg", href = appLink }
                }
            },
            new List<action_link>() {
                new action_link() { text = "Action again!!", href = appLink }
            },
            null,
            0);
    }

 

Hope this heps

Andrea