I know it's possible to get an rss feed or whatever for wall posts of groups. However, every time I try it with a closed group that I belong to, it doesn't work. Is this possible if you aren't the admin or owner of a group but just a member? Here are the steps that I've taken so far.
- Create an application on http://developers.facebook.com/setup/
- When you are done, you will see App Name, App URL, App ID, and App Secret. Copy down these data.
- access https://graph.facebook.com/oauth/authorize?client_id={CLIENT_ID}&scope=offline_access&redirect_url={URL}.
Replace {CLIENT_ID} with your App ID. Replace {URL} with your App URL.
- When you prompt “Request for Permission” page, click [ ALLOW ] button.
- You will be redirect to {URL}/?code={YOUR CODE}
- Copy down {YOUR CODE}
- Access https://graph.facebook.com/oauth/access_token?client_id={CLIENT_ID}&redirect_uri={URL}&client_secret={APPLICATION_SECRET}&code={YOUR_CODE}
Replace {CLIENT_ID} with your App ID Replace {URL} with your App URL Replace {APPLICATION_SECRET} with your App Secret Replace {YOUR_CODE} with your {YOUR CODE}
When you hit the url, you will get access token.
At this point I don't get an access token I get this.
{
"error": {
"message": "This authorization code has expired.",
"type": "OAuthException",
"code": 100
}}
The problem is, I just created the auth code like 2 seconds prior. No way could it have expired. So I can't follow the rest of the steps below until I have that access token.
Copy your access token.
Now, access the following url with your access token.
http://graph.facebook.com/{YOUR GROUP ID}/feed?access_token={ACCESS TOKEN}
When you go to your group page, you url is something like /group.php?gid=xxxxxxxxx. In this case, gid is your group id.