-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⚡ Write a sendMessage() Function using Python #3956 #48
⚡ Write a sendMessage() Function using Python #3956 #48
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Rinshin-Jalal Great PR! 🤯 We left some comments during the review, please check them out.
python/send_message/README.md
Outdated
|
||
* **TWITTER_ACCESS_TOKEN** - Access Token from Twitter | ||
|
||
* **TWITTER_API_KEY_SECRET** - Access Token Secret from Twitter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* **TWITTER_API_KEY_SECRET** - Access Token Secret from Twitter | |
* **TWITTER_ACCESS_TOKEN_SECRET** - Access Token Secret from Twitter |
A duplicate of TWITTER_API_KEY_SECRET
, should be TWITTER_ACCESS_TOKEN_SECRET
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in commit
Fixed more things |
Co-authored-by: Afzal Ansari <afzal442@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Rinshin-Jalal, I left some comments during the review, please check them out.
Co-authored-by: Steven <1477010+stnguyen90@users.noreply.github.com>
Co-authored-by: Aditya Oberai <adityaoberai1@gmail.com>
Co-authored-by: Aditya Oberai <adityaoberai1@gmail.com>
@adityaoberai thanks for the review I have committed the changes |
Thank you so much for the PR 🤩. We're adding the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some problems from the last change.
@stnguyen90 fixed everything ( I think so ) Full working rn! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code is looking beautiful! 🤩 Just 2 more comments 🙏🏼
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The curl command is still incorrect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey 👋 awesome work on your PR! We've approved your work and it'll be merged soon!
THANK YOU! All changes merged 🥳 Please reach out to me on our Discord server if you would like to claim your Appwrite swags! As a way of saying thank you, we would also love to invite you to join the Appwrite organization on GitHub. Please share your GitHub username with us on Discord. You can accept the invite by visiting https://github.com/orgs/appwrite/invitation. By joining our team, you will officially be an Appwrite maintainer on GitHub. You can change your membership visibility settings, so your new Appwrite team membership badge will show up on your personal GitHub profile. Please feel free to look for more PRs you might be interested in helping with on our long list of Hacktoberfest friendly issues and help make Appwrite better :) |
Closes #3956
Description
According to the issue #3956 on appwrite,
I created a Python Cloud Function for sending a message using a specific channel to a receiver
It can send mail (using mailgun), send discord messages (webhook), send a tweet, and send SMS (using Twilio)
Screenshots
1. Sending SMS
payload and response
message received
2. Sending Email
payload and response
email received
3. Tweet
payload and response
Tweeted
4. Sending Discord message
payload and response
message received