So I'm posting on a facebook page through an application, but when i'm not logged in the application asks me to login first, can i run the application without having to login to my account to post on my page?
here's part of my code
string app_id = "app_id";
string app_secret = "app_secret";
string scope = "publish_stream,manage_pages,share_item,offline_access";
if (Request["code"] == null)
{
Response.Redirect(string.Format(
"https://graph.facebook.com/oauth/authorize?client_id={0}&redirect_uri={1}&scope={2}",
app_id, Request.Url.AbsoluteUri, scope)); //here it requests me to login
}
else
{
//rest of code here
}