2

Fb.UI フィードが正しい幅で表示されず、ダイアログがレンダリングされるときに、iPhone 4 および 4s を除き、画面サイズに調整されません。私の iPod touch と Android では、画面よりも大きいです。sencha touchフレームワークを使用しています。ダイアログのサイズを調整する方法はありますか。FB.UIServer.Methods["fbml.dialog"].size = {width:300, height:555}; を使ってみました。しかし、それは FB.UIServer が未定義であると言います。

どんな助けでも大歓迎です

function publishStory() {
    FB.ui({
        access_token:accsstkn,
        method: 'feed',
        name: 'APP',
        caption: 'caption',
        display: 'touch',
        description: description,
        link: 'https://',
        picture: img,
    }, 

    function(response) {
        if (response && response.post_id) {
            alert('Successfully Saved');
            var postid = response.post_id;
            return response.post_id;
        } else {
            alert('Try Again');
        }
    }
    );

    return false;
}

publishStory();
4

0 に答える 0