This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

Locan

  • ****
  • 166 posts
Facebook sharing button on article page
« on: June 25, 2018, 01:24:35 PM »
i want to show Facebook sharing button on article page , i use this code for post url like below but it not work

Code: [Select]
<?php echo osc_route_url('blg-post', array('blogSlug' => osc_sanitizeString(blg_get_slug($b)), 'blogId' => $b['pk_i_id'])); ?>

*

MB Themes

Re: Facebook sharing button on article page
« Reply #1 on: June 25, 2018, 01:38:47 PM »
@dom
Is $b variable assigned?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Locan

  • ****
  • 166 posts
Re: Facebook sharing button on article page
« Reply #2 on: June 25, 2018, 02:05:42 PM »
i can't got article url in article page.
i don't know how to add facebook shared button. please help me .

Marked as best answer by frosticek on June 25, 2018, 02:42:50 PM
*

MB Themes

Re: Facebook sharing button on article page
« Reply #3 on: June 25, 2018, 02:14:22 PM »
If you are on blog page, I would guess variable is not $b but $blog
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Locan

  • ****
  • 166 posts
Re: Facebook sharing button on article page
« Reply #4 on: June 25, 2018, 02:19:48 PM »
Thank You. now it work fine but not show image when share. How? why?

*

MB Themes

Re: Facebook sharing button on article page
« Reply #5 on: June 25, 2018, 02:42:40 PM »
@dom
You should look for developer to get such information or simply google it on how to.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots