Click here to Skip to main content
15,897,371 members

facebook og:image not working

zeinabMarji asked:

Open original thread
when i try to post a comment (share link) on an article from my page which is actually a page i am using as an application in facebook : https://apps.facebook.com/ids_newsletter/ , facebook chooses the feed thumbnail image of the post feed randomly from my page. i tried using:

<meta property="og:title" content="IDS June Newsletter" />
<meta property="og:description" content="Check this out" />
<meta property="og:image" content="MYSITEURL/Images/logobig.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="200" />
<meta property="og:image:height" content="200" />

to put a custom image for the post but nothing affected the post thumbnail! .so what should i do ?? note that if i test the page in the fb object debugger my thumbnail appears. You can test the application and see what happens if that would help . any answers would be appreciated.i am stuck with this.
Tags: Facebook API

Plain Text
ASM
ASP
ASP.NET
BASIC
BAT
C#
C++
COBOL
CoffeeScript
CSS
Dart
dbase
F#
FORTRAN
HTML
Java
Javascript
Kotlin
Lua
MIDL
MSIL
ObjectiveC
Pascal
PERL
PHP
PowerShell
Python
Razor
Ruby
Scala
Shell
SLN
SQL
Swift
T4
Terminal
TypeScript
VB
VBScript
XML
YAML

Preview



When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
  4. Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the http://www.codeproject.com/info/cpol10.aspx.



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900