Mixmastermichael
Mixmastermichael

Reputation: 153

Chrome not bringing in facebook app javascript onto page

I have a facebook page below that works fine in Firefox, safari as well as the original iframed source in chrome.

However, the site does not load the javascript correctly in chrome on the actual app:

https://www.facebook.com/jobsatfarmers/app_635348913144151

Can someone please steer me in the right direction for this?

Thanks

Upvotes: 1

Views: 523

Answers (3)

David
David

Reputation: 1889

Try use https://code.jquery.com/jquery-1.7.2.js instead http://code.jquery.com/jquery-1.7.2.js replace all http:// with https:// console says: [blocked] The page at https://bayardclient.com/farmerscareers/facebook/ ran insecure content from http://code.jquery.com/jquery-1.7.2.js.

Upvotes: 0

adrenalin
adrenalin

Reputation: 1658

It seems that your page is trying to load from HTTP while Facebook is on HTTPS, so there is a nonsecure to secure issue with Javascript at least. Try to change jQuery to load e.g. from Google (//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js for protocol relative and https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js if you wish to include the protocol).

By the way, same issue is repeated with the font you are trying to load. You should also refer to it without protocol or with HTTPS included. Otherwise it will not display either.

Upvotes: 2

Ethan Brown
Ethan Brown

Reputation: 27292

It looks like you're either not loading jQuery successfully, or you're loading it successfully but the $ alias for the jQuery object is not being set up properly:

enter image description here

Make sure you're loading jQuery before you get to this code, and that nothing is messing with the $ alias.

Upvotes: 0

Related Questions