4 years agoMerge pull request #475 from xX7/master master
Max Kovaljov []
Merge pull request #475 from xX7/master

OnGetGroupParticipants Event

4 years agoChanged Format.
xX7 []
Changed Format.

I luv copy paste...

4 years agoOnGetGroupParticipants Event
xX7 []
OnGetGroupParticipants Event

Added Event, that will be fired when the user calls: "sendGetGroupsParticipants".

4 years agoMerge pull request #472 from xX7/master
Max Kovaljov []
Merge pull request #472 from xX7/master

OnProfilePictureChanged Event

4 years agoMerge pull request #473 from Bashin/patch-1
Max Kovaljov []
Merge pull request #473 from Bashin/patch-1

Changed User-Agent to a newer version

4 years agoChanged User-Agent to a newer version
Bashin []
Changed User-Agent to a newer version

Some numbers were not identificated as actual users

4 years agoUpdate whatsprot.class.php
xX7 []
Update whatsprot.class.php

Wrong copy past, missing {}.

4 years agoUpdate whatsprot.class.php
xX7 []
Update whatsprot.class.php

Added "OnProfilePictureChanged" Event. Will be fired if one of your contacts changes its profile picture.

4 years agoMerge pull request #469 from pastoso/master
Max Kovaljov []
Merge pull request #469 from pastoso/master

Fix login: Use only version number for WHATSAPP_VER.

4 years agoFix login: Use only version number for WHATSAPP_VER.
pastoso []
Fix login: Use only version number for WHATSAPP_VER.

4 years agoUpdated exampleFunctional.php
Max Kovaljov []
Updated exampleFunctional.php

One of the fixes for #467

4 years agoUpdated client details to 2.11.69
Max Kovaljov []
Updated client details to 2.11.69

69 huehuehue

4 years agoReplaced pack with raw output
Max Kovaljov []
Replaced pack with raw output

4 years agoReplaced hex encoding with base64
Max Kovaljov []
Replaced hex encoding with base64

Makes your constant strings shorter and solves compatibility issues with
older PHP versions.

4 years agoMerge branch 'master' of https://github.com/shirioko/WhatsAPI
Max Kovaljov []
Merge branch 'master' of https://github.com/shirioko/WhatsAPI

4 years agoMerge pull request #466 from pastoso/master
Max Kovaljov []
Merge pull request #466 from pastoso/master

Implement new method for code request token generation

4 years agourlencode the token
pastoso []
urlencode the token

4 years agoAdd hex2bin replacement for php <= 5.3 from @atans
pastoso []
Add hex2bin replacement for php <= 5.3 from @atans

4 years agoImplement new method for code request token generation
pastoso []
Implement new method for code request token generation

4 years agoUpdate socket.php
Max Kovaljov []
Update socket.php

Another fix for #461

4 years agoUpdate exampleFunctional.php
Max Kovaljov []
Update exampleFunctional.php

Fix by @NulByte
Fixes #461

4 years agoUpdate contacts.php
Max Kovaljov []
Update contacts.php

May apply to #452

4 years agoFixed CC for North American numbers
Max Kovaljov []
Fixed CC for North American numbers

4 years agoMinor syntax fixes
Max Kovaljov []
Minor syntax fixes

4 years agoUpdated /tests/whatsapp.php
Max Kovaljov []
Updated /tests/whatsapp.php

Using the new method names

4 years agoLast fix and some socket checks
Max Kovaljov []
Last fix and some socket checks

4 years agoFixes in BinTreeNodeWriter
Max Kovaljov []
Fixes in BinTreeNodeWriter

4 years agoNope nope nope nope nope
Max Kovaljov []
Nope nope nope nope nope

I am soooo done for today.
Time to go to bed -__-

4 years ago*facepalm*
Max Kovaljov []
*facepalm*

4 years agoBig overhaul
Max Kovaljov []
Big overhaul

Changed calls to protocol node properties into getter methods
Added more @param, @throws and @return in docu blocks
Cleaned up code
Fixed pretty much all warnings
Wasted my whole afternoon on this

4 years agoAdded data getter
Max Kovaljov []
Added data getter

4 years agoChanged some protocol node stuff
Max Kovaljov []
Changed some protocol node stuff

Made properties private
Added getters for private properties
Added return types in docu blocks

4 years agoMerge pull request #447 from pastoso/master
Max Kovaljov []
Merge pull request #447 from pastoso/master

Handle socket closing and error opening

4 years agoFix copy/paste error. Do not set socket to null after closing it
pastoso []
Fix copy/paste error. Do not set socket to null after closing it

4 years agoclose socket and fire onClose on feof while reading. Fire onConnectError if fsockopen fails.
pastoso []
close socket and fire onClose on feof while reading. Fire onConnectError if fsockopen fails.

4 years agoMerge pull request #445 from pastoso/master
Max Kovaljov []
Merge pull request #445 from pastoso/master

Fire onGetStatus event when received message from xxx@s.us

4 years agoFire onGetStatus event when received message from xxx@s.us
pastoso []
Fire onGetStatus event when received message from xxx@s.us

4 years agoCleaned up duplicate code
Max Kovaljov []
Cleaned up duplicate code

As done by davidgfnet
https://github.com/davidgfnet/whatsapp-purple/commit/6205fcffd988f0986410fd74f77b814f2ae3c368

4 years agoFixed sending and responding to receipts
Max Kovaljov []
Fixed sending and responding to receipts

4 years agoMerge branch 'master' of https://github.com/venomous0x/WhatsAPI
Max Kovaljov []
Merge branch 'master' of https://github.com/venomous0x/WhatsAPI

4 years agoReplaced MD5 identity with SHA1
Max Kovaljov []
Replaced MD5 identity with SHA1

Fixes #443

4 years agoFixed version mismatch in WHATSAPP_VER and WHATSAPP_USER_AGENT
Max Kovaljov []
Fixed version mismatch in WHATSAPP_VER and WHATSAPP_USER_AGENT

4 years agoMerge pull request #441 from pastoso/master
Max Kovaljov []
Merge pull request #441 from pastoso/master

Handle status == ok on codeRequest response.

4 years agoHandle status == ok on codeRequest response.
pastosos []
Handle status == ok on codeRequest response.

It looks like the response for codeRequest can say it is ok and
don't need to send the code on a sms. If so, fire a onCodeRegister
event with the password included on the reponse.

4 years agoMerge pull request #438 from manufuentescr/patch-3
Max Kovaljov []
Merge pull request #438 from manufuentescr/patch-3

New WHATSAPP_VER , WHATSAPP_TOKEN , WHATSAPP_USER_AGENT
Fixes #437

4 years agoNew WHATSAPP_VER , WHATSAPP_TOKEN , WHATSAPP_USER_AGENT
Manu Fuentes []
New WHATSAPP_VER , WHATSAPP_TOKEN , WHATSAPP_USER_AGENT

This agent and token works with the latest version of whatsapp client

4 years agoUpdate README.md
Max Kovaljov []
Update README.md

4 years agoUpdated to Android client
Max Kovaljov []
Updated to Android client

By @Dynogic
Desperate times call for desperate measures, and we are pretty desperate
for working code request
As much as I'd like to use WP7 agent...

4 years agoAdded sendClientConfig
Max Kovaljov []
Added sendClientConfig

4 years agoAdded nextChallenge connection functionality
Max Kovaljov []
Added nextChallenge connection functionality

4 years agoAdded nextChallenge placeholder file
Max Kovaljov []
Added nextChallenge placeholder file

4 years agoAdded authBlob placeholder
Max Kovaljov []
Added authBlob placeholder

4 years agoUpped WP7 version and added status to features
Max Kovaljov []
Upped WP7 version and added status to features

4 years agoMerge branch 'master' of https://github.com/venomous0x/WhatsAPI
Jonathan []
Merge branch 'master' of https://github.com/venomous0x/WhatsAPI

4 years agoFix missing google contacts numbers appearing in whatsapp.php
Jonathan []
Fix missing google contacts numbers appearing in whatsapp.php

Silly me assumed all mobile phone numbers in the world were 12digits long. Fixed!

4 years agoMerge pull request #420 from xraul/master
Max Kovaljov []
Merge pull request #420 from xraul/master

Add new entries in .gitignore

4 years agoAdd new entries in .gitignore
Raul Bernardeli []
Add new entries in .gitignore

Added ignore to PHPStorm and KomodoProject

4 years agoUpdated README.md
Max Kovaljov []
Updated README.md

4 years agoFixed typo GRAMMARNAZI JA
Max Kovaljov []
Fixed typo GRAMMARNAZI JA

4 years agoUpdate the Readme.md to highlight new event names/renaming
Jonathan []
Update the Readme.md to highlight new event names/renaming

4 years agoEnsure each groupID passed to sendGroupsLeave is changed to a proper GroupID.
Jonathan []
Ensure each groupID passed to sendGroupsLeave is changed to a proper GroupID.

4 years agoAdded some markup to EVENTS.md
Jonathan []
Added some markup to EVENTS.md

4 years agoRenamed a lot of events to match newly named methods.
Jonathan []
Renamed a lot of events to match newly named methods.

Please check your code if you have been using events.

4 years agoFixed onGetRequestLastSeen event.
Jonathan []
Fixed onGetRequestLastSeen event.

4 years agoAdded onGetError event if requested query has no data
Jonathan []
Added onGetError event if requested query has no data
(eg you have no-one in a blocked list but you ask for the list)

4 years agoAdded onGetPrivacyBlockedList Event
Jonathan []
Added onGetPrivacyBlockedList Event

4 years agoGetPrivacyBlockedList waits for response from server.
Jonathan []
GetPrivacyBlockedList waits for response from server.

4 years agoFixed sendGetClientConfig() from reporting an error. But still no useful data returned.
Jonathan []
Fixed sendGetClientConfig() from reporting an error. But still no useful data returned.

Undo sendClearDirty change.

4 years agoRemoved old sendBroacastPlace (replaced with sendBroadcastLocation)
Jonathan []
Removed old sendBroacastPlace (replaced with sendBroadcastLocation)

Renamed sendLocation to sendMessageLocation for API consistency.

4 years agoWait for Response for sendClearDirty
Jonathan []
Wait for Response for sendClearDirty

4 years agoFixed Group functions. Now add/end group, add/remove participants, groupInfo and getGroups all work reliably.
Jonathan []
Fixed Group functions. Now add/end group, add/remove participants, groupInfo and getGroups all work reliably.

4 years agoAutomatically convert participants to array
Max Kovaljov []
Automatically convert participants to array

4 years agoadded onGetServerProperties event
Max Kovaljov []
added onGetServerProperties event

4 years agoRemove line not ready yet for release.
Jonathan []
Remove line not ready yet for release.

4 years agoMerge branch 'master' into docbloc
Jonathan []
Merge branch 'master' into docbloc

4 years agoRenamed protected method to avoid confusion.
Jonathan []
Renamed protected method to avoid confusion.

Also some small code formatting changes.

4 years agoCombined sendLocation and sendPlace into one. Removed duplicate code.
Jonathan []
Combined sendLocation and sendPlace into one. Removed duplicate code.

4 years agoRefactor some mediafile sending code. Added example URL's to exampleFunctional.php
Jonathan []
Refactor some mediafile sending code. Added example URL's to exampleFunctional.php

4 years agoAdded Constants for Media and Pictures folder
Jonathan []
Added Constants for Media and Pictures folder

4 years agoAdded and fixed multiple DocBloc sections to improve documentation.
Jonathan []
Added and fixed multiple DocBloc sections to improve documentation.

4 years agoAdded reading mcc from countries.csv
Max Kovaljov []
Added reading mcc from countries.csv

4 years agoMerge remote-tracking branch 'upstream/master'
Max Kovaljov []
Merge remote-tracking branch 'upstream/master'

4 years agoFixed Canada false positives on US numbers
Max Kovaljov []
Fixed Canada false positives on US numbers

Split Canada into area codes

Fucking Canada

4 years agoUpdate countries.csv
Max Kovaljov []
Update countries.csv

4 years agoMerge pull request #404 from atans/patch-1
Max Kovaljov []
Merge pull request #404 from atans/patch-1

Small fix

4 years agoSmall fix
Atans []
Small fix

4 years agoAdded check for SHA identity hash on code request
Max Kovaljov []
Added check for SHA identity hash on code request

Starting to tie up loose ends by force. Using MD5 hash with WP7 client
details won't work anymore.

4 years agoMoved back to WP7 client details
Max Kovaljov []
Moved back to WP7 client details

Also modified code request to match query string sent by WP7 client
I WILL MAKE THIS WORK!!1! D:<

4 years agoCredit user who discovered Android Token.
Jonathan []
Credit user who discovered Android Token.

4 years agoUpdated Readme with new info.
Jonathan []
Updated Readme with new info.

4 years agoAdded sendBroadcastPlace() and sendBroadcastLocation()
Jonathan []
Added sendBroadcastPlace() and sendBroadcastLocation()

Enabled whatsapp.php script to take advantage of these new features.

4 years agoExpanded the exampleFunctional.php demo and fixed some typos.
Jonathan []
Expanded the exampleFunctional.php demo and fixed some typos.

4 years agoSpeeling mistokes.
Jonathan []
Speeling mistokes.

4 years agoRename and place new Broadcast features in order with rest of file.
Jonathan []
Rename and place new Broadcast features in order with rest of file.

4 years agoRemove old example files.
Jonathan []
Remove old example files.

4 years agoDestroy all references to IMEI and MAC address. Hallelujah!
Jonathan []
Destroy all references to IMEI and MAC address. Hallelujah!

4 years agoCreated two new example files to show how to either send messages once you know your password, or how to register to get your password.
Jonathan []
Created two new example files to show how to either send messages once you know your password, or how to register to get your password.

4 years agoUpdate Readme with info on the new code changes
Jonathan []
Update Readme with info on the new code changes

4 years agoAdded media broadcast
Max Kovaljov []
Added media broadcast

Quite dirty, hope I didn't break anything... x_x

4 years agoSome last minute const name changes.
Jonathan []
Some last minute const name changes.