Facebook Connect - Retrieve users pages

May 26, 2010 at 12:41 AM

Hi all, I succesfully connected users to my site, retrieving all the data I needed. But, since my application has to interact with their personal pages (they are personal trainers and so all of them has a page as PT), I need to search all the pages they are admin and then propose them wich one they want to connect.

Any Ideas? Or there is another way to accomplisg this?

May 26, 2010 at 3:17 PM


<font face="Consolas" size="2" color="#0000ff">


</font>query As String = String.Format("SELECT page_id, name FROM page WHERE page_id IN (SELECT page_id FROM page_admin WHERE uid = {0})" , Master.api.Users.GetLoggedInUser()) <font face="Consolas" size="2">


Dim result = Master.api.Fql.Query(query)


Hi all