FacebookSharp icon indicating copy to clipboard operation
FacebookSharp copied to clipboard

access email id and post to wall

Open arnab74 opened this issue 14 years ago • 5 comments

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

arnab74 avatar Dec 06 '10 07:12 arnab74

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.

arnab74 avatar Dec 06 '10 09:12 arnab74

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" } };

prabirshrestha avatar Dec 06 '10 15:12 prabirshrestha

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

arnab74 avatar Dec 07 '10 10:12 arnab74

I found notifications.sendemail (I think its rest api) but how do I use it , could you please give the code block.

Tx Arnab

arnab74 avatar Dec 07 '10 19:12 arnab74

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

prabirshrestha avatar Dec 08 '10 03:12 prabirshrestha