Android,如何获取Facebook/Twitter/等联系人照片
我想在应用程序中加载联系人的联系人照片,我知道如何做到这一点,因为有很多教程可以做到这一点。但这些方法(stock android)似乎无法拉回第 3 方同步的照片,我想知道是否有一种可靠且可靠的方法来本地执行此操作。
这个问题已经被问过很多次了,我可以从左到右地说出答案。唯一的问题是他们并没有真正解决问题。只创造变通办法。
经过一番广泛的搜索后,我发现了这一点:
Android 中存在一个错误,导致我们无法检索联系人照片 (几乎所有丢失的联系人照片都是 Facebook 个人资料照片)。到 解决这个问题,我们必须通过共享证书签署 APK 并强制应用程序 在共享 uid 中运行。
我在 https://sites.google.com/site 上找到了此内容/t2k269group/development-diary/load-contact-photo 任何人都可以详细说明如何使用共享密钥进行签名以及这是否有效?
如果其他人确实有一个可靠的解决方案,可以加载联系人照片,无论同步的是什么。
问题:是否有可靠的方法来加载联系人照片,其中包括同步照片而不仅仅是手机上设置的照片?
提前致谢。 干杯, 克里斯
I want to load contact photos for contacts in an app, I know how to do that as there are many tutorials to do that. But these methods(stock android) seems to fail to pull back 3rd party sync'd photos I was wondering if there is a solid and reliable way to do this natively.
This has been asked many times and I can reel off the answers left right and center. Only problem is they don't actually solve the problem. Only create work arounds.
After some extensive searching I came across this:
There is a bug in android to prevent us to retrieve the contact photo
(almost all missing contact photos are facebook profile photo). To
solve this, we must sign the APK by the shared cert and force the app
running in shared-uid.
I found this on https://sites.google.com/site/t2k269group/development-diary/load-contact-photo can anyone elaborate on how to sign with a shared key and if this would even work?
Of if anyone else actually has a reliable solution that loads contacts photos regardless of what synced them.
Question: Is there a reliable way to load contact photos which includes synced photos not just the ones set on the phone?
Thanks in advance.
Cheers,
Chris
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在这里您将获得带有照片的 FB 联系人 https: //github.com/facebook/facebook-android-sdk/tree/master/examples/Hackbook/src/com
here u will get Contacts of FB with photos https://github.com/facebook/facebook-android-sdk/tree/master/examples/Hackbook/src/com