Send WhatsApp sms from c#

Hello Everyone,
I have downloaded this whatsApp Api
Whatsapp API for .NET 15.1.9
But I don't know how to use this API to send Message to others
I tried the following code but it is throwing exception
WhatsAppApi.WhatsApp objwa = new WhatsAppApi.WhatsApp("+923422352158", "123456789012345", "Taqi",true);
objwa.OnError += new WhatsAppApi.WhatsEventBase.OnErrorDelegate(objwa_OnError);
objwa.OnConnectFailed += new WhatsAppApi.WhatsEventBase.ExceptionDelegate(objwa_OnConnectFailed);
objwa.Connect();
objwa.Login();
The Above code throw exception
Invalid length for a Base-64 char array.
Any help will be appreciated.
Thanks
www.techgulf.blogspot.com

Any questions you may have about the third-party Whatsapp API for .NET should not be asked in these forums as they are intended for Microsoft's products and technologies only.
You may ask your question somewhere on the project site or ask the owners directly if you have a question or issue regarding this API:
https://www.nuget.org/packages/WhatsAppAPI/
Please remember to close your threads by marking helpful posts as answer.

Similar Messages

  • How can i send multiple sms from my iphone 4

    how can i send multiple sms from my i phone 4

    Turn Group Messaging (instructions in lin that follows) off and send the message to multiple recipients. The result may be dependent on your carrier. If manually keying in numbers rather than using contacts, use the return key after each number. http://support.apple.com/kb/HT5760

  • Regards sending text sms from oracle forms 10g

    Do anybody know about sending the sms from oracle forms.If anybody had means please send me the script......

    Welcome to the Oracle Forums. Please take a few minutes to review the following:
    <ul>
    <li>Before posting on this forum please read
    <li>10 Commandments for the OTN Forums Member
    <li>Announcement: Forums Etiquette / Reward Points
    </ul>
    Do anybody know about sending the sms from oracle forms.If anybody had means please send me the script...... This is a commonly asked question. Have you tried searching the forum for possible solutions? Take a look at this search result. I would also recommend you take a look at the Oracle Forms Services 11g web page and scroll down to the Oracle Forms 11g calling a web service link. This is a white paper published by Grant Ronald that specifically describes the process of sending SMS from Oracle Forms.
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • HT201328 I cannot send any SMS from my phone

    Way I can't send any SMS from my iphone

    Could be one of several reasons. What happens when you try? What error message do you see?
    Is SMS supported in your carriers plan?
    Do you have messaging turned on is Settings?
    To you have the correct number selected in Settings > Messages > Send and Receive From?

  • Send unicode SMS from mobile phone .

    is there any way , to send SMS from moblie using j2me. i need to send my own language format, i mean unicode format.(my language is bangla).
    plz guys help me with code or provide url.

    Hello,
    I need some help for my project....I'm working to an application who send a SMS from a PC tu mobile....Onto mobile I need to install a j2me application that receive the SMS from PC and send that SMS to other PC (using infrared or bluetooth)... I wait for advices.
    Thank you!

  • I can't send any SMS from my new iphon ( vodafon )

    i can't send any SMS from my iPhone 4 ( vodafon )

    According to AOL they support IE, Firefox, and Safari: http://help.aol.com/help/microsites/microsite.do?cmd=displayKC&docType=kc&extern alId=73451
    Have you tried contacting there support to see if they are aware of the issue: http://help.aol.com/help/microsites/microsite.do

  • HT202724 How i can send multiple sms from mac without being a group message ?

    How i can send multiple sms from mac without being a group message ?

    Start new conversations, one for each recipient.

  • Is not possible to send a sms from Italy to Belaru...

    Hi Guys,
    I am stay in Italy on my personal computer, through an italian account from my list of skype, I can not delivery a sms at price of 0,078 € to a mobile phone in Belarus. In fact beside there is the message "delivered not yet".
    Viceversa I can, through a Belarus account or Moldavian account of my list of Skype, regardless of their are on-line or off-line, sending a sms to a mobile phone in Belarus always at the price of 0,078 €.
    I can not understand because is not possible to send a sms by italian account while is it possible by belarus account or moldavian account.
    Thank you everybody.

    Hi Xperts,
    Have found the solution by using the Standard  Program RSWNSENDMAIL1. Need to pass the sender
    userid in the field of 'User id for System Logon.
    ThanQ.
    Krishna.

  • Need to send an SMS from SAP ( by writing a custom report ) System.

    Hi All,
    I am with a requirement like sending SMS after generating some random number .
    Like I will collect the mobile number from HR mastr data and thereafter I need to send an SMS.
    I am not aware of this SMS sending concepts.
    For this I have to develop ABAP report.
    Kindly help me out.
    Best Regards,
    Veerendra Nath

    hi , you can Use Email to SMS , this Facility Should be Available with your Mobile Service Provider , here in Sri lanka its Possible , pls check the Code below
    DATA : t_mailtext TYPE bcsy_text,
              t_lines LIKE tline OCCURS 0 WITH HEADER LINE.
    DATA: objtxt LIKE solisti1 OCCURS 150 WITH HEADER LINE.
    DATA : object_id LIKE sofolenti1-object_id.
    DATA: usrid_long TYPE string.
    DATA: reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINE.
    DATA: doc_chng LIKE sodocchgi1.
    DATA: tab_lines LIKE sy-tabix.
    REFRESH : t_mailtext.
    APPEND t_lines.
    CONCATENATE  'Errors in RCC' sy-datum sy-uzeit INTO objtxt SEPARATED BY space.
      APPEND objtxt.
    Subject for the SMS Alert
      DATA : lw_message TYPE c LENGTH 50.
      lw_message = 'PO Log'.
      doc_chng-obj_descr = lw_message.
      DESCRIBE TABLE objtxt LINES tab_lines.
      READ TABLE objtxt INDEX tab_lines.
      doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
    Entering names in the distribution list
      usrid_long = '3667971"at sign"dialog.lk'.
      reclist-receiver = usrid_long.
      reclist-rec_type = 'U'.
      APPEND reclist.
    *--Second Email Recepient
      usrid_long = '3667975"at sign"dialog.lk'.
      reclist-receiver = usrid_long.
      reclist-rec_type = 'U'.
      APPEND reclist.
      CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
        EXPORTING
          document_data                    = doc_chng
      DOCUMENT_TYPE                    = 'RAW'
         put_in_outbox                    = 'X'
         commit_work                      = 'X'
       IMPORTING
         new_object_id                    = object_id
        TABLES
         object_content                   = objtxt
          receivers                        = reclist
       EXCEPTIONS
         too_many_receivers               = 1
         document_not_sent                = 2
         document_type_not_exist          = 3
         operation_no_authorization       = 4
         parameter_error                  = 5
         x_error                          = 6
         enqueue_error                    = 7
         OTHERS.
    Thanks & Br
    Dilum Alawatte

  • Sending an sms from the Oracle On Demand

    Hi,
    Is there any possible way to send an sms to mobiles from oracle on demand...
    Please keep me posted on this and also if u have any documents please send the documents @ [email protected]
    Thanks,
    Srinivas Merugu

    Srinivas,
    We have an add on that does this, especially from the Service Request object. I'll send you an email to discuss it.
    cheers
    Alex

  • Can't send an SMS from missed call list

    When I go the missed call list and select 'text message' to send an SMS the phone freeze for a couple of seconds and goes back to the home page....

    try resetting the phone
    If that doesn't work
    sync up your phone so everything is backed up and then try restoring the phone
    If that doesn't work
    Return it to a apple store and see if they can do anything with it

  • Weird one! Phone sending random SMS from earlier.....

    Has anyone ever come across this one before? The last couple of days, when I have sent an SMS (particularly one which is long enough to be sent as two parts), the recipient has not received what I sent but has instead received a text again that I sent them earlier - sometimes earlier that day, sometimes a few days before. And the previous messages had been deleted from my phone. Weird eh?! Any ideas anyone??
    Chris

    I'm having the same problem, friends getting the same old message over and over again, almost every time I send a new message. the problem started when I got my new mobile phone (nokia 6300). Those friends are with the same or with another mobile company. Maybe I should try it out for a week with my old mobile phone, see if it happens again. What do you think?
    Greetings,
    Björn

  • Sending iphone sms from my mac

    I want to be able to interact with my iPhone using Mac OS X 10.5.8 or higher. Some of the things I want to do are:
    - display my iPhone screen on my MacBook Pro screen
    - open & close apps and generally interact with my iPhone using my MacBook Pro screen, keyboard & mouse
    - compose SMS messages on my MacBook and send them through my iPhone
    - read SMS messages on my MacBook that have been received on my iPhone
    - get my iPhone to dial numbers from my OS X Address Book simply by clicking on the number in the OS X Address Book App (e.g. no interaction with iPhone involved). Would like to get a similar means of controlling my Cisco/Linksys VoIP phone in the same way if I could, but hey - one thing at a time.
    My philosophy is this:
    - I have used a Mac for the past 28 years and find it the best computer interface since sliced bread.
    - I type at over 80 words a minute, so find it easier to type stuff on my Mac than on iPhone or other iOS device
    - my iPhone (or my VoIP phone) is just another communications device that merges with my MacBook and extends my communications media to include voice & SMS along with other media such as Skype, iChat, Facetime (which I have on my MacBook btw), etc.
    Together, my iPhone, MacBook Pro, iPad, etc. should form a seamless communications system that enables me to communicate with anyone, anywhere, using whatever method I choose (Voice, video, SMS, email, Facebook message, etc).
    A nice to have would be able to integrate all the messages, phone call logs, etc. into Address Book, so that when I open a particular contact, there is an option to show me all the communications I have had with that person in whatever format.
    So, anyone any ideas?
    Apple, when do you think some of these features will become integrated features in OS X and iOS?

    KiltedTim - Apple do read these types of posts in order to pick up isses in their software, help develop pre-emptive bug-fixes, and identify future feature requirements.
    k.kofflard - The link you give is for an updated version of OS X Mail that is available only in Mountain Lion. Messages is already on iOS 5 which I have on my iPhone. Whilst it enables messaging to other OS X and iOS devices, it can communicates mainly via the IP protocol and overiding SMS - e.g. when the iOS device is attached to an IP network, it bypasses SMS and messages the other iOS/OSX device directly. This is neat because if saves on text message charges to other iOS/OSX users, but does not work at all with non-Apple users (e.g. currently 90%+ of the population). However, if I try to message a contact who only has an old Ericsson mobile phone, it won't work on OS X and iOS5 simply reverts to SMS if it has a GSM connection (which of course Macs, iPods and most iPads do not have).
    The point is we live in a hybrid OS world and will always need to exchange message with non-Apple devices. What I need is a simple means to use my existing SMS capability of my iPhone (to message non-Apple users), but drive the messages from my MacBook Pro using OS X. Surely it can't be that difficult to create a small App that enables this function?

  • How can i send an sms from my ipad mini?

    I finally got my nano-sim card today and would like to be able to text and recieve sms-messages from people who aren't hooked up with iMessage. I can't find any infos in the handbook on sending a simple sms. How do I go about doing that or setting up this feature?
    Thanks.
    -Kim

    About Messages
    http://support.apple.com/kb/HT3529
    Activating FaceTime and iMessage
    http://support.apple.com/kb/TS4268
    Trouble-shooting iMessage
    http://support.apple.com/kb/ts2755

  • CAN'T SEND A SMS FROM MY VERIZON BLACKBERRY 9530

    HI Guys
    can someone please help me, Im in south africa and got a blackberry storm 9530 from my brother in the USA, its unlocked, I can receive calls and smsses but cannot send any smsses, im going crazy. please help!!!!

    I had the same problem, i live in SA as well.
    to fix do this:
    menu -> options -> advanced options -> sim card -> blackberry button ->edit SIM Phone Number -> enter your number without the country code. eg 074 *** **** and not +27* *** ****
    next do this :
     menu -> options -> phone options -> voice mail -> change access number to your number.
    menu -> options -> phone options -> smart dailing -> country code -> and selct  South Africa (+27)

Maybe you are looking for

  • When i try to scan i get a message to update my product. How do I do this?

    When I try to scan sosmething to email i get a message to update my product. I press ok but it does not update it and it does not tell me how to do it either. please help

  • MAC PRO PROBLEM TO PRINT PDF BY Xerox ColorQube 9203 WITH ACCOUNTING

    We have Xerox ColorQube 9203 with Standard Accounting Enabled and we managed to connect to this printer. But the problem is we can print from email but we could not be able to print from Adobe Reader or any PDF. Any help

  • Why doesn't my G4 start up in Target Mode?

    I hold down the "T" key while starting up and I get no floating FireWire icon. Just a blank screen, then it shuts down. Have researched for days. Article: TS1987 http://support.apple.com/kb/TS1987 States: +•1. Make sure the FireWire cable is good and

  • Disk space vanished

    Hello out there! I was just "cleaning out" my mac to get some free disk space when I noticed something odd: all my folders sum up to a total of about 52GB, but when I get the info for my hard drive, it tells me i have 85GB of used disk space! That is

  • Please help, I HATE Apple right now!

    Hi everyone, I'm really at my wit's end here. I am a poor student, made even poorer with my purchase of an iMac in January to help me with my course. I was in love with the machine til March, when it started to switch itself off intermittently, a pro