Solved

Custom written blog engine - how to let people follow?

Posted on 2013-01-31
6
364 Views
Last Modified: 2013-02-05
I've written a custom blog engine and now my client wants to add a "follow" button.  The only thing is, I have no idea how to do that!  Does the follow button just add people to an email list and then they get an email everytime there's a new post?  Or is there some kind of API  I should be using from some established service like Facebook or twitter?

If anyone could point me in the right direction, I'd be grateful.
0
Comment
Question by:theamzngq
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 13

Accepted Solution

by:
stergium earned 167 total points
ID: 38842754
Hello.
My best guess would be that your client meant facebook and twitter. you can use www.addthis.com code ready to go.
hope that helps
0
 
LVL 16

Assisted Solution

by:Gurpreet Singh Randhawa
Gurpreet Singh Randhawa earned 166 total points
ID: 38842949
Hi, Check this Blog post:

http://support.google.com/blogger/bin/answer.py?hl=en&answer=104226

Always adthis will ad your post and share it with vertain services like facebook, twitter, google+ and others.

And also addthis website offers you the "Follow" buttons too. Just click on follow and then you are done, follow this link to check

https://www.addthis.com/get/follow?utm_expid=65470897-16&utm_referrer=https%3A%2F%2Fwww.addthis.com%2Fget%2Fsharing#.UQuGMaVQFzI

You just need to provide your api names for the services you need to use
0
 
LVL 39

Expert Comment

by:gdemaria
ID: 38844544
If you've written your own custom blog for your client and your client has asked you to add a "follow me" feature, then you should be adding it into YOUR blog, not using an API to some other third party tool or web site.

The follow me is pretty simple to code.  Just have a join table between two users (visitors)..  

Create Table userFollowing :
 user_id   int
 followUser_id int

Of course change the table and column names to make sense for your standards.

Inserting into this table will associate one user to "follow" another user.

Now that's done.  The question is ... what feature do you want to provide to a user following another user?   This is a question that can be asked of your client.

There are a variety ways to implement this.

When someone I am following posts a new entry.. what should happen?

... I will receive an email telling me about it with a link
... Their blog title will appear on my "wall" or home page
... I will go to my page and see a list of people I'm following and their latest updates

Stuff like that..  Once you know how your client wants to implement it,.. it's easy to do
0
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 
LVL 2

Author Comment

by:theamzngq
ID: 38844986
Great responses, everyone, very helpful.

@gdemaria, the feature isn't for one user to follow another user.  There is only one "user", that admin that is maintaining the blog. The "follow" feature is so that 3rd parties can "follow" the blog on the site, ie, be notified of new posts.  

Your procedural logic suggestion is great, though: when a user clicks "follow", what should happen?  I'll get with the client to more closely determine exactly that.  If they want to be notified via email (for example) when there's a new post, that I can do easily enough.
0
 
LVL 39

Assisted Solution

by:gdemaria
gdemaria earned 167 total points
ID: 38845111
Ok sorry.   That's just as easy though.

All you need is a list of followers with just an email address or user_id if they login.   You can add fields on the record to indicate how they want to be notified (or if they do) so each user can set their own preferences.    Perhaps a weekly digest or an immediate email with each post would be valid options.
0
 
LVL 2

Author Closing Comment

by:theamzngq
ID: 38856603
Thanks for your help everyone.  I have a more clear direction now.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Why data not loading into APPLICATIONS scope (memory) ? 7 52
ColdFusion Rereplace 3 97
Problem with data displaying 2 30
ajaxSubmit is giving me an error 1 63
Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
SEO can be a real minefield to navigate, but there are three simple ways to up your SEO game just be re-assessing your content output.
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question