Chilkat Online Tools

VBScript / Twitter API v2 / Get all batch compliance jobs

Back to Collection Items

Dim fso, outFile
Set fso = CreateObject("Scripting.FileSystemObject")
Set outFile = fso.CreateTextFile("output.txt", True)

' This example assumes the Chilkat API to have been previously unlocked.
' See Global Unlock Sample for sample code.

set http = CreateObject("Chilkat_9_5_0.Http")

set queryParams = CreateObject("Chilkat_9_5_0.JsonObject")
success = queryParams.UpdateString("type","tweets")

' Adds the "Authorization: Bearer <access_token>" header.
http.AuthToken = "<access_token>"

' resp is a Chilkat_9_5_0.HttpResponse
Set resp = http.QuickRequestParams("GET","",queryParams)
If (http.LastMethodSuccess = 0) Then
End If



Curl Command

curl -G -d "type=tweets"
	-H "Authorization: Bearer <access_token>"

Postman Collection Item JSON

  "name": "Get all batch compliance jobs",
  "request": {
    "method": "GET",
    "header": [
    "url": {
      "raw": "",
      "protocol": "https",
      "host": [
      "path": [
      "query": [
          "key": "type",
          "value": "tweets"
    "description": "Returns a list of recent compliance jobs.\n\nFor full details, see the [API reference]( for this endpoint.\n\n[Sign up]( for the Twitter API"
  "response": [