globelabs / api

Globe Labs APIs (2013)
52 stars 71 forks source link

SMS with > 160 characters does not send #9

Open rrsilaya opened 7 years ago

rrsilaya commented 7 years ago

I came across this situation that whenever I try to send an SMS with more than 160 characters, it simply does not send. As of now, my temporary fix is to chunk the SMS into 160-character messages.

Also, some information on receiving multi-part SMS such as multPartRefId are not included in the payload.

adin234 commented 7 years ago

yes, that is the expected behavior as per the old and new docs

rrsilaya commented 7 years ago

It says in the documentation that

You can send multi-part sms like you would in sending a normal sms, just keep in mind that you will be charged per 160 characters.

adin234 commented 7 years ago

are you using any wrapper class? if yes, will you mind telling us which wrapper class you used? a sample request will also help.

rrsilaya commented 7 years ago

No, I believe that I'm not using any wrapper classes. As I said, sending messages less than 160 characters sends but sending above that doesn't. As it was stated in the docs, the API can send messages more than 160 characters, that is a multi-part SMS, like you would in sending a normal sms. I don't see anything wrong with what I'm doing previously if that is the case.

sinnedmi commented 6 years ago

how can i send message po? i'm always redirected to registration screen? maraming salamat po https://developer.globelabs.com.ph/dialog/oauth?app_id=*****

sorry for this question

MikeLince commented 3 years ago

tanong naman po.

i'm using .net. nakuha ko na po yung token at na authorize na rin, kaso kapag mag send nako sa SMS nag error siya "Unauthorized"

gamit kong API GlobeLapAPI

var data = api1.PushSms(shortCode, payload); <- dito po siya nag error