Alessandro Del Sole's Blog

/* A programming space about Microsoft® .NET® */
posts - 159, comments - 0, trackbacks - 0

My Links

News

Your host

This is me! This space is about Microsoft® .NET® and Microsoft® Visual Basic development. Enjoy! :-)

These postings are provided 'AS IS' for entertainment purposes only with absolutely no warranty expressed or implied and confer no rights.

Microsoft MVP

My MVP Profile

I'm a VB!

Watch my interview in Seattle

My new book on VB 2015!

Pre-order VB 2015 Unleashed Pre-order my new book "Visual Basic 2015 Unleashed". Click for more info!

My new book on LightSwitch!

Visual Studio LightSwitch Unleashed My book "Visual Studio LightSwitch Unleashed" is available. Click the cover!

Your visits

Follow me on Twitter!

CodePlex download Download my open-source projects from CodePlex!

Article Categories

Archives

Post Categories

.NET Framework

Blogroll

Help Authoring

Microsoft & MSDN

Setup & Deployment

Visual Basic 2005/2008/2010

Retrieving RSS feeds for Twitter and Facebook

You might need to analyze RSS feeds from different pages in order to get information and latest news from a channel. Facebook and Twitter are probably the most interesting, but there's no easy specific API.

Fortunately it is possible to retrieve the RSS feed 2.0, that is XML, in a pretty easy way. The following URL allows retrieving the RSS feed of a Facebook page (not user profile):

https://www.facebook.com/feeds/page.php?id=pageidnumber&format=rss20

Where pageidnumber is the id of the desired page. For instance, the Facebook address for my VB community in Italy is the following:

https://www.facebook.com/feeds/page.php?id=295804250449780&format=rss20

About Twitter, you can retrieve a feed like this:

https://api.twitter.com/1/statuses/user_timeline.rss?screen_name=username

Where username is the account name of the person you are following. For instance, this is the RSS feed for the profile of my Italian VB community:

https://api.twitter.com/1/statuses/user_timeline.rss?screen_name=vbtipsandtricks

You might find this useful 

Alessandro

Print | posted on giovedì 14 marzo 2013 11:32 | Filed Under [ Misc ]

Feedback

No comments posted yet.

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 7 and 6 and type the answer here:

Powered by:
Powered By Subtext Powered By ASP.NET