Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3751310
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T09:03:23+00:00 2026-05-19T09:03:23+00:00

I have a problem after upgrading to version 4.2.1. when i try to do

  • 0

I have a problem after upgrading to version 4.2.1. when i try to do an ajax post, im still getting false in authorizer.IsAuthorized()

Default.aspx:

    $('.WallPost').click(function(e){

        //get the form
        var f = $("#<%=Page.Form.ClientID%>");
        //get the action attribute
        var action = 'http://www.domain.com/FacebookTestZone/Call/WallPost.aspx';
        //get the serialized data
        var serializedForm = f.serialize();
        $.post(action, serializedForm, 
            function(txt) { 
                alert(txt);
            }
        );            

    });

WallPost.aspx.cs:

fbApp = new FacebookApp(); 
authorizer = new CanvasAuthorizer(fbApp);

    if (authorizer.IsAuthorized())
    {
        Response.Write("IsAuthorized = True");
    }
    else
    {
        Response.Write("IsAuthorized = False");
    }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T09:03:24+00:00Added an answer on May 19, 2026 at 9:03 am

    You have to send the signed_request value with the ajax request. We no longer support cookies in iframe apps because it was a mess and unreliable. Do something like the following with your form post:

      $('.WallPost').click(function(e){
    
            //get the form
            var f = $("#<%=Page.Form.ClientID%>");
            //get the action attribute
            var action = 'http://www.domain.com/FacebookTestZone/Call/WallPost.aspx?signed_request=<%=Request.Params["signed_request"] %>';
            //get the serialized data
            var serializedForm = f.serialize();
            $.post(action, serializedForm, 
                function(txt) { 
                    alert(txt);
                }
            );            
    
        });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After getting a helpful answer here , I have run into yet another problem:
I have a problem after i setup windows 7 all old projects in c#
I have this problem where after a field (say Field3 in table MyTable) is
I have a weird problem where after setting nocheck on a foreign constraint and
I have a problem with validation messages not showing after a redirect, even when
I have this problem containing some inequations and requirement to minimize a value. After
We have a strange problem when implementing sessions with ColdFusion in IE6. After login
so here's the problem I have one form, it outputs search results after submit,
After upgrading from Cake 1.3 to 2.0 I I'm getting missing table errors for
After finally getting down to upgrading to FF 3.5, I noticed that some of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.