Would anybody know how to translate this:
curl -F ‘access_token=ACCESS-TOKEN’ \ https://api.instagram.com/v1/media/{media-id}/likes
into lua, with the network.request?
Cheers,
Phil
Would anybody know how to translate this:
curl -F ‘access_token=ACCESS-TOKEN’ \ https://api.instagram.com/v1/media/{media-id}/likes
into lua, with the network.request?
Cheers,
Phil
local body = "access\_token=ACCESS-TOKEN" local params = {} params.body = body network.request( "https://api.instagram.com/v1/media/{media-id}/likes", "POST", networkListener, params )
or something like that.
local body = "access\_token=ACCESS-TOKEN" local params = {} params.body = body network.request( "https://api.instagram.com/v1/media/{media-id}/likes", "POST", networkListener, params )
or something like that.