We found it difficult to keep up with all of the activity on social media. It would save us a lot of time if we could automate our interactions with friends and fans. That's why we made Better Friend.

What it does

Better Friend automatically responds to activity on your Facebook feed, for both users and organizations. It provides a way to feign interest in your friends' inane memes and your customers' complaints.

How we built it

We built the back-end with Node.js and stored our data in a MongoDB instance. The front-end uses React.js. Our web server and API server are hosted using Heroku.

We make use of the Facebook Graph and Facebook Login APIs to respond on a user's behalf. Whenever new activity on a user's feed is detected, a webhook is triggered and calls our API server, which uses the Facebook Graph API to make an appropriate reply based on industry standards.

Challenges we ran into

We had a lot of trouble dealing with the limitations of the Facebook APIs and the large learning curve of React. As well, there were restrictions that prevented us from allowing public Facebook accounts to work with the app. We would have needed to submit a request to Facebook to allow us to ask users for specific permissions that would allow us to post on their behalf.

Because we do not have authorization from Facebook to enable certain permissions needed to post on behalf of users, this currently only works with our Facebook Test User accounts.

Accomplishments that we're proud of

We're pretty happy that we managed to get an enterprise and a community edition out, much to the excitement of our fans.

What we learned

We learned a lot about ourselves, new JavaScript standards, the horrors of restrictive APIs, and how easy it is to sleep on the floor.

What's next for Better Friend

Better Friend Professional Edition 2018.

Share this project: