Wednesday, July 16, 2008

Still Nothing

Ok. browsing the facebook example app for the AS3 facebook api, i saw that other ppl are having the same problem I am.

We can get the session started, we even have our own uid, the user ID that facebook assigns to each of us, but that info comes from a javascript in the html.

The calls done from inside flash via AS3 are being executed, but no answer is coming back. So i can't see my friends list or photos or anything. all i have so far is the uid.

I've gone through the process several times but i just can't see whats wrong with it.

Another test I did was, using the exact same swf file that Jason Crist is using in his example, which is working perfectly. and even using that exact file, i get the same results, which lead me to think that the issue is not in the AS code, but in the html or application setting of the Facebook App.

I don't know what else to try here to make this work. I'm out of ideas.

Wednesday, July 9, 2008

AS3 for FaceBook Apps

Ok, so i've been trying to figure out how to make a facebook flash application. and so far i've had a lot of trouble getting it to work.

The resources i've found:

http://code.google.com/p/facebook-actionscript-api/

and

http://code.google.com/p/as3facebooklib/

I liked the first link better, 'cause it has better documentation and some more tutorials on how to make things. But even saying that. the tutorials are not easy for a beginner intermediate ActionScripter.

I'm following the examples and tutorials but regretably some of the tutorials are kind of old so they don't apply to the current version of the libraries, or facebook changed a couple of things (with the JS bridge) and they are mostly for flex, so if you want to make it in pure AS3 it's not gonna be simple to change. or you have to know exactly what it is you're doing. I tryed with little success. it proved to be more of a problem to do that, than a solution. so i stuck with it.

So finally after a WEEK of strugling with it, i got it to accept my session, and i can see my uid number. but thats about it. so far.

I'll post when i got a working version of this. also i ntend to make a couple of tutorials to make it easier for not so expert programmers.