Hello Guys I am using buddypress and I am sharing activity on social network like facebook and google and I am using url like

 https://www.facebook.com/sharer/sharer.php?t=' . $activity_title . '&u=' . $activity_link . '

buy when facebook crawls the page it is not logged in so it redirects to home page so instead of sharing the image and title of that activity what shows on the facebook is the image and title of home page.

activity title and link shows correct in the link but when you share it shows the content of home page

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.