我正在尝试使用tweet.js-mod将Twitter提要集成到我的朋友网站。
可以在这里看到: http://www.dirtycookie.co/cloud9
我为twitter创建了一个应用程序,并收到了Feed的Oauth凭据。
这是我的代码: (的index.php)
private $consumer_key = 'KTeVCWu00000000PAPqrtVQ';
private $consumer_secret = 'tXfMExq5iNcHFG800000000cI8cUe9OSWk';
private $user_token = '114879045-caGZldepfNMEJ000000000000Fh7tuubLAtA6L';
private $user_secret = 'p79x1RyM5E3VeY6aMpl00000000001eop896IC9HA';
(jquery.tweet.js)
modpath: "/twitter/", // [string] relative URL to Tweet.js mod (see https://github.com/StanScates/Tweet.js-Mod)
username: cloud9bliss,
我在public_html的根目录下的/ twitter /文件夹中有index.php。 index.html(我的主站点)位于public_html的根目录中。这些不需要合并吗?
chrome在jquery.tweet.js脚本中抱怨404。
任何人都知道我做错了什么?