How to resolve this issue - "Can't resolve all parameters"? - ionic-framework

I am new to Ionic and I am trying to invoke sending a message using Ionic Native Plugin. I am able to install all of the components but whenever I follow the documentation. I have this error. Also, can you help me to directly send without opening the SMS Messenger App?
home.page.ts
home.module.ts
IONIC Info
Any help is highly appreciated. Thank you.

You can't send SMS directly without opening SMS Messenger app via IONIC SMS plugin. you will have to trigger your SMS via your backend/API from third parties like Twilio, AWS SNS service etc.
Please check below link for send SMS via Twilio they have explained this on their website for almost all technologies. so I guess you don't need this IONIC SMS plugin anymore you can remove this and everything will work for you. If you still has an issue please let me know
https://www.twilio.com/docs/sms/send-messages

Related

Can I send a message to a customer on facebook messenger once he completes an order?

I saw the following screenshot on this page.
From the look of it, it sent order details to a customer upon completion of her order to her facebook messenger. I can't find any of the facebook messenger plugins capable of doing this. Can you please help me find out how did they actually did it? I want to replicate it for my site. Thanks
Send to messenger plugin and checkbox plugin could be used to create this type of functionality.

Use Cordova plugin to send and receive SMS with Ionic

I found this cordova plugin that can send and receive SMS. I was wondering if anybody here has used this with Ionic? Or can somebody point me in the direction on how to do this? Thank you.
I apologize in advance for not giving a typed answer but only sharing a link, but the link has all you need to get started
Ionic SMS Documentation

How to use Facebook messenger api in react native

I am using react-native-fbsdk to use Facebook APIs in my react native project. I am able to implement login/share/logout functionalities using this but till now haven't found any way to use Facebook messenger APIs.
Is there any way I can integrate FB messenger API in a react native project using this library?
Thanks.
Here is how to do it with React Native's Linking:
Linking.openURL(`fb-messenger://share?link=${sharingUrl}`);
where sharingUrl is the link you want to attach.
Result
This will open Messenger app with the attached link and the user will be able to add a message to it and send it to his friends. (Caution: nothing will happen if the user does not have Messenger installed.)
Prefilling a message seems impossible however.
See the doc

How can I build a schedule message function for a Facebook chat bot? I can not find any support from Facebook

I am trying to build a chat bot which can automatically sent alert to users who subscribed to my own page. However I can not find any support from facebook messenger for this task. How can I implement it?
Unfortunately fb messenger is not an one stop shop solution yet. I'd recommend using this excellent npm module node_schedule.I guess it should fit your needs.

Ionic post to facebook wall

I am developing an app with Ionic and I want the user to be able to send a preset message on his wall on facebook. I don't need any authentication with facebook. I know it was possible with native android app, with Intent. There is a facebook pluging for cordova but I want something lighter, I don't want to have to connect the user from facebook. So I was wondering if I could use a kind of Intent to do so. Thanks
With authorization, you can use the /me/feed endpoint. But keep in mind that prefilling the message is not allowed according to the platform policy.
Without authorization: https://developers.facebook.com/docs/sharing/android#triggering
Look at the example code, it should be fairly easy to create your own Cordova plugin with Java if there is no plugin yet. Or just try one of the existing ones, for example: https://github.com/ccsoft/cordova-facebook#share