Facebook + PopFly + C# = Fun!

As originally posted on the Developers for Developers discussion group.  Be sure to check it out today!


Using PopFly on Facebook
One really cool thing I like about Popfly is the mashups you create can be added to your Facebook profile so that your friends can see and use them. These mashups could be anything from placing your photos on an image carousel to a mashup which places your friends on a map and finds the nearest Starbucks.

Here are some live examples on Facebook right now:

Popfly Scribbler:

John Montgomery's Halo 3 Scoreboard:
"http://apps.facebook.com/popflymashups/Default.aspx?r=johnmont|Halo3 for Facebook"

Another cool thing you can do is download that Popfly mashup you see on Facebook directly into your own Popfly profile and then tweak it however you like! Brad Abrams showed this off during the keynote at Remix Boston. Download this video off Channel9 and skip to about 16 minutes in to check it out!

Some more links:

PopFly Facebook Mashups Overview:

Main PopFly Page (Now in Open Public Beta)


Facebook Development using VB.NET and C#

Looking for some .NET wrappers around the Facebook APIs?

Check out the Facebook Developer Toolkit project here on Codeplex:



using System;
using System.Text;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Facebook; // remember to add a reference to C:\Program Files\Coding4Fun\Facebook\Binaries\Facebook.dll to your project

namespace f8test
class Program
private const string apikey = "YOUR API KEY";
private const string apisecret = "YOUR SECRET";

static void Main(string[] args)
Facebook.Components.FacebookService _fbService = new Facebook.Components.FacebookService();
_fbService.ApplicationKey = apikey;
_fbService.Secret = apisecret;

Collection<User> friends = _fbService.GetFriends(); // this will automatically trigger _fbService.ConnectToFacebook()
foreach (User u in friends) {

Skip to main content