Sharekit Facebook not opening - facebook

i am using sharekit in my ios App. Twitter and email are working fine but facebook is not. When i open facebook it pops out a dialog having blue boundary but nothing is written in it. There is a close button on left side but the dialog is empty. Whats the problem? Please help me. Also i have double checked Facebook APPid and Secret key in SHKconfig.h.

A lot of people are having the same problem. ShareKit itself is an amateur attempt at a framework component and is so bug-ridden its pretty much worthless. The problem your seeing relates to the Facebook Connect framework used by ShareKit. Apparently Facebook has stopped all support for the Connect framework. In other words, you are SOL.

Related

Meteor js facebook mobile login blank screen

I set up a Facebook login package for my meteor project. It is supposed to work on mobile, but when the iPhone app finishes logging the person into Facebook, it just shows a blank screen.
I have tried:
Meteor.loginWithFacebook({loginStyle: "redirect" }
But it still doesn't work. Any ideas?
The app takes you to the sign in page, but after you sign in, it doesn't redirect back to the app. It just shows a blanks screen.
I figured it out. Facebook now defaults to API version 2.3 and there is no way to change it to an earlier version in the Facebook App section.
2.3 is not supported by the Facebook accounts system on Meteor.
I just so happens I had an old Facebook app that was set to use API version 2.0
If I didn't have that old app then I would have been out of luck.
If you found this answer useful please arrow up the question and answer. Thanks!

What's the correct way to authorize PhoneGap application to the Facebook?

I spent a while already to fix annoying issue with Facebook in PhoneGap app. And still a lot of things goes wrong with that. The thing is that I use Appery.io and Facebook plugin.
This is how my Facebook console looks now:
I suggest that localhost might be a reason of the issue. However, I got it into Facebook_Helper.js:
Everytime I try to sign in with FB account, I get the same error at the child window:
So what I've got is that app is authorized at this moment indeed, because there's a menu button at the navbar that allows me to navigate through FB profile:
The first issue lies in that the child window never gets closed automatically once user submitted Sign In form. And the second one is that I can't get the access token to the app directly. I know I'm doing something wrong, but I spend more than a week on that and nothing was clarified.
Honestly, I've no idea why it's not working. I saw a lot of apps written in PhoneGap that use the same authorization too, and they work as it should. Will be appreciate if you take a look into that and, maybe, advice something.
First, I don't see iOS or Android in your developer.facebook screenshot.
Second, you should implement native facebook integration if you are developing an app, if I understand correctly from your code, you are trying to handle only web browser version of authentication. Native integration is both the suggested way by facebook and platforms and better experience for end users. If users have facebook app installed, authenticating over fb app is more secure after all..
You can use a cordova plugin for facebook integration, here is one of the plugins (I am one of the authors): cordova-facebook plugin

iOS app misconfigured for Facebook integration

I am using the facebook-iphone-sdk framework to integrate my iPhone app to FB. The problem is when I click the button it gives an error "The application you are using is misconfigured for the Facebook integration. Please download the latest version of the app."
I was able to connect with FB only once. For the first time it worked fine and I was also able to post some data into my wall but afterwords it not working, and the above error occurs.
What could I be doing wrong?
The Bundle ID is case sensitive so watch out for that.
e.g. com.myapp.MyApp is not the same as com.myapp.myapp
This happened to me and gave the same error message.
May be you are using the deprecated API of facebook... Please use the New FBGraph API for facebook integration ....
How to share or post by mail, twitter and facebook from the current application?
This is not only about email... here you will find the tutorial and sample code for facebook integration.....!!
Possible Solutions:
1) Double Check that you are putting in the right facebook app id in your code, and that you didnt somehow overwrite that when you made it work the first time.
2) Check that in the facebook developer profile you have all the proper things set up (They have decent doc's for how to set up properly).
3) Check that you are using the most up to date version of the SDK for fb.
4) Consider using the built-in Facebook for iOS6, since you probably wont be releasing your app before iOS 6 comes out anyways.
5) If all else fails, start over and go through the instructions from beginning to end. Check and re-check everything you set up and carefully scan for little typos or something. It's probably a minor mistake somewhere that you're overlooking.
6) Post code if you want more specific help. An error message isnt enough to deduce what your problem is.
Just delete you app from facebook dashboard, create it again, and then change the facebookID in you App-Info.plist, in the key FacebookAppId and URL types array key. I did it and my app works fine.
Delete facebook app, force perform login in safari..

Does Sharekit still work?

When I try and use Facebook with Sharekit, it pops up the login dialog, I fill in my credentials and then it just disapears (it does this in the sample project as well) Am I doing something wrong? Or is Sharekit just defunked? If so, any viable alternatives?
Yes it does. And it gets better - there is a new repo on github, which aims to bring it alive again, from the flood of various forks.
I'm using ShareKit on a current project. The Facebook integration performs this way sometimes, but I don't think it has anything to do with the library. Remember that the Facebook dialog is hosted by Facebook. It may have to do with a temporary hiccup on their end.
Sharekit still works. I love it and it saved me a ton of time. It absolutely works.
I have experienced this issue as well.
There is a bug with the sharekit when the user signing in has already authorized your app to access their facebook account.
If I go into facebook -> account settings -> apps and remove my app from the list of apps. I do not experience this bug the very next time I have to sign in to facebook through the sharekit.
I am working on a solution, as long as time permits!

Twitter OAuth Login Page on the iPhone

I have Twitter integrated into my application, with the help of Sharekit. Everything works pretty well except, if the user happens to tap on the "Sign Up" link on the Login/allow page, it goes to a non-sign up error page. Either a "Sorry that page doesn't exist" or "Hold up! Sorry the profile you were trying to view was suspended due to strange activity."
The account I'm using is working as far as logging in, posting etc. But that link seems to go off into space. Also if I click on the "Twitter Gear"/Application Icon the dialog (web view with the Twitter OAuth Authorize page loaded) just closes.
I can't find anything about how to configure stuff like this and everything else seemed to work pretty easily. The closest reference I could find was,this link Twitter API Issue 1045
Thanks in Advance for any help
Update:
I've been checking a few other apps with Twitter support. Most of the ones I've checked (TUAW,Joystiq,TFLN) seem to have rolled their own Twitter Login Page (using XAuth I assume) the one I found that uses the Twitter OAuth page (Shazam) actually takes you to mobile Safari and it exhibits the same behavior. Maybe I need to roll my own login?
I suggest you go into the ShareKit class files, go to the two .m files that have "twitter authorization" (im not sure which of the two it is, a simple search on xcode should find it) and change the invalid url that it is being sent to to this URL: https://mobile.twitter.com/signup
That should fix your problem!
I suggest using a packet sniffer on your device to determine the exact URL being called when you click the "Sign Up" link. There are plenty of ways to do this, but it is easier on jailbroken phones. Armed with the URL, you can see if it is potentially something you are doing wrong or indeed a twitter bug.
Try Jan Rain it makes it easy to integrate this functionality without errors.
http://www.janrain.com/products/engage/mobile
Here is a ShareKit folk I am using: https://github.com/baotuo/ShareKit
It looks do not have your issues and have much more improvement. You should give it a try.
When you implement twitter integration, you should not use the library which you used in older projects but download new twitter library. I had some problems with twitter oauth when I used older library. But after download and use new library, the issue was fixed.