Automatically accept contacts using phpmsnclass

I am currently using phpmsnclass to send messages to contacts on the MSN network. But in order to get a nickname on my “bot” for work, I have to accept the “friend request” that my contacts sent me.

From debuginfo, I found that around line 1672 in the msn.clas.php file, this is a kind of auto-confirmation function. But I can’t use the doLoop function, which has this function because it never ends.

So, does anyone have time to check this out for me, or do you have another structure for working with msn that might be better? Read about MSN a lot now, but I don’t know how to do this from my own mind, I need some tips.

Thanks in advance: thanks

+3
source share
1 answer

I'm not quite sure how you will do this, but have you thought about a two-part test? One that runs during an active program, and then while it is active, checks to see if any function is trying to add a bot. If someone then proceeds to automatic acceptance. This will require response time. I hope the pseudo-code below helps as much as possible, at least a little.

while (program is running) 
   if (pendingRequest == true){
        doSomething
   }
}
+1
source

All Articles