Facebook bot

7 posts in this topic

Hey guys,

i need help at my bot :( I want a facebook bot which is checking who is the last comment .


If the guy doesnt have a black pic the bot will post my text and if im the last the side is refreshing but i dont know why it dosend working. Here is the code 




While 1

Func Start()
    While 1
        Local $coord = PixelSearch(426, 432, 436, 431, 0x000103)
        If Not @error Then

        $coord = PixelSearch(426, 432, 436, 431, 0x000103)
        If Not @error Then
            MouseClick ("left", 471, 900)
            Send ("@Ali Elchafei")
            Sleep (1000)
            Send ("({Enter})")

Func Stop()
    Exit 0

Share this post

Link to post
Share on other sites


Please do not bump your own threads within 24 hours.
Remember this is not a 24/7 support forum - those who answer are only here because they like helping others and have some time to spare.  You just have to wait until someone who knows something about your particular problem, and is willing to help, comes online.


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
Live for the present,
Dream of the future,
Learn from the past.

Share this post

Link to post
Share on other sites

You should use some debug code to determine what the script is detecting as a pixel value when someone comments. 

MsgBox(0,"Coordinate Detected", "The pixel detected is: " & $coord)

Get Scite to add a popup when you use a 3rd party UDF ->

Share this post

Link to post
Share on other sites

I would suggest, that what you are attempting to do, is much more difficult than the effort is worth, especially with the fluctuating state that is Facebook much of the time. I cannot see how you would get much accuracy for long.

You would be better off using a Scrape and Filter process ... if that would indeed even work within the bounds of Facebook.

AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.


What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)


Share this post

Link to post
Share on other sites

You can use IE. (keep logged in) go to that comments page. go through that fields and check if it's your comment.

an alternative can be using ImagenSearch.



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now