Jac*_*lla 1 ruby facebook bots mechanize
我正在尝试创建一个自动"喜欢"Facebook帖子的机器人.使用Mechanize我可以登录到facebook,但不幸的是,Mechanize无法理解类似按钮的链接 - 它们似乎被JS混淆了.我看到的唯一链接是基础知识,例如:
<Mechanize::Page::Link
"Edit friends"
"http://www.facebook.com/friends/?ref=tn">
<Mechanize::Page::Link "Developers" "http://developers.facebook.com/?ref=pf">
<Mechanize::Page::Link "Careers" "/careers/?ref=pf">
<Mechanize::Page::Link "Terms" "/terms.php?ref=pf">
<Mechanize::Page::Link "Find friends" "/find-friends/?ref=pf">
<Mechanize::Page::Link "Privacy" "/policy.php?ref=pf">
<Mechanize::Page::Link "Mobile" "/mobile?ref=pf">
<Mechanize::Page::Link "Help Centre" "/help/?ref=pf">
Run Code Online (Sandbox Code Playgroud)
任何人都知道如何让Mechanize看到"喜欢"链接?
谢谢
归档时间: |
|
查看次数: |
2088 次 |
最近记录: |