Share-n-dipity

SharePoint serendipity is the effect by which one accidentally discovers something fortunate, especially while looking for something else entirely. In this case, it is the occassional musings, observations, and Ouija board readings about the phabulously

Facebook DataView WebPart Code from SharePoint Conference

Facebook DataView WebPart Code from SharePoint Conference

  • Comments 7
  • Likes

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.

 

Attachment: FacebookAcsDemo.zip
Comments
  • 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.

  • Hi Steve,

    can you also provide the SPClaimProvider code associated that receives the facebook special claim ?

    Thanks

  • Hi Steve,

    Many thanks for uploading this code.

    Thanks

  • 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.

  • 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

  • Many Thanks for uploading the Source Code. Very Helpful. Please post the link for recorded Session also

  • This is great - thanks for posting Steve.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment