Not worked with Graph API's before so I have no idea where to start. From what I've seen, its basically grabbing content from the URL, but I need to do it via Javascript I guess?
Or will it be via an iframe like the usual feed stream/like box?
coopster
8:24 pm on Jan 21, 2011 (gmt 0)
I use the JS SDK. There are also links on those developer docs to some Samples [developers.facebook.com] to get you started as well.
surrealillusions
9:09 pm on Jan 21, 2011 (gmt 0)
Ah ok. Thanks.
Will see what happens :)
Tommybs
4:03 pm on Jan 22, 2011 (gmt 0)
You don't necessarily need to use the javascript SDK, you could use the PHP one or something similar. Just to build on what was said earlier, you basically need an oauth access_token to make your request. But as event is a connection to page, you should just be able to pull back your events as a json respones. So your request will be something like:
[graph.facebook.com...] page id or name here>/events?access_token=<your access token>
Hope this helps
surrealillusions
9:13 pm on Jan 22, 2011 (gmt 0)
Helps a bit, but what is the access token? I've tried to Google about it but I cant make much sense of it. I cant use PHP to get the access token as the script is going into a CMS system where its just html/css/javascript.
Tommybs
9:59 pm on Jan 22, 2011 (gmt 0)
hmm, well the auth token is composed of your app id and your api secret. I think it is possible to use this in JS still
surrealillusions
3:37 pm on Jan 25, 2011 (gmt 0)
Tried Google again, and the Facebook developers forum, but there doesn't seem to be anywhere that says how to get the auth token or access token, how do you get one?
I have no app, I just have the page ID.
Tommybs
3:50 pm on Jan 25, 2011 (gmt 0)
You'll need to create an application (do this by adding the developer application to your account). Then you'll need to add this app to your facebook page