Jump to content

Button To Post Image From Site to Facebook


djcubez

Recommended Posts

I am not sure if this is possible with my current setup but I figure I would give it a shot. I am not familiar at all with the Facebook API but I understand it might be needed for this. Also, my question might pertain to Javascript or HTML more than PHP, but I thought I'd throw it our here in case it does need PHP.

 

I have a PHP script that takes an already existing image, throws text and borders on it from a user input form, and then creates a .png file. The .png file is only stored for a day before being removed, as the images are being attached to emails and sent immediately. The script itself works great! However, there's been a request to allow users to post the image to their Facebook page/wall in addition to attaching the image to an email. I myself have found no easy way to do this, as the image files are not permanently stored on the server. All the research I've done has turned up discussions that end with "this isn't possible" or no solutions.

 

So obviously my question will be "is this possible?" And if it is, how would I achieve it?

 

Thanks!

 

EDIT: I feel it's important to add that I don't want to start storing the images on the server permanently.

Edited by djcubez
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.