How to login to facebook using the Facebook C# SDK

I'd like to post messages to a group wall without asking user for login information -I'd like to do it programmatically, I can use my user/pass if necessary-.

┬┐Is it possible to do this without showing the user the login screen?

Note: I'm working with Facebook C# SDK ( under ASP.NET.



No you cannot do this. Facebook prevents this sort of behavior to prevent spamming on peoples walls from fake accounts. You will always have to go through the initial login procedure AT LEAST ONCE.

However, if you get an offline access token for someone then you could continue to make posts from them when they are not logged in. Keep in mind that Facebook limits you to 600 posts per minute.

Need Your Help

How do I return hundreds of values from a C++ function?

c++ stl vector iterator return-value

In C++, whenever a function creates many (hundreds or thousands of) values, I used to have the caller pass an array that my function then fills with the output values: