cordova-plugin-facebook-connect / cordova-plugin-facebook-connect

Use the latest Facebook SDK in your Cordova and Ionic projects
Other
63 stars 90 forks source link

Which APP_ID will use? #124

Open nevstas opened 1 year ago

nevstas commented 1 year ago

I have added plugin:

cordova plugin add cordova-plugin-facebook-connect --save --variable APP_ID="11111111111" --variable APP_NAME="My App" --variable FACEBOOK_HYBRID_APP_EVENTS="true"

And I have sent FB event:

!function(f,b,e,v,n,t,s)
    {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
        n.callMethod.apply(n,arguments):n.queue.push(arguments)};
        if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
        n.queue=[];t=b.createElement(e);t.async=!0;
        t.src=v;s=b.getElementsByTagName(e)[0];
        s.parentNode.insertBefore(t,s)}(window, document,'script',
        'https://connect.facebook.net/en_US/fbevents.js');

    var pixelId = '383727662552',
        appId = '22222222222';
    fbq('init', pixelId);
    fbq('set', 'mobileBridge', pixelId, appId);
    fbq('track', fb_status);

Which APP_ID will use '11111111111' or '22222222222'? Thanks!

MaximBelov commented 1 year ago

22222222222