- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi guys,
I know I already posted this topic few days ago, but just wanted to check if I am the only one now who is facing this problem as the fb connect plugin entirely stopped working when FB app is installed on the mobile device.
How I prepare my APK packages:
1. Build unsigned package
2. Download it at the end of the build processs
3. Assign it an already generated keystore that corresponds to the hashkey I have previously specified for my FB app on the portal of FB
4. Install it.
If I remove the FB app on the device everything is working fine, but when it is installed I cannot login through the FB plugin. When I press the button it loads the FB app login control and then trying to load my profile apparently but at a certain moment the process stops and sends me back to my mobile app but nothing happens.....just fails.
Any ideas would be of a great help.
Thanks in advance!
Best Wishes,
Kancho
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My recommendation is that you contact the FB plugin authors and review their GitHub repo for similar issues. It may also be that you need to use an older version of the plugin in your app -- they may have made a change that is causing that problem. Here's the repo: https://github.com/Wizcorp/phonegap-facebook-plugin and here's their issue list: https://github.com/Wizcorp/phonegap-facebook-plugin/issues
The best way to try older versions of the pulgin is to reference the plugin using the github repo and reference the version tags they provide within the repo (goto the repo, select the "branch: master" pulldown, select the "Tags" tab). For example, specify the plugin using the third-party plugin as one of the following:
- https://github.com/Wizcorp/phonegap-facebook-plugin.git#0.10.1
- https://github.com/Wizcorp/phonegap-facebook-plugin.git#0.9.0
- etc.
See the "Releases" link on the repo for more details and a list of version ref tags.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please follow instructions from the below mentioned article in case you decide to use Cordova over legacy build.
https://software.intel.com/en-us/xdk/article/facebook-connect-plugin-android-ios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your comments guys!
I could not reply earlier, but finally found out what was causing the issue. I did some more tests and found that the hash key I am using on the FB portal for my app is different from the key FB does generate to do the verification. Then I searched a bit more in Google and found that the problem is in the openssl module I am using to generate the key locally. I downloaded the correct one openssl-0.9.8e_X64 for production environment and now it is working fine.
Thank you once again!
Best Wishes,
Kancho
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page