Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7940605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:26:17+00:00 2026-06-03T23:26:17+00:00

My application (C# winforms) constructs an email and sends it to a customer. To

  • 0

My application (C# winforms) constructs an email and sends it to a customer. To the email there is a photo attached.
What i want to do, is to add a facebook share button into the e-mail so the user can share the attached photo on facebook by clicking this share button.

I already managed to construct the e-mail with the photo attached. I manage also to add a facebook share button to e-mail, but i cannot figure out how the attached photo can be uploaded and shared on facebook through a single url.

The url (which is attached to the share button) i came up with, which is pretty close to what i want:

href=”http://www.facebook.com/sharer.php?u=
‘img src=”http://www.somesite.com/apicture.jpg” />

but this requires the photo to be uploaded to somesite.com before this will work, and that’s not what i want.

Any clues?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T23:26:18+00:00Added an answer on June 3, 2026 at 11:26 pm

    If you want to share an image then you must have a url of it, you can’t share by uploading.

    You can first upload the image to facebook (for example) but you won’t be able to do that from withing the email, and the user will have to authenticate in order to do that, and so you won’t be able to do that from where you send the mail (if I understand the scenario right).

    What you should do is to have the image on the server where you send the mail from (or another server in your disposal), and then use that url with the share button.

    Another thing that you should take into account is that the share button has been deprecated and is no longer supported by facebook, as it says here:

    The Share button has been deprecated in favor of the Like button, and
    will no longer be supported. Please use the Like button whenever
    possible to drive maximum traffic to your apps.

    And here:

    What happened to the old Share button?

    We deprecated the Share Button when we launched the Like button,
    because the Like button improves clickthrough rates by allowing users
    to connect with one click, and by allowing them to see which of their
    friends have already connected.

    In your specific case it will be problematic to use the like button since it requires the facebook js sdk which can not be attached to an email.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My WinForms application has the standard Aero glass appearance on Vista/Windows 7. I want
In a WinForms application, I want to provide visual feedback that a looping background
Very simple Winforms application I want to deploy manually. Can all the referenced assemblies
In c# winforms application, I want to choose a directory from network and after
My WinForms application has a tab with a System.Windows.Forms.WebBrowser control. There are several controls
I'm trying to write an application (winforms) that can demonstrate how two oscillating colors
In a C#.NET windows application (winforms) I set the visibility of the checkbox to
In my winforms application i am hashing the connection string in local level. But
My .NET WinForms application connects to ftp server and downloads a file. To do
In a winforms application i 'm storing one Wingdings char in a SQL Server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.