[Facebook Analytics] Is it working now?

I am failing from downloading plugin.

  1. Corona Simulator: 2020.3609 (2020.8.5)
  2. All Facebook app ids were set up normally.
  3.  ["plugin.facebook.v4"] = { publisherId = "com.coronalabs" },
     ["plugin.facebookAnalytics"] = 
     {
         publisherId="tech.scotth",
         marketplaceId = "My acc id"
     },

@Scott_Harrison

Can you dm or email your demo project? Also can you tell me if you using Mac or Windows, also are you building for iOS or Android?

Mac, iOS

[main.lua]

local facebook = require “plugin.facebook.v4”
local facebookAnalytics = require “plugin.facebookAnalytics”
facebookAnalytics.init(“MY_FB_APP_ID”)

[build.settings]

settings =
{

iphone =
{
	plist =
	{
		MinimumOSVersion = “8.0”,
		UIApplicationExitsOnSuspend = false,
		FacebookAppID = “MY_FB_APP_ID”,
		CFBundleURLTypes =
		{
			{ CFBundleURLSchemes = { “fbMY_FB_APP_ID”, } }
		},

        LSApplicationQueriesSchemes =
        {
            "fb",
            "fbapi",
            "fbauth2",
            "fb-messenger-api",
            "fbshareextension"
        },
    },
},

android =
{
	usesPermissions =
	{
		“android.permission.INTERNET”
	},
	facebookAppId = “MY_FB_APP_ID”,
},

plugins =
{
	[“plugin.facebook.v4”] = { publisherId = “com.coronalabs” },
	[“plugin.facebookAnalytics”] =
	{
		publisherId = “tech.scotth”,
		marketplaceId = “my acc id”,
	},
},

}

Output

ERROR: Runtime error
/Users/runner/work/corona/corona/platform/resources/init.lua:931: module ‘plugin_facebookAnalytics’ not found:
no field package.preload[‘plugin_facebookAnalytics’]
no file ‘/Users/hj/Library/Application Support/Corona/Simulator/Plugins/plugin_facebookAnalytics.lua’
no file ‘/Users/hj/Desktop/facebookAnalytics-demo-master/plugin_facebookAnalytics.lua’
no file ‘/Applications/Corona/Corona Simulator.app/Contents/Resources/plugin_facebookAnalytics.lua’
no file ‘/Users/hj/Library/Application Support/Corona/Simulator/Plugins/plugin_facebookAnalytics.dylib’
no file ‘./plugin_facebookAnalytics.dylib’
no file ‘/Applications/Corona/Corona Simulator.app/Contents/Resources/plugin_facebookAnalytics.dylib’
stack traceback:
[C]: in function ‘require’
/Users/runner/work/corona/corona/platform/resources/init.lua:931: in function ‘require’
/Users/hj/Desktop/facebookAnalytics-demo-master/main.lua:2: in main chunk

What can you dm or email me (solar2dmarketplace@gmail.com) your account id?

@Scott_Harrison I sent. please check.
Please let me know if you can fix it.

1 Like

Hey @SUPER_TOKI I looked up your account and it looks like you don’t have Facebook Analytics activated on your account. Did you purchase Facebook Analytics Here
https://solar2dmarketplace.com/plugins?FacebookAnalytics_tech-scotth

Sorry about that, try refreshing the page now