facebook-sdk-3.1

InternalCompilerError when I import the new Facebook 5.1 SDK into my existing project

感情迁移 提交于 2020-01-24 05:48:10
问题 If I import this package in a new project, I get no problems at all. But, when I try to import it into my existing project (that had the 5.0.4 version of the SDK), after the importing finished, I get the followin error message: Unhandled Exception: Mono.CSharp.InternalErrorException: Internal error at Mono.CSharp.MethodGroupExpr.IsApplicable (Mono.CSharp.ResolveContext ec, Mono.CSharp.Arguments& arguments, Int32 arg_count, System.Reflection.MethodBase& method, System.Boolean& params_expanded

Converting Facebook notifications from json

一曲冷凌霜 提交于 2020-01-04 16:04:36
问题 In my app I'm receiving notifications from Facebook using facebook sdk for android. But the data returned by response.toString() method is in json format. I need to know how can I convert it in simple human readable format so that I can use them to view in a textfield? This is what I get out of graph explorer.Required string is "title" { "id": "10000115768434", "name": "Nauman Aslam", "notifications": { "data": [ { "id": "notif_10000357346818423_6543370", "from": { "name": "Muhammad Asad

Converting Facebook notifications from json

徘徊边缘 提交于 2020-01-04 16:03:21
问题 In my app I'm receiving notifications from Facebook using facebook sdk for android. But the data returned by response.toString() method is in json format. I need to know how can I convert it in simple human readable format so that I can use them to view in a textfield? This is what I get out of graph explorer.Required string is "title" { "id": "10000115768434", "name": "Nauman Aslam", "notifications": { "data": [ { "id": "notif_10000357346818423_6543370", "from": { "name": "Muhammad Asad

Converting Facebook notifications from json

六月ゝ 毕业季﹏ 提交于 2020-01-04 16:02:17
问题 In my app I'm receiving notifications from Facebook using facebook sdk for android. But the data returned by response.toString() method is in json format. I need to know how can I convert it in simple human readable format so that I can use them to view in a textfield? This is what I get out of graph explorer.Required string is "title" { "id": "10000115768434", "name": "Nauman Aslam", "notifications": { "data": [ { "id": "notif_10000357346818423_6543370", "from": { "name": "Muhammad Asad

Facebook Mobile Ad App Installs not showing up in campaign reports

随声附和 提交于 2020-01-02 04:12:12
问题 I have successfully implemented the Facebook SDK and AppEvents to report installation of my Android app. I have verified that it registers the last install data in the dashboard, and I see thousands of fb_mobile_activate_app events in my App Events tab on Facebook. I have been running a paid campaign on the app, however, even after over 24 hours since adding the SDK, I am getting reports of 0 installs. Since I am basing my budget on how the ads perform, it seems odd to not have any data. Is

Facebook Login error when facebook account is already configured in system preferences

点点圈 提交于 2019-12-25 13:07:11
问题 I have faced an issue in facebook SDK. if I remove facebook account from System Preferences/Facebook and after that I try to login with facebook then it will redirect me to safari of facebook native application and I can logged in. But when I add facebook account in System Preferences/Facebook and after that I try to login with facebook then it will not redirect me and give popup "Your app" would like to access your basic info and list of friends. and I allows to it. but FBSessionStatus

Facebook SDK 3.1 - Error validating access token

两盒软妹~` 提交于 2019-12-17 03:51:06
问题 I'm trying to transition my app to the new Facebook SDK 3.1 (with support for iOS6 authentication). I had it working just fine, so I then decided to remove the app from my list of authorized apps on the FB website in order to test that iOS would ask for permission again. Now my first call to [FBRequest requestForMe] causes this error: Response: { "error": { "message": "Error validating access token: Session does not match current stored session. This may be because the user changed the

Facebook status update automatically android

你说的曾经没有我的故事 提交于 2019-12-11 15:09:22
问题 I need a some code to update the facebook status [Already mentioned string value] automatically of a user when he/she clicks in a button! I am using a facebook sdk3.6.0. All set, good to go!! I have two java classes one is for Main menu [Main.java which includes the button], and the other one is in the options menu [FbConnect.java- in which the user can connect to the facebook and the token will be saved to sharedprefernces]. Now the thing is that, Firstly user goes to the options menu and

Facebook Login - If user account is present (and app is not installed) login fails

不打扰是莪最后的温柔 提交于 2019-12-10 15:16:06
问题 I have just found this issue whilst testing my application and it is really starting to annoy me. So what the environment is like is as follows : No Facebook App installed User is logged into iOS System Account (Under settings -> Facebook) When my app attempts to authenticate the user for the first time it provides this wall of text : ( I tried cleaning it up a little) 2014-01-30 15:20:31.439 Unifeed[2140:70b] Session is <FBSession: 0xb74f9e0, state: FBSessionStateClosedLoginFailed,

Facebook Mobile Ad App Installs not showing up in campaign reports

99封情书 提交于 2019-12-05 09:56:06
I have successfully implemented the Facebook SDK and AppEvents to report installation of my Android app. I have verified that it registers the last install data in the dashboard, and I see thousands of fb_mobile_activate_app events in my App Events tab on Facebook. I have been running a paid campaign on the app, however, even after over 24 hours since adding the SDK, I am getting reports of 0 installs. Since I am basing my budget on how the ads perform, it seems odd to not have any data. Is there something I am missing here? Be sure you have your goal point to a Facebook app, and never have to