0

I have tried tutorials on this site https://developers.facebook.com/docs/howtos/run-fql-queries-ios-sdk/, but I can not get it to work - maybe I made a mistake.

Maybe anyone else has some other tutorial - step by step or maybe source code?

Mario S
  • 11,715
  • 24
  • 39
  • 47
Tom
  • 43
  • 5
  • when I run simulator it shows me the buttons but nothing happens when i push the button – Tom Dec 20 '12 at 15:02
  • 1
    Can you get the completed sample (https://github.com/fbsamples/ios-3.1-howtos/tree/master/FQLHowTo) running? – C Abernathy Dec 26 '12 at 17:58
  • @CAbernathy, Thanks. I try this sample in Xcode, I see friend-list (all output - window), but on the simulator nothings show. Do you have any Idea? – Tom Dec 27 '12 at 00:54
  • http://i.stack.imgur.com/W8yAu.png – Tom Dec 27 '12 at 01:09
  • You hit upon a corner case that showed a bug. The toolbar's covering the first friend and since you only have one friend in your result, you didn't see anything. I'll post the answer (bug fixed basically) so you can accept it if it works. – C Abernathy Dec 28 '12 at 01:12

2 Answers2

1

There is a bug where the toolbar was hiding the first entry in the tableview. The fix in the tutorial was not to add the toolbar to the tableview. In this case it was added as a UITableView section header view. Go ahead and try it out again.

C Abernathy
  • 5,533
  • 1
  • 22
  • 27
  • 1
    Check out github.com/fbsamples/ios-3.1-howtos/tree/master/FQLHowTo onc e more and you'll find the changed file. – C Abernathy Dec 31 '12 at 21:16
0

Try solutions found in this SO question:

Facebook iOS SDK - get friends list

Good luck!

Community
  • 1
  • 1
Guntis Treulands
  • 4,764
  • 2
  • 50
  • 72