Click here to Skip to main content
15,911,141 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: ASP.NET Base Pages Pin
TweakBird8-Jul-11 23:21
TweakBird8-Jul-11 23:21 
GeneralRe: ASP.NET Base Pages Pin
Not Active9-Jul-11 3:28
mentorNot Active9-Jul-11 3:28 
GeneralRe: ASP.NET Base Pages Pin
TweakBird10-Jul-11 6:01
TweakBird10-Jul-11 6:01 
AnswerRe: ASP.NET Base Pages Pin
Not Active9-Jul-11 3:27
mentorNot Active9-Jul-11 3:27 
GeneralRe: ASP.NET Base Pages Pin
Patrick Skelton9-Jul-11 7:50
Patrick Skelton9-Jul-11 7:50 
GeneralRe: ASP.NET Base Pages Pin
Firo Atrum Ventus10-Jul-11 18:02
Firo Atrum Ventus10-Jul-11 18:02 
GeneralRe: ASP.NET Base Pages Pin
Patrick Skelton10-Jul-11 23:15
Patrick Skelton10-Jul-11 23:15 
QuestionFacebook connect Pin
benams8-Jul-11 15:50
benams8-Jul-11 15:50 
I use the following code in order to conncet my asp.net website to facebook

string appId = "xxx";
string[] extendedPermissions = new[] { "publish_stream", "offline_access" };

var oauth = new FacebookOAuthClient { AppId = appId };

var parameters = new Dictionary<string, object>
{
{ "response_type", "token" },
{ "display", "popup" }
};

if (extendedPermissions != null && extendedPermissions.Length > 0)
{
var scope = new StringBuilder();
scope.Append(string.Join(",", extendedPermissions));
parameters["scope"] = scope.ToString();
}

var loginUrl = oauth.GetLoginUrl(parameters);
Response.Redirect(loginUrl.AbsoluteUri);

but when I run this I get a login page(full page altough I set the display property to "popup"), and after login I redirected to a page which is not my website page(http://www.facebook.com/connect/login_success.html#access_token=xxx;expires_in=0). The page includes the word "succeed" only...
AnswerRe: Facebook connect Pin
Parwej Ahamad8-Jul-11 16:13
professionalParwej Ahamad8-Jul-11 16:13 
GeneralRe: Facebook connect Pin
benams8-Jul-11 16:23
benams8-Jul-11 16:23 
GeneralRe: Facebook connect Pin
Not Active9-Jul-11 3:25
mentorNot Active9-Jul-11 3:25 
GeneralRe: Facebook connect Pin
Parwej Ahamad9-Jul-11 3:32
professionalParwej Ahamad9-Jul-11 3:32 
AnswerRe: Facebook connect Pin
Not Active9-Jul-11 3:24
mentorNot Active9-Jul-11 3:24 
QuestionSerializing as Key Value pairs Pin
indian1438-Jul-11 10:21
indian1438-Jul-11 10:21 
AnswerRe: Serializing as Key Value pairs Pin
Matt U.8-Jul-11 11:51
Matt U.8-Jul-11 11:51 
QuestionProblem wirh Response.End() while exporting Datatable results to Excel file. Pin
madhubabu7-Jul-11 7:52
madhubabu7-Jul-11 7:52 
AnswerRe: Problem wirh Response.End() while exporting Datatable results to Excel file. Pin
Not Active7-Jul-11 8:52
mentorNot Active7-Jul-11 8:52 
QuestionTime Out. Pin
berba7-Jul-11 2:51
berba7-Jul-11 2:51 
AnswerRe: Time Out. Pin
#realJSOP7-Jul-11 7:45
professional#realJSOP7-Jul-11 7:45 
QuestionChange Precedence of Click and OnClientClick for <asp:Button.. Pin
Ravi Sant7-Jul-11 1:44
Ravi Sant7-Jul-11 1:44 
AnswerRe: Change Precedence of Click and OnClientClick for <asp:Button.. Pin
berba7-Jul-11 2:57
berba7-Jul-11 2:57 
Questionnull string returned for domain and username (Windows auth) Pin
anarayan7-Jul-11 0:43
anarayan7-Jul-11 0:43 
AnswerRe: null string returned for domain and username (Windows auth) Pin
Parwej Ahamad7-Jul-11 7:08
professionalParwej Ahamad7-Jul-11 7:08 
Questionurl rewrite Pin
Sneha Bisht6-Jul-11 23:54
Sneha Bisht6-Jul-11 23:54 
AnswerRe: url rewrite Pin
Dalek Dave7-Jul-11 3:04
professionalDalek Dave7-Jul-11 3:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.