I have checked with the facebook docs. I could see only possibility of read not write for messages.
Just to reconfirm -
Is there a way in facebook api to send messages to friends programatically in ruby?
This is not possible in ANY language. You can use the Send Dialog of the JavaScript SDK, but it is not possible to send messages automatically (for obvious spam reasons): https://developers.facebook.com/docs/sharing/reference/send-dialog
It was only possible with the Chat API earlier, but it´s deprecated now: https://developers.facebook.com/docs/chat/
...meaning, it will only be possible until April 2015, and ONLY with an App created before end of April 2014. Not worth it to implement the Chat API anymore.
Related
facebook recently allow everyone to send marketing messages, and create marketing templates.
but when try to create whatsapp template in Twilio dashboard there is no such option as marketing message(just transaction)
I wonder if its ok for me to create templates directly through Facebook or it will mess thing up and I must use Twilio directly?
there is more missing options like attaching media or header to template
twilio dashboard (no marketing category):
facebook dashboard:
tldr: is it ok to use Facebook api directly when using Twilio to register my Whatsapp number?
I checked on this question with Twilio product support and the answer was:
I don't believe this would be possible, as the number and configuration would be tied directly to Twilio. You could certainly try, but this is not something we can offer guidance on or provide support for if you proceed.
I don't have my own WhatsApp number to try with, so I can't verify or test whether you can use the Facebook APIs directly either.
If you are in the Content API beta and you are finding that it still doesn't provide you the features you need, then I recommend raising that with the beta team, who will work to bring it to the API.
I have integrated twilio and it was working fine but suddenly
end users stop receiving top message at their mobile. Is there any capacity problem if yes then how to fix this
Without providing the code, I can give the following suggestions to check upon.
1. Check if the Twilio Account has enough balance to send messages
you can check this in the dashboard.
2. Check if the Message template used is verified or not.
If the template is rejected for some reason, you won't be able to use it.
3. Use the API Gateway Dashboard to determine the cause for no sending messages.
If you can see the messaged being in outbounds mode, but not being sent, you can check the reason for it.
4. Check if the Twilio API library used has changed the API structure
Refer to Twilio Docs and confirm if the APIs have received some changes in them, deprecating any changes. (This is very rare, as most API Providers keep the Legacy API code format active for some time for users to migrate from it.)
5. Confirm If any New Government Rules are changed.
Ex. In India, there are some new laws put up for sending SMSes to users. You would need to follow the rules to register the template again to a Mobile Carrier's site, and then use it. These details will be provided on Twilio Dashboard.
My goal is to retrieve Google Voice voicemail audio messages and download them.
On May 27, 2015 - Google permanently disabled the ClientLogin API for Google Voice and encouraged migration to OAuth2.0.
I created a project in the Google Developers Console, but I was unable to identify the API that should be used. I am not alone (Google voice PHP OAuth 2.0).
It seems unlikely to me that Google would permanently disable the Google Voice ClientLogin API without having a working solution available -
especially since they deprecated the GV ClientLogin API more than 2 years ago and left it available for use for so long afterwards.
After further research, I discovered that the GMail API permits downloading of attachments.
Theoretically, if I set Google Voice to forward all Voicemails to GMail, I could download the audio file using the GMail API
(gmail.users.messages.attachments.get).
NOTE: I am not certain that this will work! I worry it may not because when you click on Play Message in Gmail, it forwards to the Google Voice
page - where you can choose to download the message. It seems this approach may result in needing a Google Voice API as well.
How are we supposed to retrieve Google Voice voicemail audio messages and download them using OAuth2.0?
I own a Google Voice app for Windows 8 (GVoice) which very recently broke due to the removal of ClientLogin. From my research it looks like there is now no longer a programmatic way to authenticate to Google Voice. ClientLogin is gone, and Google Voice is not a select-able API in Google's (OAuth) Developer Console.
I'm going to interpret this question as "how do I programmatically access Google Voice now that the ClientLogin service is no longer available?"
My app uses the unofficial google-voice-java API, and that API also broke in June 2015 when the ClientLogin service stopped working.
I was able to get it working again by having it log in using a different method, but not with OAuth 2.0. See the comment thread for issue 60 (see comments 6 and 9 in particular) for an outline of the solution.
I know we can retrieve email contacts from the "Contacts" app.
What if I want to retrieve other email from let's say gmail inside my app. Is this possible?
Is there an sdk to retrieve it? e.g (the app will prompt user to login to gmail, and it will send back all the email contact)
What about Yahoo and Exchange?
Maybe this question about Gmail might help you.
I think similar to Gmail case, you can do with Exchange API and Yahoo
But Yahoo currently says:
Access to Yahoo’s IMAP service is one of the top requests from the application developer community. We are happy to announce that a Yahoo IMAP service with OAuth-2.0 will be available in early 2015. As announced on Dec 19th, 2014, we will no longer support the current Yahoo-customized Mail APIs after February 16, 2015. We will provide a migration path to this new service, which will allow us to better serve the developer community. For more information, send a mail to imap-service#yahoo-inc.com.
I would like to know if there are any API's for iOS , using which the app feedback given by customer can be sent to the API server and from there can be sent to me via email.
I was also looking for this kind of API. I have found a few so far.
http://www.apptentive.com/
I think zendesk (https://www.zendesk.com/) has an API (not sure without signing up).
http://freshdesk.com/ has some kind of beta program, I think.
UPDATE: Here's another list on SO: Way to get User Feedback for iPhone app?