I want to share link to my app(link on play.google) using facebook api. But I have to have it before posting app on market to put it in my code. Are there any other solutions except updating my app right after posting?
https://play.google.com/store/apps/details?id=<your package name>
and you can get package name by this way.
String packageName = getApplicationContext().getPackageName();
currently it will not show any app but after publishing it automatically redirect in your app page.