title: Setting up and debugging android installation tracking with facebook SDK
body: <p>We are following this guide on setting up adverts with the Facebook SDK on android.</p>
  
  <p><a href="https://www.facebook-studio.com/fbassets/resource/71/MobileAppInstallAds_ProductSetupGuide.pdf" rel="nofollow">https://www.facebook-studio.com/fbassets/resource/71/MobileAppInstallAds_ProductSetupGuide.pdf</a></p>
  
  <p>There is a line in there that tells you to add the following to your app:</p>
  
  <pre><code>Facebook fb=new Facebook(appId); 
  fb.publishInstall(appContext)
  </code></pre>
  
  <p>However looking through the Facebook SDK code, it appears to send this off automatically when you call authorize (via the autoPublishAsync method).</p>
  
  <p>As we are calling authorize, and it calls through to publishInstall, we have assumed this extra call isn't needed. (Could someone confirm this?)</p>
  
  <p>We have everything working on iOS, which is reporting installs perfectly. However, we aren't seeing as many android installs coming through as we would expect (though we are seeing some - implying it is working to some extent). </p>
  
  <p>While debugging the app, the publishInstall method is called and sends the install to facebook, but the response from that method isn't parsed or validated at all. So presumably it could be failing in production for some reason and we'd never know. </p>
  
  <p>Is there a page somewhere to just view android installs to validate that it is all working correctly on FB's side? Or does anyone have any other suggestions about what might be going wrong, or how to debug this?</p>