Forum Discussion

ltctech's avatar
ltctech
New Member
5 years ago

GoToWebinar API Support

Hi,

 

It seems that the Access Token that's returned by the GoToWebinar API has increased from 28 chars to  909 chars sometime around 1AM PDT. It caused our systems to error out as it overflowed the database colum.

 

I have expanded the column in our database and it's now working again but why the sudden change? Do you really need an Access Token to be that long, especially one that expires within an hour? Ironically enough the Refresh Token that's valid for a month is still 32 chars.

 

Thanks.

  • Can you please help me with below scenario?

     

    1. I want to create webinar by enabling ManualApproval during registration.

    2. I want to fetch all the registrants of the webinar and verify if they have entered a passcode during registration. If so, I need to approve the registrant. 

     

    As far I understood, when user registers he will be in WAITING state. 

    Is there any API to change the status of registrant from WAITING to APPROVED?

     

    Thanks in advance

     

     

     

     

  • Is it intended that the organizerKey is not needed? I tried using `/rest/v2/organizers/{organizerKey}/webinars` endpoint and its seems the result is based off the fromTime, toTime and the token. I can pretty much put any value that is not blank to the organizerKey and it still works.

  • Komathy's avatar
    Komathy
    New Contributor
    Hello Goto Team,

    We are Facing API Invoke issue from 7 September 2022, unable to create meeting through API Call, Need your support Asap


    Product: GotoMeeting

    Problem Description:
    when try to create meeting with authentication token end up with error“The remote server returned an error: (400) Bad “

    API Method: CreateMeeting

    Request URL: https://api.getgo.com/G2M/rest

    Request Headers:
    Content-Type: application/json
    Accept: application/json
    Response HTTP Code: 400

    Response Body:
    {
    conferencecallinfo = "VoIP",
    meetingtype = MeetingType.immediate,
    passwordrequired = false,
    subject = "Assistance",
    starttime = DateTime.Now,
    endtime = DateTime.Now.AddHours(2),
    timezonekey = ""
    });

    OAuth Client ID : token generated Client Id Not generated

    Email that was being used to create the access token: kmomathy.km@dsrc.co.in,sivasatheesh.mn@dsrc.co.in
  • Hello, 
    we have create a sample php page with this code

     

    $clientID = 'CLIENT ID DEL CLIENTE';
    $response_uri = 'response_uri';
    $curl = curl_init();
    curl_setopt_array($curl, array(
      CURLOPT_URL => 'https://authentication.logmeininc.com/oauth/authorize?client_id='.$clientID.'&response_type=code&response_uri='.$response_uri,
      CURLOPT_RETURNTRANSFER => true,
      CURLOPT_ENCODING => '',
      CURLOPT_MAXREDIRS => 10,
      CURLOPT_TIMEOUT => 0,
      CURLOPT_FOLLOWLOCATION => true,
      CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
      CURLOPT_CUSTOMREQUEST => 'GET',
    ));
    $response = curl_exec($curl);
    curl_close($curl);
    echo $response;

    If he calls it he sees the behavior we get these page result:

     

    if i call the url https://authentication.logmeininc.com/oauth/authorize?client_id=clientID&response_type=code&response_uri=response_uri 

    directly from browser i see the corrected screen

    Can you help me?

    Thanks
    regards.
    B.

  • Awan's avatar
    Awan
    New Member

    We have integration done on our wix website with go to webinar,

    We used to have issue with expiring tokens, and they use to get expired in 30 days and we upload refresh token on the website and then it starts working again.

    Recently we had an issue when someone try to click on the book now button it say requesting but never register a person on go to webinar.

    I have check if there is any issue with code and i can see the following i hope someone would be able to help me to rectify this issue.

    These are the errors we arw getting.

    Running the code for the Home page. To debug this code in your browser's dev tools, open g0gqk.js.
    wixSelector.ts:304 TypeError: $w(...).disable is not a function
    at g0gqk.js:8:30
    at t (wixSelector.ts:302:19)
    at wixSelector.ts:317:27
    at wixSelector.ts:119:48
    at Array.map (<anonymous>)
    at h (wixSelector.ts:119:31)
    at Array.map (<anonymous>)
    at Object.flushOnReadyCallbacks (wixSelector.ts:124:65)
    at J (applications.ts:384:21)
    at async Object.runAsyncAndReport (platformLogger.ts:204:10)
    t @ wixSelector.ts:304
    :1210 Unrecognized feature: 'vr'.
    createConsoleProxy.ts:47 Running the code for the Webinars page. To debug this code in your browser's dev tools, open vb3tf.js.
    staticEventsManager.ts:75 function dsWebinars_ready is registered as a static event handler but is not exported from the page code. Please remove the static event handler or export the function.
    (anonymous) @ staticEventsManager.ts:75
    3createConsoleProxy.ts:47 OK Requesting

  • 1) I created a webhook
    response:

    {
    	"_embedded": {
    		"webhooks": [
    			{
    				"eventName": "registrant.added",
    				"eventVersion": "1.0.0",
    				"callbackUrl": "https://arch.al/webhook/",
    				"product": "g2w",
    				"webhookKey": "e51182da-1281-4cec-81ed-25037f8947ed",
    				"state": "INACTIVE",
    				"createTime": "2024-01-03T12:16:48.679Z"
    			}
    		]
    	}
    }

    2) activated it:
    3) checked its status:

    {
    	"eventName": "registrant.added",
    	"eventVersion": "1.0.0",
    	"callbackUrl": "https://arch.al/webhook/",
    	"product": "g2w",
    	"webhookKey": "e51182da-1281-4cec-81ed-25037f8947ed",
    	"state": "ACTIVE",
    	"createTime": "2024-01-03T12:16:48.679Z"
    }

    4) added a registrant via https://api.getgo.com/G2W/rest/v2/organizers/5418525674414955728/webinars/4038468162058771032/registrants

    with this payload:

    {
            "firstName": "John",
            "lastName": "Doe",
            "email": "7johndoe@example.com"
      }
    got response:
    {
    	"registrantKey": 8774359412158568029,
    	"joinUrl": "https://global.gotowebinar.com/sjoin/4038468162058771032/531390045",
    	"status": "APPROVED",
    	"asset": true
    }
    but apparently the webhook is not being trigered at all and nothing ever comes at the webhook endpoint: https://arch.al/webhook/

    is this platform still being maintained or are we wasting time developing for it?