plugin.facebook.v4a not found

Pleses help me,

WARNING: The ‘plugin.facebook.v4a’ library is not available in the Corona Simulator

I tried to find a lot of questions, but I couldn’t find the reason. I am sure I have plugin_facebook_v4a.lua in the folder.

I’m not sure what the question is.

It is not testable in simulator.  It can be tested on devices only.

Also, you shouldn’t actually have a file named ‘plugin_facebook_v4a.lua’ in your game folder(s).  That may be downloaded for building, but it won’t be in your game folder per-se.

Are you using these docs? https://docs.coronalabs.com/plugin/facebook-v4a/index.html 

I ask in case you are using an example you found elsewhere or somehow got the actual source file for the plugin and are  using it incorrectly.  Not an accusation.  Just trying to understand how you’re using the plugin.

I refer to https://docs.coronalabs.com/plugin/facebook-v4a/index.html and construct it according to his method.

And get AccessToken according to https://docs.coronalabs.com/plugin/facebook-v4a/getCurrentAccessToken.html.

I removed the ‘plugin_facebook_v4a.lua’ from the game folder after listening to your suggestions.

But the problem still exists.

This is my build.setting

– Plugins section

plugins =

{

[“plugin.google.iap.v3”] ={ publisherId = “com.coronalabs” },

[‘plugin.progressRing’] = { publisherId = ‘com.schroederapps’ },

[“plugin.class”] ={ publisherId = “com.cyborcgames” },

[“plugin.save”] = { publisherId = “com.pelagic-games”,},

[“plugin.texturePackerHelpers”] = { publisherId = “com.roaminggamer” },

[“plugin.facebook.v4a”] = { publisherId = “com.coronalabs” },

[“plugin.playfab.client”] = { publisherId = “com.playfab” },

[“plugin.photon”] =

        {

            publisherId = “com.exitgames”,

        },

},

Try this.

  1. Grab the source for the facebook sample that comes with the Corona simulator.

Windows usrers will find it here: C:\Program Files (x86)\Corona Labs\Corona SDK\Sample Code\Networking\Facebook

  1. Edit config.lua and build.settings to put your facebook related IDs in place.

  2. Build and run it.

If that works, compare what the example is doing to your usage.

If that does not work post back here.

The Facebook plugin does not work in the Corona Simulator. We generate that warning message to let you know that the plugin isn’t going to work in the simulator. There is a .lua stub file that gets used in the simulator instead of the live binary plugins used for iOS and Android. Without it your program would crash in the simulator.

Please test on a real device.

Rob

Thank you, although there are warnings, they can be used on the real machine after the test,.

Thank roaminggamer.

Thank Rob. 

I’m not sure what the question is.

It is not testable in simulator.  It can be tested on devices only.

Also, you shouldn’t actually have a file named ‘plugin_facebook_v4a.lua’ in your game folder(s).  That may be downloaded for building, but it won’t be in your game folder per-se.

Are you using these docs? https://docs.coronalabs.com/plugin/facebook-v4a/index.html 

I ask in case you are using an example you found elsewhere or somehow got the actual source file for the plugin and are  using it incorrectly.  Not an accusation.  Just trying to understand how you’re using the plugin.

I refer to https://docs.coronalabs.com/plugin/facebook-v4a/index.html and construct it according to his method.

And get AccessToken according to https://docs.coronalabs.com/plugin/facebook-v4a/getCurrentAccessToken.html.

I removed the ‘plugin_facebook_v4a.lua’ from the game folder after listening to your suggestions.

But the problem still exists.

This is my build.setting

– Plugins section

plugins =

{

[“plugin.google.iap.v3”] ={ publisherId = “com.coronalabs” },

[‘plugin.progressRing’] = { publisherId = ‘com.schroederapps’ },

[“plugin.class”] ={ publisherId = “com.cyborcgames” },

[“plugin.save”] = { publisherId = “com.pelagic-games”,},

[“plugin.texturePackerHelpers”] = { publisherId = “com.roaminggamer” },

[“plugin.facebook.v4a”] = { publisherId = “com.coronalabs” },

[“plugin.playfab.client”] = { publisherId = “com.playfab” },

[“plugin.photon”] =

        {

            publisherId = “com.exitgames”,

        },

},

Try this.

  1. Grab the source for the facebook sample that comes with the Corona simulator.

Windows usrers will find it here: C:\Program Files (x86)\Corona Labs\Corona SDK\Sample Code\Networking\Facebook

  1. Edit config.lua and build.settings to put your facebook related IDs in place.

  2. Build and run it.

If that works, compare what the example is doing to your usage.

If that does not work post back here.

The Facebook plugin does not work in the Corona Simulator. We generate that warning message to let you know that the plugin isn’t going to work in the simulator. There is a .lua stub file that gets used in the simulator instead of the live binary plugins used for iOS and Android. Without it your program would crash in the simulator.

Please test on a real device.

Rob

Thank you, although there are warnings, they can be used on the real machine after the test,.

Thank roaminggamer.

Thank Rob.