sanderdriesen / WhatsAPINet

A .NET WhatsApp API
32 stars 48 forks source link

WhatsAPI Net - Keep it alive ! #7

Closed KapteinBabbalas closed 9 years ago

KapteinBabbalas commented 9 years ago

Hi Sander, I would like to contribute to the .net version of WhatsApi. I have been using it for a while , but I see that people are removing it from their repo's because of threats from WhatsApp ( guys like Team Venomous ) It would be a shame to see this project die. Will you send me a personal message to discuss this further?

sanderdriesen commented 9 years ago

Hi @KapteinBabbalas, As a contribution you are always welcome to submit any pull requests. We will submit your change to the fork after reviewing.

urfrndsandy commented 8 years ago

Dear Devs there is an error in WhatsMessageHandler at line 42 that says serverNickname is not in the context, may be another cs file was missed in the commit. @KapteinBabbalas can you fix this please? Also two events for OnGetMessage are not fixed.

KapteinBabbalas commented 8 years ago

Hi @sanderdriesen I'll have a look at it

KapteinBabbalas commented 8 years ago

Hi Sander

I fixed it, sent you a pull request.

Pieter

On 23 July 2015 at 07:17, urfrndsandy notifications@github.com wrote:

Dear Devs there is an error in WhatsMessageHandler at line 42 that says serverNickname is not in the context, may be another cs file was missed in the commit. @KapteinBabbalas https://github.com/KapteinBabbalas can you fix this please? Also two events for OnGetMessage are not fixed.

— Reply to this email directly or view it on GitHub https://github.com/sanderdriesen/WhatsAPINet/issues/7#issuecomment-123969052 .

urfrndsandy commented 8 years ago

@KapteinBabbalas thanks a ton bro, i think Sander is busy with something, if it is allowed can you send me the updated .cs or lines or the package? please..

KapteinBabbalas commented 8 years ago

Hi

Cool no problem, glad I could help. I cannot send the package as Gmail blocks the attachment.

Here is a dropbox link for the entire solution https://www.dropbox.com/s/dww3ctonjzcfrml/WhatsAPINet.rar?dl=0 The fixes was in the WhatsTest project--events that needed extra parameters. In the WhatsAppPort project -- a reference to a "serverName' string that was renamed in the Api itself.

On 28 July 2015 at 11:27, urfrndsandy notifications@github.com wrote:

@KapteinBabbalas https://github.com/KapteinBabbalas thanks a ton bro, i think Sander is busy with something, if it is allowed can you send me the updated .cs or lines or the package? please..

— Reply to this email directly or view it on GitHub https://github.com/sanderdriesen/WhatsAPINet/issues/7#issuecomment-125518869 .

urfrndsandy commented 8 years ago

@KapteinBabbalas thanks a Tonne... but still am unable to make it receive messages. Can you help me on that please.. I have added OnMessage recieved event and also have an event defined to handle messages but it doesnt seem to work

KapteinBabbalas commented 8 years ago

Did you manage to get it to work?

On 28 July 2015 at 13:44, urfrndsandy notifications@github.com wrote:

@KapteinBabbalas https://github.com/KapteinBabbalas thanks a Tonne... but still am unable to make it receive messages. Can you help me on that please.. I have added OnMessage recieved event and also have an event defined to handle messages but it doesnt seem to work

— Reply to this email directly or view it on GitHub https://github.com/sanderdriesen/WhatsAPINet/issues/7#issuecomment-125570602 .

urfrndsandy commented 8 years ago

@KapteinBabbalas no bro not yet.. and not sure why aint getting messages

urfrndsandy commented 8 years ago

@KapteinBabbalas bro can you get messages in the current issue?

KapteinBabbalas commented 8 years ago

Yes I can, double check that you are actually logged in, not just connected. Step through the code at the part where it logs in, then check the connection status.

urfrndsandy commented 8 years ago

Thanks bro.. i will try that and let you know.

