Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

367
Views
Javascript: Facebook share link with different images

There is a slider and i want create a button which will allow share this image ( which currently active ) and link to page to Facebook.

i tried this method, but looks like facebook cache og:image

FB.ui({
       method: 'share_open_graph',
       action_type: 'og.shares',
       action_properties: JSON.stringify({
           object: {
               'og:url': 'https://example.com/',
               'og:title': 'test title',
               'og:description': 'test description',
               'og:image' : 'https://assets.codepen.io/1072415/amy-humphries-moOMLIZlUaM-unsplash.jpg'
           }
       })
   });

PS: adding a get parameters to page url still cache the image

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!