Hi
When I'm using youtube java libraries (name begin with com.somgthing) such as "import java com.google.gdata.client.youtube.YouTubeService", the compiler will be confused if I also use import com at the same time... and give me the error below
import com
import java com.google.gdata.client.youtube.YouTubeService
##-----------------------------------------------------------------------------youtube_video_processed
function youtube_video_processed( youtube_video_id)
define
youtube_video_id string,
req com.HTTPRequest,
resp com.HTTPResponse,
url string,
api_key string,
text_response string
let api_key = "myapikey"
let url = sfmt('
https://www.googleapis.com/youtube/v3/videos?id=%1&key=%2&part=snippet,contentDetails,statistics,status',
youtube_video_id CLIPPED,
api_key CLIPPED)
let req = com.HTTPRequest.Create( url CLIPPED)
| cannot find symbol HTTPRequest, location: package com.
| See error number -6632.
call req.doRequest()
let resp = req.getResponse()
let text_response = resp.getTextResponse()
display text_response CLIPPED
return
end function
I have no idea how the first one was posted........ lol