On Mon, Aug 24, 2015 at 1:02 PM, KapteinBabbalas notifications@github.com wrote:

Yes I can, double check that you are actually logged in, not just connected. Step through the code at the part where it logs in, then check the connection status.

— Reply to this email directly or view it on GitHub https://github.com/sanderdriesen/WhatsAPINet/issues/7#issuecomment-134072427 .

KapteinBabbalas commented 8 years ago

Hi Sander

I have problems logging in my numbers this morning, even after I used the latest version of the code and register I get an unauthorized message. Maybe Whats App changed something, because the numbers are not blocked.

Just want to know if anybody else have these issues today

On 28 July 2015 at 15:52, Pieter Fouché pieterf33@gmail.com wrote:

Did you manage to get it to work?

On 28 July 2015 at 13:44, urfrndsandy notifications@github.com wrote:

@KapteinBabbalas https://github.com/KapteinBabbalas thanks a Tonne... but still am unable to make it receive messages. Can you help me on that please.. I have added OnMessage recieved event and also have an event defined to handle messages but it doesnt seem to work

— Reply to this email directly or view it on GitHub https://github.com/sanderdriesen/WhatsAPINet/issues/7#issuecomment-125570602 .

urfrndsandy commented 8 years ago

@KapteinBabbalas yes bro.. same problem here..

urfrndsandy commented 8 years ago

@KapteinBabbalas also surprisingly https://github.com/mgp25/Chat-API-NET is working...

KapteinBabbalas commented 8 years ago

I also noticed that

On 5 November 2015 at 10:30, urfrndsandy notifications@github.com wrote:

@KapteinBabbalas https://github.com/KapteinBabbalas also surprisingly https://github.com/mgp25/Chat-API-NET is working...

— Reply to this email directly or view it on GitHub https://github.com/sanderdriesen/WhatsAPINet/issues/7#issuecomment-154003249 .

urfrndsandy commented 8 years ago

@KapteinBabbalas did you manage to parse incoming messages?

KapteinBabbalas commented 8 years ago

Hi Sander

I could receive incoming messages since I couldn't log in, with the CHAT-API-NET code it everything worked as it should.

On 5 November 2015 at 10:50, urfrndsandy notifications@github.com wrote:

@KapteinBabbalas https://github.com/KapteinBabbalas did you manage to parse incoming messages?

— Reply to this email directly or view it on GitHub https://github.com/sanderdriesen/WhatsAPINet/issues/7#issuecomment-154009519 .

urfrndsandy commented 8 years ago

@KapteinBabbalas can you share the method used to parse messages?

KapteinBabbalas commented 8 years ago

I couldn't parse incoming messages,I'm trying to see the difference between CHAT-API and WhatsAPINET in the login process

KapteinBabbalas commented 8 years ago

Hi Sander

Looks like they (WhatsApp) changed something again, getting unauthorized message again. The mgp25/Chat-API-NET also gives the same error. Are you also having this issue?

On 5 November 2015 at 09:03, Pieter Fouché pieterf33@gmail.com wrote:

Hi Sander

I have problems logging in my numbers this morning, even after I used the latest version of the code and register I get an unauthorized message. Maybe Whats App changed something, because the numbers are not blocked.

Just want to know if anybody else have these issues today

On 28 July 2015 at 15:52, Pieter Fouché pieterf33@gmail.com wrote:

Did you manage to get it to work?

On 28 July 2015 at 13:44, urfrndsandy notifications@github.com wrote:

@KapteinBabbalas https://github.com/KapteinBabbalas thanks a Tonne... but still am unable to make it receive messages. Can you help me on that please.. I have added OnMessage recieved event and also have an event defined to handle messages but it doesnt seem to work

— Reply to this email directly or view it on GitHub https://github.com/sanderdriesen/WhatsAPINet/issues/7#issuecomment-125570602 .

SkullyDev commented 8 years ago

Same here Can't reregister with WART... Tells "old_version"

KapteinBabbalas commented 8 years ago

Hi Guys

Got the mpg25/chat-api working by just updating the new constants values that is used in the original PHP lib. But when I tried to make the changes in this one , it still won't work.

On 3 December 2015 at 23:38, SkullyDev notifications@github.com wrote:

Same here

— Reply to this email directly or view it on GitHub https://github.com/sanderdriesen/WhatsAPINet/issues/7#issuecomment-161811359 .

urfrndsandy commented 8 years ago

@KapteinBabbalas can you please guide me what exactly you changed?

KapteinBabbalas commented 8 years ago

Hi

Shure no probs:

In the file WhatsAppApi/Settings:

public const string WhatsAppVer = "2.13.21"; public const string UserAgent = "WhatsApp/2.13.21 S40Version/14.26 Device/Nokia302";

thats it.

On 4 December 2015 at 08:39, urfrndsandy notifications@github.com wrote:

@KapteinBabbalas https://github.com/KapteinBabbalas can you please guide me what exactly you changed?

— Reply to this email directly or view it on GitHub https://github.com/sanderdriesen/WhatsAPINet/issues/7#issuecomment-161899361 .

urfrndsandy commented 8 years ago

@KapteinBabbalas thank you!!!.. it worked perfectly to me.

PeterHunt commented 8 years ago

Works for me as well, thanks!

urfrndsandy commented 8 years ago

@PeterHunt can you receive the messages?

PeterHunt commented 8 years ago

No, that is the other issue; encryption. Sending is no problem.

urfrndsandy commented 8 years ago

am having a hard time receiving messages, can someone help me on this?

PeterHunt commented 8 years ago

Don't you receive anything at all, or gibberish?

urfrndsandy commented 8 years ago

i dont receive anything. Could you parse it? if so could you please share the code.

SkullyDev commented 8 years ago

@KapteinBabbalas hey where do you find these version strings, if not a secret just to know on future? :D

KapteinBabbalas commented 8 years ago

https://github.com/WHAnonymous/Chat-API

urfrndsandy commented 8 years ago

hi Guys.. it has stopped working again.. any solutions this time? @KapteinBabbalas @PeterHunt @sanderdriesen

PeterHunt commented 8 years ago

It stopped working for me as well about a month ago. Actually I gave up on this API more or less...

urfrndsandy commented 8 years ago

no other way out?

KapteinBabbalas commented 8 years ago

I have also given up on this. WhatsApp is in the process of making a public api (for Business use ) available. http://www.forbes.com/sites/parmyolson/2016/01/18/whatsapp-businesses-free-1-billion/#21049f95b6bd

If you want to build bots, Microsoft has realeased a bot framework from where you can create bots and just connect the bot to multiple platforms, like skype for example. https://dev.botframework.com/

Facebook also has an official Messenger api that you also can hook up (manually) to the bot framework. https://developers.facebook.com/products/messenger/ Who knows maybe in a short while there will be a WhatsApp bot connector as well.

urfrndsandy commented 8 years ago

Thanks @KapteinBabbalas .. sadly.. end of our projects.

PeterHunt commented 8 years ago

For what it's worth, my application connects fine, but after +/- 1 minute it closes with a "stream error".

rx /stream:error 02-05-2016 - 17:19:58 - [Connect] Connected.. 02-05-2016 - 17:19:58 - [Debug]

Within that minute I can send messages...

2016-05-02 11:55 GMT+02:00 urfrndsandy notifications@github.com:

Thanks @KapteinBabbalas https://github.com/KapteinBabbalas .. sadly.. end of our projects.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/sanderdriesen/WhatsAPINet/issues/7#issuecomment-216183478

urfrndsandy commented 8 years ago

@PeterHunt now even the WART is not working for me to test it :( sad that we are near to the end.

urfrndsandy commented 7 years ago

any update guys? yowsup is working fine by the way