`
hyl198611
  • 浏览: 229884 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

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。

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics