i use facebook plugin
my code
it work great on ios,but didn’t work on android
if platformName== "iPhone OS" then facebook.request( "me/feed", "POST", { message="I just got ",link= "https://itunes.apple.com/us/app/id97091"} ) elseif platformName=="Android" then facebook.request( "me/feed", "POST", { message="I just got ",link= "https://play.google.com/store/apps/details?id=idxxxx"} ) else end
but if i change code like below,it work on android
it only cange request to showDialog
but i want to use facebook.request.
any idea?
is it still this problem?
Facebook has changed it’s policy. Dialogs cannot pre-fill the message text. The user is the only one who can fill that out. This is expected behavior.
if platformName== "iPhone OS" then facebook.request( "me/feed", "POST", { message="I just got ",link= "https://itunes.apple.com/us/app/id97091"} ) elseif platformName=="Android" then facebook.showDialog( "feed", {link= "https://play.google.com/store/apps/details?id=idxxxx" } ) else end