Recent searches


No recent searches

Shiv's Avatar

Shiv

Joined Jun 25, 2022

·

Last activity Aug 10, 2022

Following

0

Followers

0

Total activity

10

Votes

0

Subscriptions

4

ACTIVITY OVERVIEW

Latest activity by Shiv

Shiv created a post,

Post Developer - Zendesk APIs

Hi,

I am able to post comment in the ticket using below api

curl https://domain.zendesk.com/api/v2/tickets/3.json \
-H "Content-Type: application/json" \
-d '{"ticket": {"status": "open", "comment": {"public": true, "html_body": "here we go", "author_id": 1234567789 }}}' \
-H "Authorization: Bearer token_here" -X PUT  

However I would also like to post comment in the web comment widget. Is it possible to post comment in the web widget?

Thanks

Shiv

Posted Aug 10, 2022 · Shiv

0

Followers

2

Votes

1

Comment


Shiv commented,

Community comment Developer - Zendesk Apps Framework (ZAF)

I have figured it out.it was because of 

django.middleware.clickjacking.XFrameOptionsMiddleware
 
In my django setup. i removed it and it worked

 

View comment · Edited Jul 06, 2022 · Shiv

0

Followers

0

Votes

0

Comments


Shiv commented,

Community comment Developer - Zendesk Apps Framework (ZAF)

Has anyone able to test server side app on localhost ?

View comment · Posted Jul 05, 2022 · Shiv

0

Followers

0

Votes

0

Comments


Shiv created a post,

Post Developer - Zendesk Apps Framework (ZAF)

Hi,

below is my manifest.json

{
  "name": "X-ray",
  "author": {
    "name": "Shiv",
    "email": "shiv@abc.com",
    "url": "http://abc.com"
  },
  "defaultLocale": "en",
  "private": true,
  "location": {
    "support": {
      "ticket_sidebar": {
        "url": "http://localhost:8000/zendesk/home",
        "flexible": true
      }
    }
  },
  "version": "1.0.0",
  "frameworkVersion": "2.0"
}

 

and my app is loaded and displayed perfectly when i replace

"url": "http://localhost:8000/zendesk/home",  with "url": "assets/iframe.html",

However when I set "url": "http://localhost:8000/zendesk/home"

I get

When i try http://localhost:8000/zendesk/home?origin=https%3A%2F%2Fd3v-abc.zendesk.com&app_guid=18ea030c-6f1d-430e-9991-71aea511ef73 in another browser window, it works.

I have followed below steps in google chrome Version 102.0.5005.115 (Official Build) (64-bit)

 

I am using ubuntu installed on windows wsl 

Still no success. Am i missing any settings?

Thanks

Shiv

 

Edited Jul 04, 2022 · Shiv

0

Followers

3

Votes

3

Comments


Shiv created a post,

Post Developer - Zendesk APIs

I will be creating a server side app for zendesk support. I have gone through https://developer.zendesk.com/documentation/apps/build-an-app/building-a-server-side-app/bonus-part-secure-the-app/

I have a question

1. In the first request i get "origin" and "app_guid" and jwt token

In the jwt claim i get a "Subject" which is current user in app. But this is in the form of link https://support.zendesk.com/api/v2/users/1000.json

How can i get this users and its organization detail from zendesk?

I wanted to achieve below:

I wanted to get unique identifier of user/organization, which do not change to store it in my app DB. and next time when i receive the request i can easily figure out if this is already registered user/organization in my app 

How can i achieve this?

 

Thanks

Shiv

  

 

Edited Jul 01, 2022 · Shiv

0

Followers

2

Votes

0

Comments


Shiv created a post,

Post Developer - Zendesk SDKs

I am getting error

Cannot autolaunch D-Bus without X11 $DISPLAY

when tried to login using below command

zcli login -i

Is there anything i need to install?

I am using ubuntu in windows 10 terminal 

Edited Jun 25, 2022 · Shiv

0

Followers

2

Votes

1

Comment