Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

doorbell.io and corona
Started by agramonte May 31 2018 08:44 AM

1 reply to this topic
doorbell.io feedback
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Contributor

  • 626 posts
  • Corona SDK

Not as feature rich as Zendesk (no document repo, no social network monitor) but it does have a free plan. Here is my implementation in case anybody ever wants to use it. Register here: https://doorbell.io

 

Right before or when you open the feedback window:

local json = require "json";
local body = {} local params = {} params.body = json.encode(body)
network.request( "https://doorbell.io/api/applications/<yourID>/open?key=<yourAppKey>", "POST", networkListener, params )

To send the feedback:

local json = require "json";
local body = {}
body.email = email
body.message = message --String of message
	
local headers = {}
headers["Content-Type"] = "application/json"

local params = {}
params.body = json.encode(body)
params.headers = headers

print("requestBody:", params.body)	 
network.request( "https://doorbell.io/api/applications/<yourId>/submit?key=<yourAppKey>", "POST", networkListener, params )

  • roaminggamer likes this

[TOPIC: post.html]
#2

ponywolf

[GLOBAL: userInfoPane.html]
ponywolf
  • Contributor

  • 239 posts
  • Corona SDK

Cool. I'd like to do something like this for our betas... Thanks for sharing!




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: doorbell.io, feedback