Flash with FaceBook??

Discussion in 'Programming' started by flashculture, Feb 1, 2008.

  1. #1
    Hi,

    I want to create a Flash app for facebook. I want to load in the users friends data into Flash, and then do things with that data. Any idea how I would do that?
     
    flashculture, Feb 1, 2008 IP
  2. jorgy

    jorgy Peon

    Messages:
    611
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'd imagine information like this doesn't come cheap.
     
    jorgy, Feb 1, 2008 IP
  3. flashculture

    flashculture Peon

    Messages:
    256
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yeah there seems to be a weird silence on the subject of what you can do with Flash and facebook...
     
    flashculture, Feb 1, 2008 IP
  4. jorgy

    jorgy Peon

    Messages:
    611
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    That's probably because the facebook apps industry is fairly untapped, and a fairly awesome way to make a lot of money
     
    jorgy, Feb 1, 2008 IP
  5. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Have to say I dont know much about action script but you can certainly get the information using the API with PHP or .Net etc and then pass it to the Flash file for consumption but given it uses the REST method at the moment (though i am sure I read they will be launching a proper SOAP method) I would be surprised that action script didnt support it anyway.
     
    AstarothSolutions, Feb 1, 2008 IP
  6. flashculture

    flashculture Peon

    Messages:
    256
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I know a bit of AS2, but I've never heard of "REST". With Flash you can use sendandload to fire an object at a php script, and then just echo out the vars you want back to the flash script, but what would the php script look like?
     
    flashculture, Feb 1, 2008 IP
  7. flashculture

    flashculture Peon

    Messages:
    256
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I've got a thread going about that elsewhere, but I dunno, there's an awful lot of facebook apps out there right now...
     
    flashculture, Feb 1, 2008 IP
  8. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Wouldnt have a clue as we develop in .Net rather than PHP.

    Dont like REST as a method of using an API but then .Net has such great support for SOAP it isnt surprising.... basically with REST you call to a URL with a lot of querystring variables/ values and receive back an XML response for your script to consume. See http://en.wikipedia.org/wiki/Representational_State_Transfer
     
    AstarothSolutions, Feb 1, 2008 IP
  9. flashculture

    flashculture Peon

    Messages:
    256
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Fb:swf, might be interesting but I think it's just for embedding the .swf.
     
    flashculture, Feb 2, 2008 IP
  10. maskproduction

    maskproduction Active Member

    Messages:
    161
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #10
    maskproduction, Feb 2, 2008 IP
  11. flashculture

    flashculture Peon

    Messages:
    256
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    why? why can't you just send vars back and forth to the php script?
     
    flashculture, Feb 2, 2008 IP
  12. maskproduction

    maskproduction Active Member

    Messages:
    161
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #12
    because flash talking to php via "amfphp"
     
    maskproduction, Feb 4, 2008 IP