[Resolved] Facebook Single-Sign-On

Hey guys,

I’ve been wondering if any of you had recent problems with Facebook SSO.

My app cannot post on facebook and I really don’t know what to do about it…

See below the errors from xCode console and the code I’m using:

Jun 19 13:27:17 unknown Facebook[2888] : MS:Notice: Installing: com.facebook.Facebook [Facebook] (550.58)
Jun 19 13:27:17 unknown Facebook[2888] : MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/Activator.dylib
Jun 19 13:27:17 unknown Facebook[2888] : MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/DisplayRecorder.dylib
Jun 19 13:27:22 unknown securityd[2889] : MS:Notice: Installing: (null) [securityd] (550.58)
Jun 19 13:27:23 unknown SCHelper[208] : active (but IDLE) sessions
Jun 19 13:27:23 unknown SCHelper[208] : 0x1d55b2c0 {port = 0x330b, caller = SpringBoard(33):com.apple.preferences, path = /Library/Preferences/SystemConfiguration/preferences.plist}
Jun 19 13:27:28 unknown Facebook[2888] : CGImageCreateWithImageProvider: invalid image size: 10 x 10.
Jun 19 13:27:28 unknown Facebook[2888] : CGImageCreateWithImageProvider: invalid image size: 2 x 2.
Jun 19 13:27:28 unknown Facebook[2888] : CGImageCreateWithImageProvider: invalid image size: 8 x 8.
Jun 19 13:27:28 unknown UIKitApplication:com.facebook.Facebook[0x3bf7][2888] : Jun 19 13:27:28 Andreis-iPhone Facebook[2888] : CGImageCreateWithImageProvider: invalid image size: 10 x 10.
Jun 19 13:27:28 unknown UIKitApplication:com.facebook.Facebook[0x3bf7][2888] : Jun 19 13:27:28 Andreis-iPhone Facebook[2888] : CGImageCreateWithImageProvider: invalid image size: 2 x 2.
Jun 19 13:27:28 unknown UIKitApplication:com.facebook.Facebook[0x3bf7][2888] : Jun 19 13:27:28 Andreis-iPhone Facebook[2888] : CGImageCreateWithImageProvider: invalid image size: 8 x 8.
Jun 19 13:27:28 unknown Facebook[2888] : CGImageCreateWithImageProvider: invalid image size: 10 x 10.
Jun 19 13:27:28 unknown UIKitApplication:com.facebook.Facebook[0x3bf7][2888] : Jun 19 13:27:28 Andreis-iPhone Facebook[2888] : CGImageCreateWithImageProvider: invalid image size: 10 x 10.
Jun 19 13:27:28 unknown Facebook[2888] : CGImageCreateWithImageProvider: invalid image size: 2 x 2.
Jun 19 13:27:28 unknown UIKitApplication:com.facebook.Facebook[0x3bf7][2888] : Jun 19 13:27:28 Andreis-iPhone Facebook[2888] : CGImageCreateWithImageProvider: invalid image size: 2 x 2.
Jun 19 13:27:28 unknown Facebook[2888] : CGImageCreateWithImageProvider: invalid image size: 8 x 8.
Jun 19 13:27:28 unknown UIKitApplication:com.facebook.Facebook[0x3bf7][2888] : Jun 19 13:27:28 Andreis-iPhone Facebook[2888] : CGImageCreateWithImageProvider: invalid image size: 8 x 8.
Jun 19 13:27:28 unknown Facebook[2888] : CGImageCreateWithImageProvider: invalid image size: 10 x 10.
Jun 19 13:27:28 unknown UIKitApplication:com.facebook.Facebook[0x3bf7][2888] : Jun 19 13:27:28 Andreis-iPhone Facebook[2888] : CGImageCreateWithImageProvider: invalid image size: 10 x 10.
Jun 19 13:27:28 unknown Facebook[2888] : CGImageCreateWithImageProvider: invalid image size: 2 x 2.
Jun 19 13:27:28 unknown UIKitApplication:com.facebook.Facebook[0x3bf7][2888] : Jun 19 13:27:28 Andreis-iPhone Facebook[2888] : CGImageCreateWithImageProvider: invalid image size: 2 x 2.
Jun 19 13:27:29 unknown Facebook[2888] : CGImageCreateWithImageProvider: invalid image size: 8 x 8.
Jun 19 13:27:29 unknown UIKitApplication:com.facebook.Facebook[0x3bf7][2888] : Jun 19 13:27:29 Andreis-iPhone Facebook[2888] : CGImageCreateWithImageProvider: invalid image size: 8 x 8.
<br>function game_menu_facebook(event)<br> printd("facebook event " .. event.type .. ", " .. event.name)<br> <br> if event.isError == true then<br> printd("facebook error " .. event.response)<br> end<br> <br> if ("session" == event.type) then<br> printd("facebook session")<br> if ("login" == event.phase) then<br> printd("facebook login")<br> facebook.request("me/feed","POST",{<br> message = "I just scored " .. high_score .. " points playing Bubble Grubble",<br> name = "Think you can beat my score?",<br> caption = "Download Bubble Grubble",<br> link = "http://goo.gl/vWT36",<br> image = "http://www.fanstudio.co.uk/bubble.png"<br> })<br> end<br> elseif ("dialog" == event.type) then<br> --printd("dialog",event.response)<br> end<br>end<br><br> [import]uid: 89239 topic_id: 27697 reply_id: 327697[/import]

SOLVED! MY MISTAKE! :smiley: [import]uid: 89239 topic_id: 27697 reply_id: 112325[/import]

Mind telling us what the problem was? :slight_smile: [import]uid: 84637 topic_id: 27697 reply_id: 112353[/import]

I wonder to, my app has stopped sharing with fb - and I have done nothing in the code :frowning:

Joakim [import]uid: 81188 topic_id: 27697 reply_id: 112373[/import]

The problem was that I was testing on a jailbroken device :slight_smile: [import]uid: 89239 topic_id: 27697 reply_id: 112392[/import]