Note that there are some explanatory texts on larger screens.

plurals
  1. POFacebook iOS API publishInstall
    primarykey
    data
    text
    <p>I've followed the tutorial: <a href="https://developers.facebook.com/docs/tutorials/mobile-app-ads/" rel="nofollow">https://developers.facebook.com/docs/tutorials/mobile-app-ads/</a> for facebook ads on Android and iOS devices. No ad campaign created yet.</p> <p>When running the app on Android, the 'Last Mobile Install Reported' value on the facebook app page gets updated. However, the same does not happen for iOS.</p> <p>Here's my plist file:</p> <pre><code>&lt;key&gt;FacebookAppID&lt;/key&gt; &lt;string&gt;xxx&lt;/string&gt; &lt;key&gt;URL types&lt;/key&gt; &lt;array&gt; &lt;dict&gt; &lt;key&gt;URL Schemes&lt;/key&gt; &lt;array&gt; &lt;string&gt;fbxxx&lt;/string&gt; &lt;/array&gt; &lt;/dict&gt; &lt;/array&gt; </code></pre> <p>Here's the code:</p> <pre><code>- (void)applicationDidBecomeActive:(UIApplication *)application { [FBSettings setLoggingBehavior:[NSSet setWithObjects:FBLoggingBehaviorFBRequests, FBLoggingBehaviorFBURLConnections, FBLoggingBehaviorAccessTokens, FBLoggingBehaviorSessionStateTransitions, FBLoggingBehaviorPerformanceCharacteristics, nil]]; NSDate *facebookIdPublishedDate = [[NSUserDefaults standardUserDefaults] objectForKey:@"facebookIdPublishedDate"]; if (!facebookIdPublishedDate) { [[NSUserDefaults standardUserDefaults] setObject:[NSDate date] forKey:@"facebookIdPublishedDate"]; [FBSettings publishInstall:FACEBOOK_APP_ID]; NSLog(@"Published Install with Facebook App ID: %@", FACEBOOK_APP_ID); } } </code></pre> <p>I can see the FBSDKLog output and it looks ok, no errors. But still no result in the 'Last Mobile Install Reported' value...</p> <p>Anything that I'm missing?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload