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 6901693
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:42:19+00:00 2026-05-27T07:42:19+00:00

I have an app on Facebook that has a function that posts directly to

  • 0

I have an app on Facebook that has a function that posts directly to friends’ walls. It runs without any problems in Firefox and Chrome, but refuses to work in IE. This is the only function that won’t run in IE and is also the only function whose target is in a different domain.

function post_friends() {
   var ser = $("#wall_form").serialize();
   var spl = ser.split("friend%5B%5D=");

   var token = $("#access").prop("value");
   var youtube = $("#post_youtube").prop("value");
   var shati = $("#share_title").prop("value");

   for (var i = 0; i < spl.length; i += 1) {
      if (spl[i] != "") {
         var lps = spl[i].split("&");
         var lru = "https://graph.facebook.com/" + lps[0] + "/feed";
         var atad = "name=" + shati + "&access_token=" + token;

         //as far as I can tell, this is the only part of the code that refuses to run.
         var poche = $.post(lru, atad, function(msg) {
            hide_black();
         });
      }
   }
}

Is this a domain issue? How do I solve this? Thanks.

Edit:

okay, so it is a domain issue. XDomainRequest is needed, which jQuery doesn’t use.

Edit 2:

problem solved.

  • 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-27T07:42:19+00:00Added an answer on May 27, 2026 at 7:42 am

    IE uses XDomainRequest when performing cross domain requests, which isn’t used by jQuery. Instead of using just $.post, the script now checks first if the browser being used is IE and then acts accordingly:

         if ($.browser.msie && window.XDomainRequest) {
            // Use Microsoft XDR
            var xdr = new XDomainRequest();
            xdr.open("post", lru + "?" + atad);
            xdr.onload = function() {
               // XDomainRequest doesn't provide responseXml, so if you need it:
               var dom = new ActiveXObject("Microsoft.XMLDOM");
               dom.async = false;
               dom.loadXML(xdr.responseText);
               hide_black();
            };
            xdr.send();
         }
         else {
            var poche = $.post(lru, atad, function(msg) {
               hide_black();
            });
         }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a Facebook app that has (as part of its function) a display
I need to develop an app that has the share function. I have to
What I have at the moment is a simple Facebook app that has pulled
Have an app that has listings - think classified ads - and each listing
I have an app that posts a string to user's wall. The app worked
I have a web app that allows people to register directly or by using
I have an app that has an IFrame with a page flash overly allowing
I have a working Facebook app that most users will use just once. Leading
I'm working on a web app that has a topBar similar to facebook's blue
So I have a page on facebook that has some tabs via apps that

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.