Hi, is it possible to detect if it is normal user or bot connecting to my AIM application? Will be nice to know it immediatelly on AccSecondarySessionState_ReceivedProposal.
Thanks
Is it possible to detect that connection proposal is from bot?
| Login to post | Page: « < 1 of 1 > » |
| 15 Jul 2009 - 04:19 | 4630 |
| syfier1234 | Is it possible to detect that connection proposal is from bot? |
| 15 Jul 2009 - 12:01 | 4638 |
| openaimsupport | Is it possible to detect that connection proposal is from bot? Yes, test for the flag AccUserFlags_Bot. |
| 08 Aug 2009 - 16:59 | 4769 |
| syfierbot2 | Thanks for answer. But seems like this flag is not set. I used name registered as bot to connect to my app. Checked it on receiving IM message from bot.
Here is code I tried: bool TestForBot(IAccParticipant* pPart) { IAccUser* pUser; HRESULT res = pPart->get_User(&pUser); if (pUser) // check result too { xp_u32 f; AIMCC::get_Flags(pUser, &f); if(f & AccUserFlags_Bot) return true; } return false; } |
| 10 Aug 2009 - 10:25 | 4771 |
| openaimsupport | Is it possible to detect that connection proposal is from bot? The flag is only set for commercial bots and not to screen names that you
"bot"-ify. How did you register your BOT? |
| 06 Sep 2009 - 15:38 | 4921 |
| syfierbot2 | I have simply bot-ified this name (syfierbot2). So where is no way to detect such bot? |
| 06 Sep 2009 - 16:13 | 4922 |
| syfierbot2 | I'm trying to protect my bot from other bots. My bot will post information to users of my site (access to bot is not free). So I don't want other bots to rebroadcast this information to not subscribed users. |
| 08 Sep 2009 - 10:58 | 4926 |
| openaimsupport | Is it possible to detect that connection proposal is from bot? Unfortunately there is no way to detect a botified SN on the dev site, the
flag is only set for commercial BOTs. |
| Login to post | Page: « < 1 of 1 > » |
