필터 지우기
필터 지우기

How to create a talkback api key with your html button?

조회 수: 2 (최근 30일)
Gcobani Mkontwana
Gcobani Mkontwana 2019년 11월 4일
댓글: Gcobani Mkontwana 2019년 11월 4일
I have a html code for my button together with javascript, i want to know how do i implement this with my javascript using talkback api key?
Javascript code;
<script
src="https://code.jquery.com/jquery-3.3.1.js"
integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="
crossorigin="anonymous"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#boot .btn").click(function(){
$(this).button('Talk-Back');
});
$.post('https://api.thingspeak.com/talkbacks/35730/commands.json?apikey=JJHHMMITZ2TAK9PU&command_string=TalkBack Command&position=2');
});
</script>
HTML code;
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"><br/>
<div class="col-md-4 text-center">
<button id="singlebutton" name="singlebutton" class="btn btn-primary">Talk-Back</button>
</div>
</body>
Do i need to write C++ device application? I am still new to this environment as to say, i am more experienced in Azure, please help me.
  댓글 수: 2
Vinod
Vinod 2019년 11월 4일
Stepping back from the details, can you describe what you are trying to do?
Gcobani Mkontwana
Gcobani Mkontwana 2019년 11월 4일
I want to create a plugin using a button to communicate with my talkback app. My button does not seem to connect to talkback app command.

댓글을 달려면 로그인하십시오.

답변 (0개)

커뮤니티

더 많은 답변 보기:  ThingSpeak 커뮤니티

카테고리

Help CenterFile Exchange에서 Act on Data에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by