简体   繁体   English

如何创建用户并链接到现有的 nexmo 应用程序?

[英]How to create user and link to existing nexmo application?

Is posible to create user and link user to existsing application using vonage-php-sdk-core package?是否可以使用 vonage-php-sdk-core package 创建用户并将用户链接到现有应用程序? https://github.com/Vonage/vonage-php-sdk-core https://github.com/Vonage/vonage-php-sdk-core

i can make application and user with Vonage CLI, but i need to make it with PHP.我可以使用 Vonage CLI 制作应用程序和用户,但我需要使用 PHP 制作。 is there a way?有办法吗?

nexmo app:create "My Sample App" --capabilities=voice,rtc --voice-answer-url=https://example.com/webhooks/answer --voice-event-url=https://example.com/webhooks/event --rtc-event-url=https://example.com/webhooks/rtc --keyfile=private.key

with vonage-php-sdk-core i can make application as well, but seems like i can't find method to create user.使用 vonage-php-sdk-core 我也可以制作应用程序,但似乎我找不到创建用户的方法。

The Conversation API (which encompasses Users, Members, and Conversations) isn't supported in the PHP SDK at the moment since the API is still in beta. The Conversation API (which encompasses Users, Members, and Conversations) isn't supported in the PHP SDK at the moment since the API is still in beta. Once that API goes fully live we will support it in SDKs other than the NodeJS SDK.一旦 API 完全上线,我们将在除 NodeJS SDK 之外的 SDK 中支持它。

There are some vestiges of the Conversation and User APIs in the SDK, but we've marked them as deprecated since it's an older version of the API. SDK 中有一些对话和用户 API 的痕迹,但我们将它们标记为已弃用,因为它是 API 的旧版本。

For the moment you should access the APIs using Guzzle or whatever HTTP client you are using (if you aren't specifying one, we should be pulling in Guzzle from Laravel).目前,您应该使用 Guzzle 或您正在使用的任何 HTTP 客户端访问 API(如果您没有指定,我们应该从 Laravel 中提取 Guzzle)。

As for working directly with the API, https://developer.nexmo.com/conversation/overview is the entrypoint for the Conversations API.至于直接使用 API, https://developer.nexmo.com/conversation/overview是对话 API 的入口点。 General API documentation is available at https://developer.nexmo.com/api/conversation , and demo code from cURL, which can be useful for seeing URL structures as well as payloads, is available at https://developer.nexmo.com/conversation/code-snippets/user/create-user/curl . General API documentation is available at https://developer.nexmo.com/api/conversation , and demo code from cURL, which can be useful for seeing URL structures as well as payloads, is available at https://developer.nexmo. com/conversation/code-snippets/user/create-user/curl

Why don't we support this API?为什么我们不支持这个 API?

As a rule we don't add support in our stable SDKs for beta APIs, as that could lead to a lot of major releases with breaking changes, as the beta APIs only have a 6 month stability SLA and can change rapidly.作为一项规则,我们不会在我们的稳定 SDK 中添加对 beta API 的支持,因为这可能会导致大量重大版本出现重大更改,因为 beta API 只有 6 个月的稳定性 SLA,并且可以快速更改。 We are looking at better ways to handle our beta APIs (the PHP SDK now supports a module system as of v2.2.0) so that devs can get access to these types of APIs quicker.我们正在寻找更好的方法来处理我们的 beta API(PHP SDK 现在支持从 v2.2.0 开始的模块系统),以便开发人员可以更快地访问这些类型的 API。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将html链接传递给nexmo sms响应 - How to pass html link to nexmo sms response 如何通过电子邮件发送用户新链接来创建密码 - How to Email user new link to create a password 如何根据用户输入创建链接 - how to create link depending on user input 如何检查 WordPress 中是否存在 user_login 并通过附加到现有 user_login 以编程方式创建新用户 - How to check if existing user_login in WordPress and create new user programatically by appending to an existing user_login 具有现有的登录名/用户系统,想知道在用户注册时如何创建文件夹 - Have Existing Login/User system, want to know how to create a folder when user signs up 如何创建一个链接,将用户发送到另一个页面,然后该页面又转到与该链接关联的另一个页面? - How do I create a link that sends the user to another page which is then diverted to another page associated with the link? 当用户尝试使用 laravel 中的 nexmo 拨打电话号码时验证用户 - Validate user when they try to call phone number with nexmo in laravel 如何创建特殊链接,以便单击该链接的用户可以访问某个注册页面? - How do I create a special link so that the user who clicked on that link can access a certain registration page? 让用户基于现有表创建表 - Let user create table based on existing table 如何在每个用户的应用程序上创建新的数据库或数据库实例? - HOW TO Create new databases or database instances on the application for each user?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM