twilio ip messaging REST API retrieve channel return useless result -


i'm trying retrieve channel, , add user channel.

call api https://www.twilio.com/docs/api/ip-messaging/rest/channels#retrieve-a-channel

returns

{"uri":"/v1/services/isdb4f1f1479164d12b532f935aaca8619/channels/qwe123","sid":"qwe123"}

which useless, because need channel sid add user.

my code:

 $uniquename = 'qwe123';  $this->client = new \ipmessaging_services_twilio($params['accountsid'],$params['authtoken']);  $service = $this->client->services->get($params['servicesid']);  $channel = $service->channels->get($uniquename);   print $channel; exit; 

the issue uniquename due there being "." in uniquename value. rest api interprets extension. please try change uniquename value "subdomain:engagement_test"


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -