refactoring for FDT 2.0

Mar 14, 2009 at 8:19 AM
Hi there,

The project seems to have been quiet for a while. So I'm thinking of using this library for my small pet project. And I'm diving straight into the deep end. The goal is to get this library to work with ASP.Net MVC Beta and FDT 2.0.

So this is what I've done so far:
  1. change facebookApi.UserId to facebookAPi.uid
  2. uid is now long instead of string with default value = 0. So, all the string null empty checks becomes a is it 0 checks.

Now this is the problem I'm having issues with:
FDT no longer have isAppAdded(), but instead it has pages.isAppAdded(long pageID).

Hence, I'm not sure what to initialize the pageID value on the following line:
private void AddApplication()
{
if (!facebookApi.pages.isAppAdded() && config.AutoAddApp)
{ ... }
}

any help would be appreciated.

 

Apr 15, 2009 at 6:54 PM
Did you workout a fix for this?  I'm interested in putting Facebook integration in an MVC application myself.