Click here to Skip to main content
14,486,704 members
Rate this:
Please Sign up or sign in to vote.
Hi Friends,

I am intermediate developer and I am trying to solve one problem about, c# with Ms Access Database. please If any one have solution for this question help me out please..

A website have url like:,,,..
and so on.

I am using facebook share api for sharing information from website to facebook and whatsapp. I have also try little code for share url with image from database
that code work fine but the problem is I want share image of that url too when I post url on facebook?

What I have tried:

<div class="addthis_inline_share_toolbox addthis_sharing_toolbox" data-url="<%# string.Format("{0}", Eval("0")) %>" data-title="<%# Eval("title") %>" data-media="<%# Eval("img") %>"></div>
Updated 18-Mar-20 1:42am
ZurdoDev 17-Mar-20 15:03pm
I do not understand your question.
Member 11774405 18-Mar-20 3:05am
Hello sir, I have re updated my problem so now I hope you can understand it easily. and Please If any have solution let me know...
ZurdoDev 18-Mar-20 7:27am
" I want share image of that url" - There is no such thing as an image of a url. So, I think you mean the url of an image. If so, where are you stuck? Urls are all the same whether they are to an image or to a page.
Member 11774405 18-Mar-20 7:31am
want to share image of url means, when I shared url which have contents including image. and urls if same but behind the IDs/ Parameters are differents. like information.aspx?id=1, information.aspx?id=2, both url have different content with respective content images.
ZurdoDev 18-Mar-20 7:35am
That still does not make sense. Those urls point to a page. A page may have lots of stuff on it. I still do not understand what you want to do.
Member 11774405 18-Mar-20 7:39am
It's okay sir, thank you for your time. but this whole process work totally fine with whatsapp and also facebook too but In facebook there is some Image display problems in my code so I try to fix that images size; so may be my problem will solve. Thank you sir.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100