Anyone know of html code to send an image to facebook?

Discussion in 'Programming' started by sunnymonkey, Nov 19, 2007.

  1. #1
    Hey all.

    I am setting up a new gallery and I want to make it easy for users to send any image to their facebook profile. Is there some code that makes this straight forward at all?

    I found a bit of code that adds something as a note so I assume there must be a way to submit an image?

    Any help would be really welcome.

    Regards,
    David
     
    sunnymonkey, Nov 19, 2007 IP
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You need to create a facebook application, this will give you the app key and secret key which is required to make a connection to their API - after that is done the API is fairly simple to either put images on their profile using "FBML" and create pages for people to manage their info in your app
     
    AstarothSolutions, Nov 20, 2007 IP
  3. sunnymonkey

    sunnymonkey Peon

    Messages:
    623
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you. Having no idea how to create an app I will just have to leave it for now :(
     
    sunnymonkey, Nov 20, 2007 IP
  4. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #4
    They are easy enough to do - I am not a developer personally at all and yet I managed to create a mashup of facebook and amazon with minimal issues (see link in signiture).

    I/ we develop in .Net so cannot comment on PHP but in .Net there are some reasonable opensource components built for facebook now so for example the whole creating the interface is a single drag and drop box where you simply need to set 3 variables (app name, app key and secret key).
     
    AstarothSolutions, Nov 20, 2007 IP