Configuring Facebook Feeds in Sitefinity CMS

Configuring Facebook Feeds in Sitefinity CMS

Posted on July 16, 2013 0 Comments

The content you're reading is getting on in years
This post is on the older side and its content may be out of date.
Be sure to visit our blogs homepage for our latest news, updates and information.

In order to get the Facebook feeds working with Sitefinity CMS, there are few configurations that need to be set and taken into consideration firstly.

Firstly there is a new property that was introduced in Sitefinity 6.1 called EnableDtdProcessing ( located under Settings -> Advanced - Publishing ) which needs to be set to true.

When it comes to configuring the actual feed, there is one more thing that needs to be changed - the URL for the feed that is being generated by Facebook.

For example, if you want to create a feed based on your Facebook Notifications, Facebook generates a URL like this:

https://www.facebook.com/feeds/notifications.php?id=111111111&viewer=111111111&key=AWj0u7gnJNMtQE6m&format=rss20

However, in order for the feed to work with our current implementation, the format at the end needs to be changed to atom10, instead of rss20 (manually). This is because Facebook feeds are generating an <access:restriction> element, which is from a custom extension called Bloglines, specifically created for Facebook. The problem is that the SyndicationFeed is having issues with that element. However, Atomfeed is not affected, thus the problem can be easily resolved by turning enableDtdProcressing property and also changing the format parameter to atom10.

Victor Velev

View all posts from Victor Velev on the Progress blog. Connect with us about all things application development and deployment, data integration and digital business.

Comments

Comments are disabled in preview mode.
Topics

Sitefinity Training and Certification Now Available.

Let our experts teach you how to use Sitefinity's best-in-class features to deliver compelling digital experiences.

Learn More
Latest Stories
in Your Inbox

Subscribe to get all the news, info and tutorials you need to build better business apps and sites

Loading animation