Facebook Publish Installs Troubleshoot

Long story short,

Been having a tough time getting facebook to register installs in the mobile ad campaign.

HOWEVER, it does show up in the insights section when viewing the app from https://developers.facebook.com/apps 

It’s registering some iOS and Android downloads (but certainly not all and is very intermittent.

That being said, I’d like to see if I have been doing it wrong because my ad campaigns show 0 installs and I know users have been downloading it via insights on app annie and the play console dashboard.

Here is how I have tried to implement it and yes I have viewed the corona documentation for facebook publish installs. Ideally I want it to register both organic and paid installs. 

Here is my main.lua file as follows

display.setStatusBar(display.HiddenStatusBar);

_G.totalWidth = display.contentWidth-(display.screenOriginX*2);

_G.totalHeight = display.contentHeight-(display.screenOriginY*2);

_G.leftSide = display.screenOriginX;

_G.rightSide = display.contentWidth-display.screenOriginX;

_G.topSide = display.screenOriginY;

_G.bottomSide = display.contentHeight-display.screenOriginY;

local setupFile = require “setupFile”;

local fpsLib = require “fpsLib”;

local storyboard = require “storyboard”;

facebook = require “facebook”;

storyboard.purgeOnSceneChange = true;

fpsLib.init();

facebook.publishInstall( “606693996080805” )  --replace XXXXXXXXXX with your Facebook App ID

_G.buttonSFX = audio.loadSound(“SFX/wooshSFX.mp3”);

storyboard.gotoScene(“menuScene”, “fade”);

local screenShotNumber = 1;

function keyIsPressed(event)

  if event.keyName == “a” and event.phase == “down” then

    display.save(storyboard.getScene(storyboard.getCurrentSceneName()).view, “screen”…screenShotNumber…".png", system.DocumentsDirectory, true);

    screenShotNumber = screenShotNumber+1;

  end

end

Runtime:addEventListener(“key”, keyIsPressed);

I’m having a similar problem with publishInstall(). My app is set up similar to keitsu’s from above. The app has been calling that function for a couple days now, but I’m not sure if the data is making it into the Facebook app portal.

  1. On the Facebook app’s Dashboard portal page, the “Last Mobile App Installs” section says “We have not seen any install pings from your app yet.”

  2. On the Facebook app’s Insights portal page, the “Trends/Installs” section has a graph of installs from the last couple days.

Shouldn’t “Last Mobile App Installs” have some data? Thanks!

John

I’m having a similar problem with publishInstall(). My app is set up similar to keitsu’s from above. The app has been calling that function for a couple days now, but I’m not sure if the data is making it into the Facebook app portal.

  1. On the Facebook app’s Dashboard portal page, the “Last Mobile App Installs” section says “We have not seen any install pings from your app yet.”

  2. On the Facebook app’s Insights portal page, the “Trends/Installs” section has a graph of installs from the last couple days.

Shouldn’t “Last Mobile App Installs” have some data? Thanks!

John