# How to link Ximiliar app to Thukable

**URL:** <https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704>\
**Category:** Questions about Thunkable X\
**Created:** [March 31, 2022, 2:45am UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704 "2022-03-31T02:45:58Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![manyone](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@manyone](https://community.thunkable.com/u/manyone)\
**Post date:** [April 2, 2022, 7:24pm UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704/43 "2022-04-02T19:24:05Z")

</div>

it’s there - it’s the first parameter

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [April 2, 2022, 7:24pm UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704/44 "2022-04-02T19:24:41Z")

</div>

> [@manyone](#):
>
> it’s the first parameter

Sorry, I oversaw it.

---

<div class="post-metadata">

**Author:** ![gsturm3605jl](https://avatars.discourse-cdn.com/v4/letter/g/b77776/32.png) [@gsturm3605jl](https://community.thunkable.com/u/gsturm3605jl)\
**Post date:** [April 2, 2022, 7:44pm UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704/45 "2022-04-02T19:44:44Z")

</div>

ok I have this copied but when you get down to the \_url is that to a single image? I think that is what …bit… means? I have over 20 photos in that particular category. and then below all of that I need a place where the output would go so I need to set the label to something?

---

<div class="post-metadata">

**Author:** ![gsturm3605jl](https://avatars.discourse-cdn.com/v4/letter/g/b77776/32.png) [@gsturm3605jl](https://community.thunkable.com/u/gsturm3605jl)\
**Post date:** [April 2, 2022, 7:45pm UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704/46 "2022-04-02T19:45:15Z")

</div>

![Screen Shot 2022-04-02 at 3.44.50 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/5/959f00bb592786b5594d1aa8bd3e0125c8a0c9e8.jpeg)

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [April 2, 2022, 8:29pm UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704/47 "2022-04-02T20:29:31Z")

</div>

If you have only one image then use only one block that has \_url and remove the second one and adjust the list block for a single record.

You still need a **Post** block to send the information to the server and use the output of the **Post** block to show the results as part of the green `response` block.

---

<div class="post-metadata">

**Author:** ![manyone](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@manyone](https://community.thunkable.com/u/manyone)\
**Post date:** [April 2, 2022, 8:32pm UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704/48 "2022-04-02T20:32:46Z")

</div>

i made a mistake, you should change the call to v2/classifiy (instead of v2/detect) if you want to classify picture/s.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/4/743303cea93883315c06262ff4c049ad196dbdc4.png)

each \_url refers to the url of each photo you want to classify (it does’nt point to one you’ve already pre-classified in the training), also you can include several photos at a time (for starters try 1 or 2 first).  
when the call returns, you have to handle the response -

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/f/efc232db3e2ce71b8ef06c6de03783ee6cb6ae32.png)

this is how to handle one item request  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/0/60154a00a328de32401d75a0089481f6291d4939.png)

this is how you save multiple requests (the output goes to a list)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/8/98bdfd672704104baeda90c39fc6700c696418ff.png)

---

<div class="post-metadata">

**Author:** ![gsturm3605jl](https://avatars.discourse-cdn.com/v4/letter/g/b77776/32.png) [@gsturm3605jl](https://community.thunkable.com/u/gsturm3605jl)\
**Post date:** [April 3, 2022, 6:08pm UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704/49 "2022-04-03T18:08:37Z")

</div>

![Screen Shot 2022-04-03 at 2.05.31 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/f/5fe6941491bec47431946d1930809196072709c6.jpeg)

So I did this I do not get an error message this time but nothing happens with my label.

 ![IMG_8408](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/2/427f05f9458b2c2c1bf112d3c3f81e0e2852a06d.jpeg)

I press the upload photo from files and it opens my photo library which works.  
I press the take photo and goes to my camera and that works  
when I press describe…nothing?

Sorry I ran out of times I could reply to everyone yesterday since im still “new”.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [April 3, 2022, 6:19pm UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704/50 "2022-04-03T18:19:25Z")

</div>

> [@gsturm3605jl](#):
>
> when I press describe…nothing?

The `_url` should be the URL of the photo you took or selected, instead you are using a URL that points to one of your categories.

See this note from @manyone

> [@manyone](#):
>
> each \_url refers to the url of each photo you want to classify (it does’nt point to one you’ve already pre-classified in the training),

I told you for the test, select a photo available in a public server and get the URL of the photo to use in your API call. When you succeed, the next step is to implement choosing from the gallery or taking a photo from the camera.

---

<div class="post-metadata">

**Author:** ![gsturm3605jl](https://avatars.discourse-cdn.com/v4/letter/g/b77776/32.png) [@gsturm3605jl](https://community.thunkable.com/u/gsturm3605jl)\
**Post date:** [April 3, 2022, 6:57pm UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704/51 "2022-04-03T18:57:47Z")

</div>

I get what you are saying but I don’t know what that should look like in blocks. im still new to this and not sure what 90% of everything means or does.

---

<div class="post-metadata">

**Author:** ![manyone](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@manyone](https://community.thunkable.com/u/manyone)\
**Post date:** [April 3, 2022, 7:01pm UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704/52 "2022-04-03T19:01:19Z")

</div>

Try it again but change the method from Get to Post. (see call webapi block)

---

<div class="post-metadata">

**Author:** ![gsturm3605jl](https://avatars.discourse-cdn.com/v4/letter/g/b77776/32.png) [@gsturm3605jl](https://community.thunkable.com/u/gsturm3605jl)\
**Post date:** [April 3, 2022, 7:16pm UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704/53 "2022-04-03T19:16:04Z")

</div>

nothing happened when I changed that. I also just noticed each category where the photos are stored in each folder have their own specific id does that change anything?

 ![Screen Shot 2022-04-03 at 3.14.48 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/c/ac5472dd83b4cdbeaff30c1903f3eb6f24a28aae.jpeg)  
overall which includes all  
 ![Screen Shot 2022-04-03 at 3.14.55 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/9/79fe6282a93e05337576939d892b115f3740a89d.jpeg)  
specific category= beach bum in this case

---

<div class="post-metadata">

**Author:** ![manyone](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@manyone](https://community.thunkable.com/u/manyone)\
**Post date:** [April 3, 2022, 8:34pm UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704/54 "2022-04-03T20:34:27Z")

</div>

these are internal id’s assigned by ximilar - they should not affect you.  
i see the error in your call\_web\_api block.  
you are doing the activities when you get an error. can you recode it so you do the activities when there is no error. (you can set your label to status, if there is an error)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/e/eefb4184c298cb7912e32e0c70a7f621fb128050.png)

you can do

```auto
if error
  set label1 text to Status
else
  set app variable resp to blahblah 
  set label1 text to get property blahblah
end_if

```

please use Get\_Api **POST**!  
ALSO set the \_url to a photo you want to classify - not to a photo you’ve already classified. try the photo suggested by @muneer - `http://i.imgur.com/fwxooMv.png`

---

<div class="post-metadata">

**Author:** ![gsturm3605jl](https://avatars.discourse-cdn.com/v4/letter/g/b77776/32.png) [@gsturm3605jl](https://community.thunkable.com/u/gsturm3605jl)\
**Post date:** [April 5, 2022, 1:53am UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704/55 "2022-04-05T01:53:40Z")

</div>

I get “null” for my label which is better than an error I suppose  
is there a way I could talk to anyone here one on one on discord of somewhere else by chance?

---

<div class="post-metadata">

**Author:** ![manyone](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@manyone](https://community.thunkable.com/u/manyone)\
**Post date:** [April 5, 2022, 5:07am UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704/56 "2022-04-05T05:07:59Z")

</div>

i went over the docs and the blocks and the video and i was confused by the terminology - sometimes they call the task , task-id but in the url you have to code it as task. then the video you posted showed an example pointing to a wrong endpoint, so please do the following;

1. change the url to this  
[https://api.ximilar.com/recognition/v2/classify](https://api.ximilar.com/recognition/v2/classify)

2. change the **task-id** parameter to **task** in the set web body block

3. make sure method is “Post”, etc.- point to another photo you can browse from the web as contents for \_url

---

<div class="post-metadata">

**Author:** ![gsturm3605jl](https://avatars.discourse-cdn.com/v4/letter/g/b77776/32.png) [@gsturm3605jl](https://community.thunkable.com/u/gsturm3605jl)\
**Post date:** [April 6, 2022, 1:50am UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704/57 "2022-04-06T01:50:15Z")

</div>

![Screen Shot 2022-04-05 at 9.49.30 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/6/f65072e56d98bfdf9750ba1948526215f2b98bf7.jpeg)

I did this an I get “null” still

---

<div class="post-metadata">

**Author:** ![manyone](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@manyone](https://community.thunkable.com/u/manyone)\
**Post date:** [April 6, 2022, 1:57am UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704/58 "2022-04-06T01:57:27Z")

</div>

there seems to be some other extra characters beyond your api\_id - thunakable doesnt put spaces at the end of strings. can you replace the whole thinh and replace with your api key and try again?

also, do NOT put quotes inside the task id - they are already provided in the block.

---

<div class="post-metadata">

**Author:** ![gsturm3605jl](https://avatars.discourse-cdn.com/v4/letter/g/b77776/32.png) [@gsturm3605jl](https://community.thunkable.com/u/gsturm3605jl)\
**Post date:** [April 6, 2022, 2:13am UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704/59 "2022-04-06T02:13:44Z")

</div>

I Still get null I even left the url blank just to see if it made a difference?

---

<div class="post-metadata">

**Author:** ![manyone](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@manyone](https://community.thunkable.com/u/manyone)\
**Post date:** [April 6, 2022, 2:55am UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704/60 "2022-04-06T02:55:47Z")

</div>

have you tried removing the quotes inside task?

---

<div class="post-metadata">

**Author:** ![gsturm3605jl](https://avatars.discourse-cdn.com/v4/letter/g/b77776/32.png) [@gsturm3605jl](https://community.thunkable.com/u/gsturm3605jl)\
**Post date:** [April 6, 2022, 3:18am UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704/61 "2022-04-06T03:18:00Z")

</div>

yes I did that as well

---

<div class="post-metadata">

**Author:** ![manyone](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@manyone](https://community.thunkable.com/u/manyone)\
**Post date:** [April 6, 2022, 3:21am UTC](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704/62 "2022-04-06T03:21:23Z")

</div>

maybe your label1 is part of an invisible component or maybe its font color is white!

[Previous page](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704.md?page=2)

[Next page](https://community.thunkable.com/t/how-to-link-ximiliar-app-to-thukable/1810704.md?page=4)
