facebook-graph-api-v2.2

This app has no Android Key hashes configured. - Login with Facebook SDK

这一生的挚爱 提交于 2019-11-27 17:19:29
I have problem about login with facebook acount in my application. I read to Facebook Doc. And I did all step as Facebook Doc. First in login with facebook acount in app - SUCCESSFUL ! and than logout in application. I want to login again with my facebook acount. But not working !! And I took this Excepiton ! Please help me ! Exception : This app has no Android Key hashes configured.Configure your app key hashes at http:developers.facebook.com/apps/"APP ID" Finaly; I used to part of code for HashKey Genarate try { PackageInfo info = getPackageManager().getPackageInfo("MY PACKAGE NAME",

Facebook Search posts with specific hashtags v2.2

喜夏-厌秋 提交于 2019-11-27 08:35:51
问题 We have built an .net application which gets Facebook posts by searching for the specific hash tags we have given. As Facebook is changing its rules from April 30 2015, which only allows v2.0 or later calls. Is there a way from v2.0 to search for Facebook posts? Any suggestions will be appreciated. 回答1: No, this is no longer possible since v2.0, because: Public Post search is no longer available Source: https://developers.facebook.com/docs/apps/changelog 来源: https://stackoverflow.com

Facebook - “Cannot query users by their username” solution

醉酒当歌 提交于 2019-11-26 04:26:32
问题 I am developing an android app. I was using a HttpURLConnection to get profile pictures of facebook users. The URL looks like this: http://graph.facebook.com/?ids=username1,username2,username3&fields=picture&type=square But now, since v2.2 doesn\'t let me to get profile pictures of users who are not using my facebook app, it throws an error: { \"error\": { \"message\": \"(#803) Cannot query users by their username (username1)\", \"type\": \"OAuthException\", \"code\": 803 } } I am not