Erfan Posted December 27, 2015 Share Posted December 27, 2015 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 #RequireAdminHotKeySet("{F7}","Start")HotKeySet("{F8}","Stop")While 1 sleep(1)WEndFunc Start() While 1 Local $coord = PixelSearch(426, 432, 436, 431, 0x000103) If Not @error Then Sleep(3000) Send("{F5}") EndIf $coord = PixelSearch(426, 432, 436, 431, 0x000103) If Not @error Then MouseClick ("left", 471, 900) Sleep(2000) Send ("@Ali Elchafei") Sleep (1000) Send ("({Enter})") EndIf WEndEndFuncFunc Stop() Exit 0EndFunc Link to comment Share on other sites More sharing options...
Erfan Posted December 27, 2015 Author Share Posted December 27, 2015 push Link to comment Share on other sites More sharing options...
Developers Jos Posted December 27, 2015 Developers Share Posted December 27, 2015 @Erfan,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.Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
computergroove Posted December 28, 2015 Share Posted December 28, 2015 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 -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html Link to comment Share on other sites More sharing options...
TheSaint Posted December 28, 2015 Share Posted December 28, 2015 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. Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler 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) Link to comment Share on other sites More sharing options...
Bert Posted December 28, 2015 Share Posted December 28, 2015 Doesn't Facebook have an API? I have no idea. I don't use Facebook myself. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Danyfirex Posted December 28, 2015 Share Posted December 28, 2015 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. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now