自动发布facebook / twitter帖子

时间:2012-05-07 06:19:30

标签: ruby-on-rails ruby facebook facebook-graph-api twitter

我们有一个Facebook应用程序,可以在整个过程中发布更新 在一定时间间隔之后解雇了一天这些消息将发布到粉丝页面 并通过twitter为facebook app发布在Twitter上。该 问题是它不会自动发布消息,因为它应该和抛出 这个错误。

Koala::Facebook::APIError: OAuthException: (#100) The status you are
trying to publish is a duplicate of, or too similar to, one that we
recently posted to Twitter

消息是:

"#Hashtag summary: N events have occurred in the past X hours. Stay tuned
for further updates."

"#Hashtag update: N events have transpired over the last X hours. Stay
with us for more updates."

它们都没有通过命令提示符发布。

然而,当我尝试通过粉丝页面手动发布时,它不会抱怨和 消息将在两个位置发布。

在这方面的任何帮助都会很棒。

1 个答案:

答案 0 :(得分:0)

Twitter似乎在短时间内阻止了类似的消息。但是这种行为不应该停止在Facebook上发布(但它会被中止)。通过在Twitter上禁用自动发布来解决这个问题,我们现在分别在两个位置发布。