FacebookSharp
FacebookSharp copied to clipboard
access email id and post to wall
Prabir hi, how do I access the logged in user's email id. access the user's friend's email id and image post to wall of user and his friends
I would like to use mvc2
Thanks and best regards Arnab
I was able to access the logged in users email id and post to his wall. But still not able to display his friends, get their email id and post to their wall.
make sure you have the right extended permissions. you can read about the details on http://developers.facebook.com/docs/authentication/permissions
if u want to see how to get those permissions, i highly recommend you to read README.md It is explained thoroughly on how to ask for those permissions when authenticating the user.
fbSettings.DefaultApplicationPermissions = new[] { "publish_stream","create_event" } };
Thanks for the reply. I see that it's not possible to access friend's email, but is there any way to send messages to friends? Tx Arnab
I found notifications.sendemail (I think its rest api) but how do I use it , could you please give the code block.
Tx Arnab
currently im quite busy merging FacebookSharp with Facebook C# SDK. You can read the details about the merging at http://ntotten.com/2010/11/the-state-of-net-facebook-development/
you can also see the discussion on Facebook C# sdk at http://facebooksdk.codeplex.com/discussions
if you have questions general to Facebook rather than the SDK i would highly recommend you to post it in stackoverflow.
"Questions about how to use this SDK and general Facebook development questions should be posted on Stackoverflow.com using the 'facebook', 'facebook-C#-sdk', 'C#', 'VB', and '.Net' tags as appropriate."