facebook develop

facebook develop

 

 

key hash:
mac的控制台下输入:
 
keytool -exportcert -alias androiddebugkey -keystore  ~/.android/ debug.keystore |openssl sha1 -binary | openssl base64

注意:

1.确保你的电脑安装了keytool 和openssl。

2.确保你的alias是正确的,因为即使错误,也不会报错。

3.debug.keystore默认生成在你的用户文件夹里

以下是从facebook官网上拷贝下来的
We now need to do is a export the signature for your app so that Facebook can use to ensure users are only communicating with your app on the Android. This is done by running the  keytool . The following shows how to export the key for your app using the debug defaults specified by the Android SDK and Eclipse:

keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore

| openssl sha1 -binary

| openssl base64

This tool generates a string that must be registered in the Mobile & Devices section of the Developer App for your app 

################################################################################

android的Class Name :
1.解压apk,拿到 AndroidManifest.xml。

2.使用
AXMLPrinter2.jar,在控制台输入:
 
java -jar AXMLPrinter2.jar AndroidManifest.xml > AndroidManifest.txt
得到
AndroidManifest.txt。

3.在
AndroidManifest.txt中找到 manifest. application.activity.@android:name。
如果是".AppEntry", Class Name=manifest.@package+manifest. application.activity.@android:name。
如果是全名, 
Class Name=manifest. application.activity.@android:name。

################################################################################
 
ios的Bundle ID:
可以从以下三个地方取到,三个值肯定是一样的。
1.ipa包里的Info.plist:plist-dict-CFBundleIdentifier的值。
2.as项目文件里的appName-app.xml:application.id的值。
3.苹果开发者账号下配置的项目证书的id。

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值