Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

plugin.facebook.v4a not found
Started by vb66r55 Dec 05 2018 09:37 AM

5 replies to this topic

Best Answer roaminggamer , 05 December 2018 - 01:30 PM

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

 

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

 

3. Build and run it.

 

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

 

If that does not work post back here.

[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

vb66r55

[GLOBAL: userInfoPane.html]
vb66r55
  • Observer

  • 17 posts
  • Corona SDK

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.
 
 


[TOPIC: post.html]
#2

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,380 posts
  • Corona SDK

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.


Edited by roaminggamer, 05 December 2018 - 11:28 AM.


[TOPIC: post.html]
#3

vb66r55

[GLOBAL: userInfoPane.html]
vb66r55
  • Observer

  • 17 posts
  • Corona SDK

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",
        },
},


[TOPIC: post.html]
#4

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,380 posts
  • Corona SDK

  Best Answer

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

 

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

 

3. Build and run it.

 

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

 

If that does not work post back here.



[TOPIC: post.html]
#5

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,000 posts
  • Corona SDK

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


  • vb66r55 likes this

[TOPIC: post.html]
#6

vb66r55

[GLOBAL: userInfoPane.html]
vb66r55
  • Observer

  • 17 posts
  • Corona SDK

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

 

Thank roaminggamer.

 

Thank Rob. 




[topic_controls]
[/topic_controls]