我嘗試登錄Facebook移動版時出現問題。在Facebook Mobile中登錄時出錯
我使用Qt QML開發移動設備上的程序。
起初,我使用這段代碼一段時間,它工作得很好。但幾天前,它照常停止工作。
所以,我試着寫一個非常簡單的代碼示例,只是爲了測試,它給了我一個相同的錯誤。
這是我簡單的代碼:
import QtQuick 1.0
import QtWebKit 1.0
Rectangle {
width: 360
height: 640
WebView {
id: web
//anchors.fill: parent
preferredHeight: 640
preferredWidth: 360
url: "http://www.facebook.com/dialog/oauth/?scope=email,user_birthday&client_id=MY_APP_ID&redirect_uri=http://www.gimme5.co.cc/login_success.html&response_type=token&display=touch"
}
}
我已經更換了應用程序ID,當我運行它。
它給了我一個錯誤在一個粉紅色的正方形這樣的:
This page contains the following errors
error on line 2 at column 212 : Expected ';' but got '='
Below is a rendering of the page up to
所以,我應該怎麼辦?
我剛剛嘗試過用我自己的應用程序ID,它適用於我。 您未包含的唯一信息是您的app_id。只是爲了理智檢查,這是一個很長的數字,對吧?沒有半冒號或任何內容? – mrtom
@mrtom 它沒有工作... 也是我的朋友誰也在諾基亞開發關於fb的應用程序。 我感覺真的沒有希望了。我在截止日期前還有5天 它曾經工作得很好! :'( 順便說一句,謝謝你的迴應:) – Syaorankun
我可以建議你試着讓它不在QT平臺上工作。那麼你至少可以弄清楚在FB方還是QT方這是一個問題。 – mrtom