I am having the same problem.
In fact, it seems the only value in the options parameter that is accepted at all is the “url”; which for some reason displays on facebook with an image selected out of my games images directory (seemingly at random).
[lua]
local function facebookPublish()
local options = {
service = “facebook”,
– listener = eventListener,
image = { filename = “myScreenshot.jpg”, baseDir = system.ResourceDirectory },
url = “http://www.naturelinksgame.com”
}
native.showPopup( “social”, options )
end
local isFacebookAvailable = native.canShowPopup( “social”, “facebook” )
if isFacebookAvailable == true then
local facebookButton = display.newImage(“images/menus/facebookShare.png”)
facebookButton.x = 525
facebookButton.y = 650
facebookButton:addEventListener( “tap”, facebookPublish )
sceneGroup:insert( facebookButton )
end
[/lua]
FYI I am sure the image exists. I was including a message in “options” as well, but it wasn’t being posted. Also, the “pop-up” that appears when users tap the button firing the facebookPublish function has several options (a space for a message, the ability to share location, and a drop-down of the group of users to share with).
Also, the pop-up only appears for a few seconds before disappearing; the user has to tap the share button in the app to get the pop-up again.
Any help or ideas would be appreciated.