Jump to content

Recommended Posts

Hi, I am completely clueless as to this.
What I am trying to achieve is as follows.
We have a multi user site, and we want members to be able to have their social follow buttons on their site profile page.
I am thinking a small form where they can enter their profile id or even full URL for each of the chosen social pages, click submit, then the follow buttons appear on their profile page.

I need users to be able to add there google+, facebook, Twitter, Pinterest ids in a field and when the click submit, follow buttons are rendered allowing people viewing there profile to follow them as any other follow button.
I imagine it would be a case of a simple php script.
Many Thanks
Dean

Link to comment
https://forums.phpfreaks.com/topic/286131-help-with-social-button-rendering/
Share on other sites

You need to use the individual social newtorks plugins, and adapt them for your needs.

 

For example, Facebook has a bunch here: https://developers.facebook.com/docs/plugins/follow-button/#!/docs/plugins

Edited by paddyfields

Each of the social sites you've mentioned has an API available, as paddyfields mentioned. Most - if not all - are documented (admittedly to varying degrees of success - if you start to dig deeper into Facebook expect the docs to become rather annoying quickly), so bookmark the docs pages, download the API files, and leave a tab open on Google. What you're describing isn't (at least for Twitter and Facebook - I've not worked with Google+ or Pintrest) terribly difficult in terms of additional programming.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.