Skip to content

Instantly share code, notes, and snippets.

@object2dot0
Created December 1, 2015 07:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save object2dot0/eeee87030e12dff7c079 to your computer and use it in GitHub Desktop.
Save object2dot0/eeee87030e12dff7c079 to your computer and use it in GitHub Desktop.
Facebook Keys script file
#!/bin/sh
# Facebook_keys.sh
# iOSConsumerApp
#
# Created by Muhammad Tanveer on 9/17/15.
# Copyright (c) 2015 iCarAsia. All rights reserved.
if [ ${TARGET_NAME} = "iOSConsumerApp" ]; then
the_facebook_production_api_key="XXXXXXXXX"
the_facebook_production_display_name="Carlist - Production"
the_facebook_production_url_scheme="fbXXXXXXXXX"
the_facebook_preprod_api_key="XXXXXXXXX"
the_facebook_preprod_display_name="Carlist - Preprod"
the_facebook_preprod_url_scheme="fbXXXXXXXXX"
the_facebook_staging_api_key="XXXXXXXXX"
the_facebook_staging_display_name="Carlist - staging"
the_facebook_staging_url_scheme="fbXXXXXXXXX"
the_facebook_stack_api_key="XXXXXXXXX"
the_facebook_stack_display_name="Carlist - Stack"
the_facebook_stack_url_scheme="fbXXXXXXXXX"
#indonesia app keys....
elif [ ${TARGET_NAME} = "iOSConsumerApp-ID" ]; then
the_facebook_production_api_key="XXXXXXXXX"
the_facebook_production_display_name="Mobil123 - Production"
the_facebook_production_url_scheme="fbXXXXXXXXX"
the_facebook_preprod_api_key="XXXXXXXXX"
the_facebook_preprod_display_name="Mobil123 - Preprod"
the_facebook_preprod_url_scheme="fbXXXXXXXXX"
the_facebook_staging_api_key="XXXXXXXXX"
the_facebook_staging_display_name="Mobil123 - Staging"
the_facebook_staging_url_scheme="fbXXXXXXXXX"
the_facebook_stack_api_key="XXXXXXXXX"
the_facebook_stack_display_name="Mobil123 - Stack"
the_facebook_stack_url_scheme="XXXXXXXXX"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment