Please help me with php sample code to download attachment stream object.
-
310 Points
Posted 6 months ago
Phong Vu, Devangelist
-
4,226 Points
Since you are using the RingCentral PHP SDK, you can have a look at this demo code (https://github.com/ringcentral/ringcentral-php/blob/master/demo/callRecording.php), where it's shown how to read the call log and download the call recording binary file to a local folder.
For the message attachment, I guess that you get access to the message store. You can modify the demo code to read the message store, get the message attachment $URI and use theĀ $apiResponse = $platform->get($URI); to get the attachment.
+ Phong
For the message attachment, I guess that you get access to the message store. You can modify the demo code to read the message store, get the message attachment $URI and use theĀ $apiResponse = $platform->get($URI); to get the attachment.
+ Phong
-
160 Points
I am using curl to download attachment of fax. Please help me as I am not able to download it using curl
(Edited)
Phong Vu, Devangelist
-
3,986 Points
Here you go.
https://github.com/PacoVu/call-ringcentral-faxapi-native-php-demo
You can check out the OAuth tutorial from here too.
+ Phong
https://github.com/PacoVu/call-ringcentral-faxapi-native-php-demo
You can check out the OAuth tutorial from here too.
+ Phong
Related Categories
-
Getting Started
- 210 Conversations
- 74 Followers