facebook.publishInstall()

I am wanting to use the new fb function publishInstall(), but had a couple questions beforehand:

  1. Currently I use the Social plugin, so I’m not implementing SSO.  If I understand correctly this is ok, right?  I don’t need SSO in order to track installs via publishInstall()?

  2. The documentation lists the addition to build.settings for iOS, is there no special permissions for Android?  Is it in fact Android compatible?  

  3.  I’m really only interested in tracking installs.  Since that’s the case, is the code listed in the docs all that’s necessary?

  4. When setting up the app in the Facebook dev portal, do I still need Facebook Login and Deep Linking enabled?

  1. You don’t have to use any Fb sign in or functionality at all.

  2. It is Android compatible and you don’t need any special permissions. That special permission is only for iOS so you won’t get duplicate installs from the same user. On android Fb can check that without anything else.

  3. Indeed.

  4. You still need to set up iOS or Android details. The other options don’t matter since they are used for other purpose.

Sorry for thread interference, but when does one need publishInstall function? Is it so one can find friends that have app installed for example? I thought just connecting Facebook was enough for that. Come to think of it, in my tests I have been using test users and setting installed as true before hand, so I guess I may need this function.

This is used for Facebook Ads. If you promote your app with facebook ads, adding this line of code will report to them which users installed your app from the promotion and you’ll be able to calculate the effectiveness of your campaign.

  1. You don’t have to use any Fb sign in or functionality at all.

  2. It is Android compatible and you don’t need any special permissions. That special permission is only for iOS so you won’t get duplicate installs from the same user. On android Fb can check that without anything else.

  3. Indeed.

  4. You still need to set up iOS or Android details. The other options don’t matter since they are used for other purpose.

Sorry for thread interference, but when does one need publishInstall function? Is it so one can find friends that have app installed for example? I thought just connecting Facebook was enough for that. Come to think of it, in my tests I have been using test users and setting installed as true before hand, so I guess I may need this function.

This is used for Facebook Ads. If you promote your app with facebook ads, adding this line of code will report to them which users installed your app from the promotion and you’ll be able to calculate the effectiveness of your campaign.

Guys - when we follow the documentations for

http://docs.coronalabs.com/daily/api/library/facebook/publishInstall.html

and insert in the required changes to build.settings, we got a bunch of errors similar to:

http://forums.coronalabs.com/topic/32821-please-help-have-error-in-facebook-ios-lua/

So, does this mean the documentation is wrong and we should be setting the permissions like in the second link instead?
 

Guys - when we follow the documentations for

http://docs.coronalabs.com/daily/api/library/facebook/publishInstall.html

and insert in the required changes to build.settings, we got a bunch of errors similar to:

http://forums.coronalabs.com/topic/32821-please-help-have-error-in-facebook-ios-lua/

So, does this mean the documentation is wrong and we should be setting the permissions like in the second link instead?