Hi!
I’m having trouble with an app while using the social plug-in on facebook with an android device. After posting on facebook, the event.action is returning “cancelled”, even though the post is being sent, so my code is not runnning.
My code looks something like this:
local function socialPayment(event)
print(“socialPayment Function”)
print(event.action) – is returning “cancelled” after the user posts in facebook"
if event.action == “sent” then
– CODE NOT RUNNING
end
local options = {
service = “share”,
listener = socialPayment,
url = “some url”
}
if event.target.img ~= nil then
options.image = {filename=event.target.img, baseDir=system.TemporaryDirectory }
end
native.showPopup( “social”, options )
I would appreciate some help as it is a key feature for my app.
Thanks!