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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T06:22:00+00:00 2026-06-09T06:22:00+00:00

We already have Facebook working on our main desktop app without an issue. When

  • 0

We already have Facebook working on our main desktop app without an issue. When I added the same setup code to our mobile site I received an error from the JavaScript SDK:

Received message of type object from https://s-static.ak.facebook.com, expected a string

Then, I changed the setup code to an exact replica from here: https://developers.facebook.com/docs/guides/mobile/web/ and received the exact same message.

This error only shows when the user-agent is iOS or Android in Chrome Developer Tools or in the iOS Simulator. When it’s running from the desktop, we aren’t seeing this error.

Any idea what’s going on here?

Thanks 🙂

  • 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-09T06:22:01+00:00Added an answer on June 9, 2026 at 6:22 am

    I had the same error. This isn’t necessarily the reason you’re getting it, but I ended up looking at the packets being received by my iphone simulator, and here’s the error from s-statick.ak:

    [truncated] <span>Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App&#039;s settings.  It must match the Website URL or Canvas URL, or the domain must be a subdomain of one o
    

    For me, the error is that on my device(s), I’m accessing the site through an ip address (192.168.xx etc) and on local development I have hosts routing localhost to a url that is in my facebook app config… so the IP isn’t configured for the app.

    Facebook won’t let me use an IP address, so it seems like the only option is a test deploy or a DNS server. Hope this helps you out.

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

Sidebar

Related Questions

I'm just diving into the exciting world of facebook app creation, but have already
I already have code which lazy loads scripts on request. My issue now is
I'm building a phonegap app with facebook authentication ( https://github.com/davejohnson/phonegap-plugin-facebook-connect ). I already have
I have a working Facebook app that most users will use just once. Leading
I already have Java code to display and process data from a database. I
I already have an iPhone application (version 1.0) available in the App Store and
I have already have this code to force these URLs to HTTPS: RewriteCond %{HTTPS}
I have a website that's working with Facebook Connect (or Facebook for Websites as
I have created a Page Tab Facebook App where I want to display different
HI I have got Facebook Connect working with a functional login and logout button.

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.