When i try to post from my application, the application reboots. Does not give any sort of error. The problem is definitely not with hash key 'cause while running my application from bluestacks, the post gets published to the facebook but not from the device. Please help!
Same problem here. Sorry to up an old thread but it’s better than opening a new one. Thanks you in advance.
Without information from your console log, it’s very unlikely anyone can help you. Please run an adb logcat and look for any warnings or error messages around your facebook.login() call. Need help with looking at your console log? Please read this tutorial carefully.
http://coronalabs.com/blog/2013/07/09/tutorial-basic-debugging/
Rob
I don’t see anything special in the device log. In fact, the app doesn’t restart when I press the Share button, it just opens Safari to connect to Facebook and when it’s done it resumes the app, but the app restarts, don’t know why. I didn’t have this problem until now, I haven’t changed any code concerning Facebook at all…
EDIT: touched shareOnFacebook is obviously the function to login into Facebook and then post to wall.
Mar 19 07:56:42 UlyDev Ballzone[2262] \<Warning\>: touched shareOnFacebook Mar 19 07:56:42 UlyDev accountsd[2283] \<Notice\>: MS:Notice: Installing: com.apple.Accounts [accountsd] (793.00) Mar 19 07:56:43 UlyDev accountsd[2283] \<Notice\>: 2014-03-19 07:56:43.593 accountsd[6403]: No Facebook accounts. Rejecting access request.
EDIT 2: Tried with a device that has the Facebook app installed, it works perfectly. The error occurs only if you haven’t installed the app.
If you don’t have the app installed on iOS 6 and later, Facebook wants you to use the device’s built in login. Go to the Settings app and scroll down to Facebook. There should be an option to let you add an account.
Rob
Same problem here. Sorry to up an old thread but it’s better than opening a new one. Thanks you in advance.
Without information from your console log, it’s very unlikely anyone can help you. Please run an adb logcat and look for any warnings or error messages around your facebook.login() call. Need help with looking at your console log? Please read this tutorial carefully.
http://coronalabs.com/blog/2013/07/09/tutorial-basic-debugging/
Rob
I don’t see anything special in the device log. In fact, the app doesn’t restart when I press the Share button, it just opens Safari to connect to Facebook and when it’s done it resumes the app, but the app restarts, don’t know why. I didn’t have this problem until now, I haven’t changed any code concerning Facebook at all…
EDIT: touched shareOnFacebook is obviously the function to login into Facebook and then post to wall.
Mar 19 07:56:42 UlyDev Ballzone[2262] \<Warning\>: touched shareOnFacebook Mar 19 07:56:42 UlyDev accountsd[2283] \<Notice\>: MS:Notice: Installing: com.apple.Accounts [accountsd] (793.00) Mar 19 07:56:43 UlyDev accountsd[2283] \<Notice\>: 2014-03-19 07:56:43.593 accountsd[6403]: No Facebook accounts. Rejecting access request.
EDIT 2: Tried with a device that has the Facebook app installed, it works perfectly. The error occurs only if you haven’t installed the app.
If you don’t have the app installed on iOS 6 and later, Facebook wants you to use the device’s built in login. Go to the Settings app and scroll down to Facebook. There should be an option to let you add an account.
Rob