我正试图自动将EasyBlog博客文章从我自己的组件转移到Twitter上。我目前有:
$blog = EasyBlogHelper::getTable( 'Blog' );
$blog->load( $postId );
$blog->autopost(array('twitter'));autopost说这是成功的,但这篇文章并没有出现在推特上,也没有迹象显示在我的Joomla网站的后端。我没有收到任何错误信息。
我怎样才能做到这一点呢?
发布于 2012-08-20 12:45:38
事实证明,我使用EB的API是错误的。最后一行应是:
$blog->autopost(array('twitter'), array('twitter'));https://stackoverflow.com/questions/11802380
复制相似问题