Social plugin not showing facebook

When I am trying the following table for the scoial plugin Facebook doesnt show up in the pop up options. I am using build 2015.2625

local options = {     service = "facebook",     message = "Check out this photo!",     listener = eventListener,     image = {         { filename = "pic.jpg", baseDir = system.DocumentsDirectory }     },     url = "http://coronalabs.com" } native.showPopup( "social", options )

while an empty table shows facebook and allows to add files and message for facebook.

local options = { } native.showPopup( "social", options )

Hi @amirfarazmand,

Is this on Android? If so, Facebook can only accept a URL.

Brent

<amirfarazmand>: Brent is correct. See this discussion: https://forums.coronalabs.com/topic/52755-can-corona-enable-limited-facebook-sharing-on-android-via-nativeshowpopup/

More precisely, Facebook will accept images via the system share panel on Android, but Corona has chosen not to enable that functionality; currently only URLs may be shared. That may, according to a post this week by Rob in the other thread, be changing.

Thanks Brent, in this case how do you attach a file from your documents directory when Facebook pops up.

You cannot.  As of now you can only do a link.  We may be able to enable images in the future, but other documents are not attachable.

Rob

Thanks Rob. Is this possible with facebook plugin?

I’m not sure of all the possibilities that the Facebook Graph API supports, but I’ve never seen anyone upload anything other than a photo, video, a link or text.

If Facebook allows it, the plugin should support it.

Rob

I used the facebook plugin but got invalid app id from facebook login page when trialling the test app. I used the corona sample and changed the xxx with my facebook appid in 3 occasions, 1 in main.lua and 2 in build.settings. Is there anything I should do? 

I implemented Facebook login last month after reading Corona’s instructions and the Facebook API documentation and studying the sample code. It worked fine for me.

If you’re having problems I’d suggest rereading the documentation and restudying the sample code. If you do that and it still doesn’t work, you stand a better chance of receiving a useful response if you post an excerpt from your code and the exact error message.

Hi @amirfarazmand,

Is this on Android? If so, Facebook can only accept a URL.

Brent

<amirfarazmand>: Brent is correct. See this discussion: https://forums.coronalabs.com/topic/52755-can-corona-enable-limited-facebook-sharing-on-android-via-nativeshowpopup/

More precisely, Facebook will accept images via the system share panel on Android, but Corona has chosen not to enable that functionality; currently only URLs may be shared. That may, according to a post this week by Rob in the other thread, be changing.

Thanks Brent, in this case how do you attach a file from your documents directory when Facebook pops up.

You cannot.  As of now you can only do a link.  We may be able to enable images in the future, but other documents are not attachable.

Rob

Thanks Rob. Is this possible with facebook plugin?

I’m not sure of all the possibilities that the Facebook Graph API supports, but I’ve never seen anyone upload anything other than a photo, video, a link or text.

If Facebook allows it, the plugin should support it.

Rob

I used the facebook plugin but got invalid app id from facebook login page when trialling the test app. I used the corona sample and changed the xxx with my facebook appid in 3 occasions, 1 in main.lua and 2 in build.settings. Is there anything I should do? 

I implemented Facebook login last month after reading Corona’s instructions and the Facebook API documentation and studying the sample code. It worked fine for me.

If you’re having problems I’d suggest rereading the documentation and restudying the sample code. If you do that and it still doesn’t work, you stand a better chance of receiving a useful response if you post an excerpt from your code and the exact error message.