Dung Bui

FREE
By Dũng Bùi | Updated a month ago | Entertainment
Health Check

N/A

README

require 'uri’
require 'net/http’
require ‘openssl’

url = URI(“https://facebookliveapidimasv1.p.rapidapi.com/getLiveVideoComments”)

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE

request = Net::HTTP::Post.new(url)
request[“x-rapidapi-host”] = 'FacebookLiveAPIdimasV1.p.rapidapi.com
request[“x-rapidapi-key”] = 'e160a8fa4dmshba0fbf21823620ep12aa2ajsnb37d9a4114d5’
request[“content-type”] = 'application/x-www-form-urlencoded’
request.body = “liveVideoId=3251907528216368&accessToken=EAAlZAZB9CA7TIBAOijH30GKw1vnTZCTse6LmmxC5xZBR6reXphNvhCXC9GXWchVqZBUYNQUBiw93mJavR7PMNYQ5BxZCdW8R0odA5S0M5v1P9LLtg5NFdnqKcVKf6N8zR4G6asTbobQZCAZCOhUpE0O08jvBjc00fXTxLyjFMLazsM6XPR1yiCrwZAtQIYxjZCZBkMjmayvQBXD8AZDZD”

response = http.request(request)
puts response.read_body

Followers: 0
Resources:
Product Website
API Creator:
Rapid account: Dung Bui
Dũng Bùi
vinaboy0710
Log In to Rate API
Rating: 5 - Votes: 1