deansyme Posted February 12, 2014 Share Posted February 12, 2014 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 ThanksDean Quote Link to comment https://forums.phpfreaks.com/topic/286131-help-with-social-button-rendering/ Share on other sites More sharing options...
trq Posted February 12, 2014 Share Posted February 12, 2014 You have just described what your wanting to do, not where you are stuck. Do you have a question? Quote Link to comment https://forums.phpfreaks.com/topic/286131-help-with-social-button-rendering/#findComment-1468587 Share on other sites More sharing options...
paddy_fields Posted February 12, 2014 Share Posted February 12, 2014 (edited) 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 February 12, 2014 by paddyfields Quote Link to comment https://forums.phpfreaks.com/topic/286131-help-with-social-button-rendering/#findComment-1468588 Share on other sites More sharing options...
maxxd Posted February 12, 2014 Share Posted February 12, 2014 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. Quote Link to comment https://forums.phpfreaks.com/topic/286131-help-with-social-button-rendering/#findComment-1468608 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.