Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7921097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:27:35+00:00 2026-06-03T16:27:35+00:00

I am trying to setup a share button for facebook, twitter, and the other

  • 0

I am trying to setup a share button for facebook, twitter, and the other major share sites. The thing is when I use the methods I have found they only let me manually add the url to the share, not the text or title. This is an issue because on my site the share buttons would be on some posts, the main page showing 10 at a time, with a quotes page showing one and the comments. These posts are gotten from the database via a php function, returned to the index and it shows them. Then index takes care of what type to show.

The issue here is the share button looks at index.php for the title and text, both of which are dynamically added. So it find the wrong data. Is there anyway to manually tell it what text and title to use? If not then any advice on what to redesign to make it work?

Site url: http://ohmsgaming.com/nstdt/index.php

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T16:27:37+00:00Added an answer on June 3, 2026 at 4:27 pm

    I’m not exactly sure what you mean by “share”, but if you are referring to the old share button/url then you should not use it since it’s deprecated and no longer supported as it states here:

    The Share button has been deprecated in favor of the Like button, and
    will no longer be supported. Please use the Like button whenever
    possible to drive maximum traffic to your apps.

    (reference: http://developers.facebook.com/docs/share/)

    And here:

    What happened to the old Share button?

    We deprecated the Share Button when we launched the Like button,
    because the Like button improves clickthrough rates by allowing users
    to connect with one click, and by allowing them to see which of their
    friends have already connected.

    (reference: http://developers.facebook.com/docs/reference/plugins/like/)

    Instead use the Like button, and just use different urls for the url of the like, something of of this sort: *http://your.domain/post.php?id=POST_ID*.
    The data will be extracted by facebook from your page, so you need to specify open graph tags that match the POST_ID.

    Another approach is to use the fb js sdk to post to the feed, like so:

    var obj = {
        method: "feed",
        link: "LINK_URL",
        picture: "PIC_URL",
        name: "Test feed dialog",
        caption: "Testing posting",
        description: "more text"
    };
    
    FB.ui(obj, function callback(response) {
        console.log(response);
    });
    

    As you can see you can control all fields.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to setup some validation on the add to cart button for the dropdown
I'm trying to use setup the rails application on apache2 using the virtual server
I have a newsletter tool that I am trying to setup to run as
I am trying to setup my application to use Spring and also an image
I'm trying to setup the Zend Framework on Lion, I installed Zend in /usr/local/zend/share/ZendFramework/library/Zend
I'm trying to setup an enviroment to develop in SharePoint. I have XP with
I am trying to setup a shared authentication system on a build server. We
I am trying to setup a central repository with shared hosting. I read all
I'm trying to setup django on a shared hosting provider. I followed the instructions
I'm trying to setup Microsoft reporting on a shared hosted server. I've set up

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.