Facebook Connect: "Error occurred with <app> Please try again later" - iphone

I have an iPhone app that's using facebook connect via the ios-sdk to upload videos to facebook. It's been working fine until today. Most users are able to upload ok but one particular user gets this dialog first:
permissions ok
Once he hits ok he gets this dialog:
error dialog
I looked in the diagnostics for any errors and I didn't see any. The only thing I did notice was under feature requests it says "requests 1.0 - 30" for limit per user per day. I don't know if a particular user is running up against some limit or something else is going on.
The other interesting thing is that we have a full version and lite version. He can upload via the lite version but not the full version. Both versions use the same api calls for uploading videos.
update: User deleted the app from privacy settings in his facebook account. Then the app re-authorized and it all worked.
How did it get into this state? Is there a way to detect via the IOS app and resolve it?

Occasionally Facebook will return that error and most of the time (for me) there is nothing I can do to fix it except try again.
This error happens to me not only in this similar situation but also everywhere like Feed Dialog, Request Dialog, etc...
I'm pretty sure it's Facebook server error.

Related

How to get facebook advanced permission on graph api?

I'm literally going crazy with the new permission system of Facebook.
I am developing a mobile game and I have the code working with the standard access and I would like to start the process to obtain the authorization to use live data but it seem the whole system is broken.
First on some end points like user_friends the Request button is greyed out, it says I need to complete a successful request and wait up to 24 hours, I made hundreds for months it's still locked.
Strange thing it says app review rejected, but I don't remember ever trying the app review and there is no history of it.
So I thought I would try asking for the more basic permission where the button is working, like email and public_profile and it says I must fix the Play store link before going LIVE because it is not accessible.
To fix the link I need to publish an open beta, why is this a requirement? I don't want to do it.
Strange thing I still have a draft of permission request and I have the choice of uploading an apk there, why is it not possible anymore?
Please help

Flutter Web loading time is timing out, when tested from Facebook support

I have built a Flutter app for web and need to get some Facebook permissions from the users using the web app. In order to get the permissions, Facebook needs to login and approve that everything looks ok. But Facebook cannot access the page due to a timeout. However I haven't seen this error anywhere else. I only get a screenshot from Facebook saying session timed out.
I have checked the loading time and reduced my main file from 2,9 MB(!!) to 600 KB but that didn't do the trick. Anyone else who's been struggling with loading time for Flutter Web with Firebase and have some idea on what to do?

Facebook App Permission Getting Toggled Somehow

I have Facebook's SSO working properly in my iPhone app and most of my users have not been experiencing any issues. However, a small number of them have been reporting errors with Facebook Connect and not being able to create an account. After an email exchange with one, we determined that the app permission toggle under Settings->Facebook was somehow set to disallow my app from using Facebook.
I have since added an error message telling the user this might be the case but my question is how did this switch get toggled in the first place? It would seem that a user would have to manually toggle this switch, right? I also looked for an API method that might do this e.g. rejecting Facebook SSO the first time a user saw the dialog asking for permission; I could not find any such code.
Any ideas? I'm hoping this problem will solve itself with the error dialog I've put in but if possible, I'd like to remove this issue altogether.
As far as I know, using the native dialog with iOS6 and rejecting the permissions request (the first one, at least, not sure about requests which are asking an existing user for more permissions) will toggle that switch
If you need to debug, try uninstalling the app from your facebook profile (a HTTP DELETE request to /<USER ID>/permissions will do this, or you can do it in the facebook app settings), remove the iOS app, then install it and try to connect for 'the first time' again

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..

iOS and Facebook Graph API: Inconsistent authorize issues

I'm using the official FBConnect library for iOS and trying to get it working in my iPad app. Here's what's strange: when my friend logs in using the call to authorize:permissions:delegate, everything works fine: the dialog asks for his authorization to connect to Facebook, the fbDidLogin delegate method gets called, all is well.
However, when I try to login, the dialog never changes. The keyboard is dismissed, the password field is cleared and it just sits there. The issue is the same in both the simulator and on the device.
Here are the things I've checked and triple checked:
My login name and password are correct. If I do put in the wrong password, an "invalid username/password" message appears, and that isn't happening.
The application is not in sandbox mode.
The Application ID is correct (my friend can login without problems).
Some additional information:
Original application was created by my friend.
I created a second FB app and put in the new Application ID
My friend can login with the new Application ID
I can log in to neither.
This appears to suggest that there is something different about my friend's account, rather than the app itself.
We've been banging our heads together on this for a couple of days now. What could be causing this behaviour? Why isn't an error being generated?
Edit: It seems there are a lot of people affected by this, so in the interest of trying to find an answer, I've added a bounty.
There appears to be a server-side problem with Facebook logins as noted here:
http://github.com/facebook/facebook-ios-sdk/issues#issue/95
People have said that if they change their password on Facebook they are subsequently able to log in using the Facebook-iOS-SDK downloaded from github. Obviously that is a poor long-term solution and would be unacceptable in an app released through the App Store. On the bright side, there seem to be reports of similar login problems logging in from apps on other platforms as well.
Update: Facebook has a bug filed on this subject that can be viewed here:
http://bugs.developers.facebook.net/show_bug.cgi?id=13199