asaf alex
Posts: 0
Joined: Thu Apr 18, 2013 7:39 pm

advertise my apperyio apps with Facebook

Hi,
i want to start advertise my app that i've created with apperyio with facebook and for that i need to flow this guideline:

http://dragon.ak.fbcdn.net/cfs-ak-prn...

Is is possible to do it with apperyio?

This is what they asked to do :

Include the following code to be executed when your app opens for the
first time by the user. This will allow the app to ping back the install
event to Facebook when the user opens up the app for the first time.

  • For iOS add FacebookAppID entry in the plist file, and the
    following code:
    [FBSettings publishInstall:appId]

  • For Android, the code is:
    Facebook fb=new Facebook(appId);
    fb.publishInstall(appContext)

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

advertise my apperyio apps with Facebook

Hello! You would need to download source code for xCode and Eclipse and add the code you posted above.

asaf alex
Posts: 0
Joined: Thu Apr 18, 2013 7:39 pm

advertise my apperyio apps with Facebook

Thanks for this information.

Can you please guide me a little more about how to download the source code for xCode and Eclipse?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

advertise my apperyio apps with Facebook

Please take a look at the screenshot
Image
Also this should help http://docs.appery.io/documentation/a...

asaf alex
Posts: 0
Joined: Thu Apr 18, 2013 7:39 pm

advertise my apperyio apps with Facebook

Thanks again.

I'm working on the android app so i've downloaded the "Eclipse project" source code

Two questions:

1) i need to add this code :

Facebook fb=new Facebook(appId);
fb.publishInstall(appContext)

when my app opens for the first time by the user

Can you guide me in which file (from the source code) i need to add it? and where?

2)
after i will do these chnages, how i create from it a new APK that in need it for the Google play publishing

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

advertise my apperyio apps with Facebook

Sorry, not sure where to paste this code exactly, you would need to find more information on Internet. After you've done you should compile your app in Eclipse.

asaf alex
Posts: 0
Joined: Thu Apr 18, 2013 7:39 pm

advertise my apperyio apps with Facebook

ok, i will look for it

Thanks !!!

Return to “Issues”