1

我正在使用phonegap-build / FacebookConnect

一切正常,但是当我使用 Android 应用程序在 Facebook 墙上发布一些帖子时,大部分文本仍未显示。帖子部分末尾甚至没有“查看更多”链接。在“描述”的第二句话的一半,一切都中断了。

我用于此 Android 应用程序的 JS 函数:

function facebookWallPost() {
            console.log('Debug 1');
            var params = {
                method: 'feed',
                name: 'Facebook Dialogs',
                link: 'https://developers.facebook.com/docs/reference/dialogs/',
                picture: 'http://fbrell.com/f8.jpg',
                caption: 'Reference Documentation',
                description: 'The Internet is a global system of interconnected computer networks that use the standard Internet protocol suite (TCP/IP) to serve billions of users worldwide. It is a network of networks that consists of millions of private, public, academic, business, and government networks, of local to global scope, that are linked by a broad array of electronic, wireless and optical networking technologies. The Internet carries an extensive range of information resources and services, such as the inter-linked hypertext documents of the World Wide Web (WWW) and the infrastructure to support email.'
              };
            console.log(params);
            FB.ui(params, function(obj) { console.log(obj);});
        }

整个脚本和一个例子可以在这里看到......

我是否需要更改数据结构并将参数作为 JSON 发布?提前致谢。我很感激任何帮助...

4

0 回答 0