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

  • Home
  • SEARCH
  • 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 8108913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T01:15:28+00:00 2026-06-06T01:15:28+00:00

I have been using the Facebook Javascript SDK to post content from a CMS

  • 0

I have been using the Facebook Javascript SDK to post content from a CMS to a facebook fan page. It basically works by pulling the current pages content using jQuery and feeding it into FB.api function. Everything works fine in Firefox, Safari, Chrome, etc. The only problem is IE in which nothing happens, no error message, no javascript errors, nothing.

Here is the function I am using:

function Publish(){
    //variables pulled from page content like so:
    var fb_message = $('#content').text();

    FB.api('/me/feed', 'post',
    {
        access_token    : fb_token,
        name            : fb_name,
        message         : fb_message,
        link            : fb_link,
        picture         : fb_photo,
        caption         : fb_caption

    },function(response) {
        if (!response || response.error) {
            alert("Couldnt post"); 
        } else {
            alert('Posted');  
        }
    })
}

If I remove the message from the FB.api json, or limit the length of the string being sent to 850 chars it works fine even in IE, but I have no idea why? The string is just Loreum Ipsum, no odd characters or line breaks.

Update
Actually seems that if I remove caption, name, link, etc and only post a ‘message’ in the json I can push a slightly longer message string through to facebook, which seems to point to the length of the json being some kind of problem…

Any pointers would be really appreciated.

Update
I tried rewriting my functionality from scratch in a separate html file, still getting a problem in IE, so I have submitted a bug to Facebook. See what they have to say about it.

  • 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-06-06T01:15:29+00:00Added an answer on June 6, 2026 at 1:15 am

    This has been recognized as a bug by the Facebook team, and they have plans to push a fix soon. You can see my bug report here.

    UPDATE
    The fix was pushed, and the problem solved in IE9+. However IE7 and 8 still have problems with long strings. In fact they appear to have become more of a problem since the fix.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have built a Facebook app using the Javascript SDK that has been up
I've been using the Facebook C# SDK for sometime now, but have a really
I have been asked to integrate facebook chat in my application using javascript. I
I have been using php-sdk to connect to facebook for a while and I
I've been using the old v3.0 C# SDK for some time and Facebook have
I have been working on a facebook application which will be using Graph API
I have been using some Javascript to create a text field once an certain
Users have been able to log into my website using their Facebook account, but
I have been experimenting using a Facebook login button on my website. The login
I have been looking into using Facebook Connect for a new web site I

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.