How to handle Twilio postbacks in Cloud9 IDE dev server? - ruby-on-rails

I'm building a Rails app in Cloud9 IDE, and part of the application involves interactive voice response. The end-user calls the Twilio phone number, and then Twilio POSTs into the Rails app.
The app is working fine when deployed on Heroku, but the deployment process is an extra step. I would like to point Twilio directly at the app running in Cloud9, but it doesn't work. Cloud9 requires one to be logged in to access the dev-server URL, and Twilio can't log in.
Is there a way to tell Cloud9 not to require login to access my dev server? I'd love to just make an edit, click run, call my Twilio number and test. As it is now, I have to git commit and deploy to Heroku on each iteration.
Help! ;)

In a private workspace, you can enable your app to be accessible publicly by clicking the 'Share' menu, and making your application public. Doing so will not make your project public, but your running server would become accessible without authentication.

Related

Issue with Sync in a Terminal Server\Citrix Published Application

Published applications can't open Universal Windows Applications (UWA). Edge has changed the authentication to a UWA method for sync authentication. Given this we cannot get Sync to work as we cannot authenticate. Any ideas?

How to Make a Twitter Bot Run From Dropbox?

I have made a simple Twitter bot for favouriting tweets, retweeting, following specific people, and so on. But I have to start it when I want it to work. How can I "host" the bot on Dropbox? I want it to run "forever" from Dropbox servers, to keep my bot functional even when I'm not connected to the Internet.
You can not run a executable by Dropbox as it is only a file hosting service.
For running your program somewhere else you need a server or a web hosting account (maybe coupled with a cron-job).
This depends on your used programming language.

What Request URL for Voice in TwiML App setup should I use when I develop on localhost?

I am creating an app in ASP.NET-MVC where I can call phone number from browser.
To do that I need to create capability token like in the sample:
var capability = new TwilioCapability(accountSid, authToken);
capability.AllowClientOutgoing(appSid);
capability.AllowClientIncoming("jenny");
string token = capability.GenerateToken();
The appSid is an identifier of TwimlApp created on my Twilio account as described here: https://www.twilio.com/help/faq/twilio-client/how-do-i-create-a-twiml-app
I have absolutely no idea what should I put in the Request URL in Voice section. I develop on locally on my computer. ASP.NET-MVC app is run on localhost.
Sample image from Twilio's website:
Developing with a web service like Twilio can be difficult when it needs to make requests from a server to your development environment. One of the best tools I've found to make this easy is called ngrok.
ngrok allows you to create tunnels to your machine and give them a friendly name with a custom port.
For example, you could setup ngrok locally on your machine to forward all requests from twilio to yoda.ngrok.com to your environment. This makes it really easy to develop locally with web hooks. Let me know if you have any questions on getting setup!

How to display rails app at shopify frontend

I have a Rails app deployed to Heroku, I can reach it from the backend side of my shopify store. But how can I display anything from it (at least a helloController's view) at the frontend?
You may want to look into Application Proxies. These are available in the settings for your app. This would allow you to map "/a/hello" to HelloController#index for example.
(For testing locally, you then may want to use PageKite for tunnelling the app.)

Must your 3rd party app be signed to integrate with Quickbooks?

On my development machine (which has the Quickbooks SDK installed) I can connect and interact with QB just fine; the standard workflow of granting access to the external app from w/i QB works. However, on my production machine I get various and sundry errors:
Can't start QB.
Can't start QB because it's already running.
Can't open more than one company file.
The dev docs lead you to believe that the app must be signed while elsewhere I've found examples where you could run an un-signed example app. So what is it? If signing isn't strictly required then any clues as to why I can't get this to work?
Production Machine
QuickBooks Pro 2011 Release R9P (US)
Our installed, OOB, Silverlight app
Dev Machine
Quickbooks Premier Contractor Edition 2010 Release R13P (US)
Silverlight 4 using COM/C# to connect to QB
Quickbooks SDK 11.0
As I've said, the dev machine works as it should. On the production machine we've tried every combo of not having QB open, having it open but no client file open, having it open and a client file open and we'll get one error or another right at the point we're trying to open a connection. Also, our app never shows up in the integrated applications settings page (but it does show up on the dev machine's QB). We've tried both admin and non admin.
No, you DO NOT need to sign your apps.
You didn't provide anywhere near enough information for us to really give you a solution.
Did you check your SDK logs?
What version/year/edition/country of QuickBooks?
Are you building for the Web Connector, or using C#, or VB .NET, or...?
If you're using the Web Connector, what do your Web Connector logs look like?
Are you logged in as the QuickBooks admin user?
Is QuickBooks already running?
Is there another QuickBooks company file already open?
Did you revoke permission from the integrated application?
If you expect answers, you have to post some details.
It's a Silverlight app with full trust. It looks as though it was something with SL itself. Once we upgraded to SL5 it worked fine.

Resources