Read wall mail on a Facebook page and display it on Google App Engine

I am trying to read wall mail on a single Facebook page and display it as a regular website hosted by a Google application.

My main idea was to use the Facebook API, but it seems like this is not possible. So my question is: is this possible using the Facebook API? Or do I need to use some other script?

What if I want to use my Facebook ID instead of asking the user to log in to Facebook. So even if the user does not have a Facebook account, he can see the message on my site.

+4
source share
2 answers

Yes, you can import a user feed (see http://developers.facebook.com/docs/reference/api/user/ ) if you have read_stream permission. You must use the feed field for User .

For example, you can use OAuth ( Scribe is a good library running on Google App Engine / Java), ask the user to connect to Facebook with read_stream permission, get his channel and display it in the same way as for a regular website.

+2
source

You say you want to receive messages on the Facebook page. Here you have two options:

  • Retrieving Public messages: this does not require authorization / authentication; you just need to request something like:

     https://graph.facebook.com/coca-cola/feed 

    This will allow you to receive public messages on the Coca Cola Facebook page. You can also use the page id.
    PS: No need for an app!

  • Receiving All Messages (public / private): here, I think you need to get the page administrator to add your application to receive all messages.

UPDATE:
As of June 3, even public messages require an access token. See: developers.facebook.com/blog/post/509
Thank nikc

0
source

All Articles