2012-06-07 35 views
-1

我這裏有一些麻煩......發生錯誤的翻譯:Facebook的Open Graph的

我剛剛安裝在我的網站Facebook的API opengraph,它運作良好,在使用我的Facebook帳號我,但我得到的當我用我的另一個帳戶測試它的錯誤信息......

我得到出錯的翻譯:當試圖訪問http://www.kiosban.com/jangan-nyalakan-lampu-hazard-dikala-hujan-lebat/,當我嘗試看看在我的GoogleChrome控制檯我得到這個錯誤

Uncaught ReferenceError: jQuery is not defined /jangan-nyalakan-lampu-hazard-dikala-hujan-lebat/:1115 
Uncaught ReferenceError: $ is not defined /jangan-nyalakan-lampu-hazard-dikala-hujan-lebat/:1716 
Uncaught SyntaxError: Unexpected token < index.php:1 
Please specify a ShareThis Publisher Key 
For help, contact [email protected] buttons.js:1 
Unknown RPC service: undefined apis.google.com/_/apps-static/_/js/gapi/plusone/rt=j/ver=l9xafNDlycA.en_US./sv=1/am=!PemfnfjrL2yI81ARQg/d=1/rs=AItRSTPblCJvoWHsMeVNOsKiKGakP1copQ/cb=gapi.loaded_0:206 
Unknown RPC service: undefined apis.google.com/_/apps-static/_/js/gapi/plusone/rt=j/ver=l9xafNDlycA.en_US./sv=1/am=!PemfnfjrL2yI81ARQg/d=1/rs=AItRSTPblCJvoWHsMeVNOsKiKGakP1copQ/cb=gapi.loaded_0:206 
Unsafe JavaScript attempt to access frame with URL http://www.kiosban.com/jangan-nyalakan-lampu-hazard-dikala-hujan-lebat/ from frame with URL http://www.facebook.com/plugins/login.php?add_to_profile=false&api_key=384945498218921&channel=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D6%23cb%3Df1382a12d%26origin%3Dhttp%253A%252F%252Fwww.kiosban.com%252Ff4bed3cb%26domain%3Dwww.kiosban.com%26relation%3Dparent.parent&extended_social_context=false&locale=en_US&login_text=&max_rows=1&one_click=false&sdk=joey&show_faces=true&show_login_face=false&size=small&tense=past&width=200. Domains, protocols and ports must match. 
zYYvIvm5_Za.js:89 
g.categories.(anonymous function).(anonymous function) zYYvIvm5_Za.js:89 
(anonymous function) BOwYwRudgQC.js:5 
n _xZSy89IRtb.js:22 
h.inform _xZSy89IRtb.js:25 
v zYYvIvm5_Za.js:27 
p 

有關我的問題的任何想法?

+0

你在你的頁面中包括jquery嗎? – Patricia

+0

是的..最新問題? –

+0

未捕獲的ReferenceError:未定義jQuery < - 導致我相信jquery未正確加載。 – Patricia

回答

1

未捕獲的ReferenceError:jQuery的沒有定義/長安-nyalakan-LAMPU災害-dikala-hujan-lebat /:1115 未捕獲的ReferenceError:$沒有定義/長安-nyalakan-LAMPU災害-dikala-hujan-lebat /:1716

這些是因爲jQuery沒有正確加載,或者您正在嘗試使用jQuery依賴方法或沒有定義jQuery的選擇。確保你檢查了正在加載的東西的順序。

+0

現在當我嘗試再次檢查它時...我收到此消息... {「message」:「必須使用活動訪問令牌來查詢有關當前用戶的信息。」,「type」:「OAuthException 」, 「代碼」:2500} –

0

「請指定一個ShareThis發行商密鑰 如需幫助,請聯繫[email protected]」 我也遇到過此錯誤。請檢查您是否定義

<script type="text/javascript">  stLight.options({ publisher: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" }); </script> 

使用您的實際發行鍵入「XXXXXXXXXXXX-XXXXXXXX-XXXXXXXXXXXX」 我插入到這一點我的代碼,消失的錯誤後。