Schmavery / facebook-chat-api

Unofficial Facebook Chat API for Nodejs
MIT License
1.93k stars 599 forks source link

Facebook security check #201

Closed mrkrumhausen closed 8 years ago

mrkrumhausen commented 8 years ago

I created a chatbot that receives and sends messages to users using a FB page. The bot is hosted on a server with a different IP than my personal pc. After posting a few messages, Facebook requires me to go through a security check every time I want to post a link, see screenshot

screen shot 2016-03-14 at 18 14 19

Since the bot can't do that it's not able to send links anymore. Any suggestions?

Schmavery commented 8 years ago

This sucks, but obviously the point of this api isn't to circumvent captchas.
This may be out of date, but it seems to indicate that the problem has more to do with spammy messaging behaviour or untrusted links... Maybe try to minify the url using tinyurl or something? There's a chance facebook has found a way to detect us, but I'd say that's unlikely, 'cause they probably don't care enough to try and block us.

Schmavery commented 8 years ago

This link may be even more relevant.

mrkrumhausen commented 8 years ago

Okay thanks. It's just a bunch of instagram links, so it should be untrusted links.

It must be connected either the IP or how the bot behaves (posts really fast)

Schmavery commented 8 years ago

I would definitely suggest not spamming links ;)

bsansouci commented 8 years ago

@mrkrumhausen You could try to send less links and throttle the speed of the response. We can't help bypass the spamming policies.

mrkrumhausen commented 8 years ago

Our service Sure is similar to Assist so we are sending Google, instagram links, etc. for each result. I'll see if I can figure something out. Thanks for the links.