Hi guys,
I’m curently working on my mobile application which reads data from Facebook page and shows them on the screen. I’ve already finished my application for Android and I didn’t have any problems. But with iOS I’m having huge problem.
When I receive access token and try to get data(using method network.request method) I get an error: “Invalid Parameter URL argument was malformed url”. Don’t know what’s the problem: wrote FB app ID in build settings, added iOS application on Facebook developers account…
Here is part of the code that is causing problems
function readData(event)
print(event.response) --this is access token that I get
local link="https://graph.facebook.com/"…APPID…"/posts?"…tostring(event.response);
print(link);
network.request(link,“GET”,readFacebookData);
end
Does anyone had similiar problem?