Page 1 of 1

advertise my apperyio apps with Facebook

Posted: Thu Apr 18, 2013 7:39 pm
by asaf alex

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)


advertise my apperyio apps with Facebook

Posted: Thu Apr 18, 2013 8:13 pm
by Maryna Brodina

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


advertise my apperyio apps with Facebook

Posted: Thu Apr 18, 2013 8:19 pm
by asaf alex

Thanks for this information.

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


advertise my apperyio apps with Facebook

Posted: Thu Apr 18, 2013 8:26 pm
by Maryna Brodina

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


advertise my apperyio apps with Facebook

Posted: Thu Apr 18, 2013 8:39 pm
by asaf alex

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


advertise my apperyio apps with Facebook

Posted: Thu Apr 18, 2013 8:58 pm
by Maryna Brodina

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.


advertise my apperyio apps with Facebook

Posted: Thu Apr 18, 2013 9:05 pm
by asaf alex

ok, i will look for it

Thanks !!!