Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WhatsAPI Net - Keep it alive ! #7

Closed
KapteinBabbalas opened this issue May 15, 2015 · 42 comments
Closed

WhatsAPI Net - Keep it alive ! #7

KapteinBabbalas opened this issue May 15, 2015 · 42 comments

Comments

@KapteinBabbalas
Copy link

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
Copy link
Owner

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
Copy link

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
Copy link
Author

Hi @sanderdriesen I'll have a look at it

@KapteinBabbalas
Copy link
Author

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
#7 (comment)
.

@urfrndsandy
Copy link

@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
Copy link
Author

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
#7 (comment)
.

@urfrndsandy
Copy link

@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
Copy link
Author

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
#7 (comment)
.

@urfrndsandy
Copy link

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

@urfrndsandy
Copy link

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

@KapteinBabbalas
Copy link
Author

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
Copy link

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
#7 (comment)
.

@KapteinBabbalas
Copy link
Author

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
#7 (comment)
.

@urfrndsandy
Copy link

@KapteinBabbalas yes bro.. same problem here..

@urfrndsandy
Copy link

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

@KapteinBabbalas
Copy link
Author

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
#7 (comment)
.

@urfrndsandy
Copy link

@KapteinBabbalas did you manage to parse incoming messages?

@KapteinBabbalas
Copy link
Author

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
#7 (comment)
.

@urfrndsandy
Copy link

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

@KapteinBabbalas
Copy link
Author

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

@KapteinBabbalas
Copy link
Author

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
#7 (comment)
.

@SkullyDev
Copy link

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

@KapteinBabbalas
Copy link
Author

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
#7 (comment)
.

@urfrndsandy
Copy link

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

@KapteinBabbalas
Copy link
Author

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
#7 (comment)
.

@urfrndsandy
Copy link

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

@PeterHunt
Copy link

Works for me as well, thanks!

@urfrndsandy
Copy link

@PeterHunt can you receive the messages?

@PeterHunt
Copy link

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

@urfrndsandy
Copy link

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

@PeterHunt
Copy link

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

@urfrndsandy
Copy link

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

@SkullyDev
Copy link

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

@KapteinBabbalas
Copy link
Author

@urfrndsandy
Copy link

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

@PeterHunt
Copy link

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

@urfrndsandy
Copy link

no other way out?

@KapteinBabbalas
Copy link
Author

KapteinBabbalas commented May 2, 2016

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
Copy link

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

@PeterHunt
Copy link

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
#7 (comment)

@urfrndsandy
Copy link

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

@urfrndsandy
Copy link

any update guys? yowsup is working fine by the way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants