pageID/feed - show Facebook page's posts in app

Hi, I’m trying to create a chapter in my app where the Facebook posts of my page are shown. I’m changing the facebook connect sample.
I’m able to login but not sure how to handle the response.
Code:
making fb request:

if fbCommand == GET\_USER\_INFO then facebook.request( "myPageID/feed", "GET") end

Trying to get the info on screen:
 

 elseif ( "request" == event.type ) then -- event.response is a JSON object from the FB server local response = event.response if ( not event.isError ) then response = json.decode( event.response ) if fbCommand == GET\_POSTS then statusMessage.textObject.text = response printTable( response, "posts", 3 ) end end

The text disappears and no response is available.
Anyone knows how to handle that?

*bump*
Come on how do I get facebook posts to my app? Anyone?

Here’s some light reading to get started.

http://forums.coronalabs.com/topic/48118-submitting-xcode-simulator-build-to-facebook/

http://forums.coronalabs.com/topic/48394-facebook-publish-actions-rejected-due-to-message-being-pre-filled/

http://forums.coronalabs.com/topic/44330-help-needed-with-facebook-integration/

tl;dr: it’s complicated. After you’ve coded everything correctly in your app, you need to submit your app to Facebook for approval. At least, I believe you do if you want to post to a Facebook wall. If you’re just requesting a feed, that might not need to be approved. You’d need to check Facebook’s rules to be sure.

Facebook integration is working. I don’t want to publish anything, I want to get the posts feed of the public page and parse it to my app. Is there the way to do so?

I’m sure its possible, but I don’t think there are any readymade tutorials on the subject.

Here’s a link from Develephant where he used the Parse module to obtain user info. Maybe you can find something useful there.

http://www.develephant.net/managing-facebook-users-with-the-corona-sdk-parse-module/

Thank you Alex !
Will check it out! 

*bump*
Come on how do I get facebook posts to my app? Anyone?

Here’s some light reading to get started.

http://forums.coronalabs.com/topic/48118-submitting-xcode-simulator-build-to-facebook/

http://forums.coronalabs.com/topic/48394-facebook-publish-actions-rejected-due-to-message-being-pre-filled/

http://forums.coronalabs.com/topic/44330-help-needed-with-facebook-integration/

tl;dr: it’s complicated. After you’ve coded everything correctly in your app, you need to submit your app to Facebook for approval. At least, I believe you do if you want to post to a Facebook wall. If you’re just requesting a feed, that might not need to be approved. You’d need to check Facebook’s rules to be sure.

Facebook integration is working. I don’t want to publish anything, I want to get the posts feed of the public page and parse it to my app. Is there the way to do so?

I’m sure its possible, but I don’t think there are any readymade tutorials on the subject.

Here’s a link from Develephant where he used the Parse module to obtain user info. Maybe you can find something useful there.

http://www.develephant.net/managing-facebook-users-with-the-corona-sdk-parse-module/

Thank you Alex !
Will check it out!