Share via


Facebook DataView WebPart Code from SharePoint Conference

For those of you who attended my SPC 351 session at SharePoint Conference today (Hitting the Ground Running with Claims Authentication), there was a request for some source code.   As promised, I'm attaching a zip file with the source to the Facebook DataView WebPart I demonstrated.  It's based on using ACS to log into a SharePoint site with Facebook authentication, and then using the Facebook Access Token (that comes in a special SAML claim) to make a request out to Facebook for the user's public profile info.  The source code is attached for your use and enjoyment.  Hopefully the recorded SPC sessions will be posted somewhere; if not and there is sufficient demand (by my random estimate of your interest based on comments to this post) I may try and find a place to post a separate recording I did of the demo...my backup in case of network connectivity issues.

 

FacebookAcsDemo.zip

Comments

  • Anonymous
    January 01, 2003
    thanks

  • Anonymous
    January 01, 2003
    thanks

  • Anonymous
    January 01, 2003
    This is great - thanks for posting Steve.

  • Anonymous
    January 01, 2003
    The comment has been removed

  • Anonymous
    October 05, 2011
    So far I can't find the SPC session recordings anywhere, but it's still early. Would definitely like to see this session -- as well as the others on claims. We have a working ADFS to SharePoint setup and I'm starting to work on the people picker for search and resolution of our AD users (who auth via ADFS, not Windows claims). Also not clear if AD groups presented as roles should be working (they don't). Looking for all the help I can get. :-) Keep up the great work, Steve.

  • Anonymous
    October 05, 2011
    Hi Steve, can you also provide the SPClaimProvider code associated that receives the facebook special claim ? Thanks

  • Anonymous
    October 05, 2011
    Hi Steve, Many thanks for uploading this code. Thanks

  • Anonymous
    October 05, 2011
    Hi Luis - the code that receives the Facebook claim is included in the zip file.  It's not used in a custom claims provider - I just grab it in the web part.

  • Anonymous
    October 06, 2011
    Hi Steve, isn't that claim rejected by default unless we explicitly add a mapping or create a ClaimProvider ? i created a simple SPClaimProvider (ClaimsPassthru) that augments every claim not accepted by sharepoint and this works very well. cheers

  • Anonymous
    October 07, 2011
    Many Thanks for uploading the Source Code. Very Helpful. Please post the link for recorded Session also

  • Anonymous
    September 18, 2014
    The comment has been removed

  • Anonymous
    November 10, 2014
    The comment has been removed

  • Anonymous
    January 12, 2015
    m88 :http://m88en.com/new-online-casino-deposit-bonus-codes-2015/
    M88.com offer online sports games Asia, Sports Betting Asia, Sports Betting Sites Asia.
    m88asia : http://m88en.net/m88-bet-mansion88-online-casino-online/
    Link to M88BET phone: m88en.com. – Register and Open Betting Account and Membership M88BET.
    m88bet : http://www.linkm88vip.com/2014/12/m88-asia-main-home-register-online-free.html
    MANSION88 the house is one of the largest and most prestigious. Appeared quite early in the Asian market, the so-MANSION88 currently attracts more players.
    link m88 : http://m88wiki.com/google-chrome-bookmarks-fastest-m88-link/
    Home the M88 is the official sponsor of the football club in the Premier League
    Wish you happy with the new M88
    m88 casino online : http://m88free.com/register-m88-football-betting/