I ran into a problem with Facebook when trying to make a checkin (now called post with location). When reading the Facebook docs on their dev site I found it pretty straight forward but for some reason posting a message works but not when adding place, location or privacy even though I have the right permissions setup {“read_stream”}.
Anyone have a clue why it’s not working when adding these extra params needed for checkIn?
The problem seem to be how the Lua options table are formatted.
local optionsTbl =
{
message = "Test CheckIn",
link = "http:/www.google.com",
privacy = {value = "SELF"},
place =
{
id = "10151216958172838",
name = "Google",
location =
{
latitude = 37.42199248817,
longitude = -122.08460260009
}
}
}
or here is it in JSON
{
"message":"Test CheckIn",
"link":"http:/www.google.com",
"privacy":{"value" : "SELF"},
"place":{
"id":"10151216958172838",
"name":"Google",
"location":{
"latitude":37.42199248817,
"longitude":-122.08460260009
}
}
}
[import]uid: 13560 topic_id: 32639 reply_id: 332639[/import]
[import]uid: 52491 topic_id: 32639 reply_id: 129952[/import]