Showing posts from various public Facebook Dev Circle groups (based on keywords - node.js, react) in a Facebook Dev Circle group
Options Page for extension, showing addition of keywords of user's interest
Comments on a post can also be viewed in the custom feed
Merge Facebook Dev Circles by Interests
A Chrome extension that filters through Facebook Dev Circles around the world to get only the interesting posts in your feed.
Instead of having dev circles according to locations, we can now have posts from various dev circles based on our interests.
Developers are generally interested in a common set of coding languages and they work on a predefined tech stack and as the community grows, the group communication becomes difficult also sub groups gets difficult to manage which makes the community weak even after having so many members. The Vision is to maintain that community and show relevant content to group users as much as possible.
We are starting with Facebook Dev circles and soon will be making it general for every Tech group on Facebook and in the long run we want the extension to be available for every other group based on how users use it.
What is it?
It is a Google Chrome extension that replaces the feed of your Facebook Dev Circle group according to your interests.
How it helps Developers?
The most important asset for a Developer is time. Getting the job done in a minimal time is the most important task. People use Dev Circles to ask question or to help. At times, post gets missed due to the number of posts which depletes the purpose of the group. The extension allows Developers to see every post from every Dev C group which makes the community closer and can lead to have better answers to their queries and better chances of collaborating from all around the world.
What does it do?
You put some keywords of your interest, say
So instead of having dev circles by region, you now have dev circles by your interests!
It has some pre-defined tags that help you add your keywords easily. You also have the option to blacklist certain groups, if you don't want to see posts from them (maybe due to language differences).
It uses the graph API to fetch feeds from various dev circle groups.
See note in How to Install below.
How to Install
- Download the extension (
Merge.Facebook.Dev.Circles.by.Interests.crx) from link above or from releases page.
- Drag and Drop downloaded file into Google Chrome's Extensions page (
- Install the extension by clicking Install button.
- Go to extension's options and configure.
The above mentioned method might not work due to an an update to Google Chrome 63 (See: https://bugs.chromium.org/p/chromium/issues/detail?id=794219) (Thanks to Stefanie M from Devpost for reporting)
The following method will work on all versions of Chrome:
- Downlod the extension (
fb-dev-interest-unpacked.zip) from the releases page and Unzip the downloaded file.
- Go to
chrome://extensions/and click the checkbox to enable Developer mode.
- Click the Load unpacked extension button and select the unzipped folder.
- Install it as prompted and now you can have the extension's equivalent. Go to extension's options and configure and use it.
I'll update the upcoming releases and release v1.3 to have the
fb-dev-interest-unpacked.zip file. The .crx files won't be added to new releases until the update can be resolved.
App Token (required)
Get your app token from https://developers.facebook.com/tools/accesstoken/. You might need to create a Facebook Developer Account and/or a app. Create an app if not exists and get the
App Token (not User Token) and paste in App Token field in extension's options page.
The App Token is needed to authenticate Facebook's Graph API requests.
Add the keywords that interest you in this field to filter posts. Type a keyword and press Enter to add it. Click a keyword to remove it. We've added some keywords as suggestions. You can contribute by adding more keywords :)
If you leave this field blank, you'll get all posts from all public dev circle groups.
Highlight Keyword Matches
Enable to highlight matched keywords in posts, otherwise disable.
Add a group's name (and make use to auto-complete) to blacklist it (avoid showing posts from that group in your feed). You might want to blacklist a group as you might not be interested in their posts (no hate!) or not able to understand their language.
How we built it?
The extension uses the Graph API to fetch feeds from various dev circle groups. The posts shown in feed have same CSS classes as of regular posts in feed. We did this to make the feed look as natural as possible.
The options page is written using the React framework. Used react components can be seen in GitHub repo.
Challenges we ran into
- Never built a Chrome extension before.
- Never used Graph API, React before.
- Finding the correct classes and minimal html for rendering posts in feed was quite a challenge.
- @sidvishnoi (the coder) was sick during development process.
- The other teammate (the one with original idea) was busy with out of station work.
Making the posts and comments look similar to the ones shown in felt pretty cool. It seemed like I have finally built something.
@sidvishnoi learnt react and webpack in one day and made the options page (not a lot, but enough to make it work).
Creating a Chrome extension was also a fun thing to have done.
I would love your PRs. You can contribute :
- by adding more keyword suggestions (edit: /options.dev/keywords.js).
- letting me know of additions/removals of public Dev circle groups (edit: /options.dev/groups.js, you may use /scrape-group-lists.js).
- Make the extension better. Fix bugs, if found. Add more features. Improve existing features.
- More interactive feed.
- Get App Token through login SDK.
- Track keywords with Facebook Analytics SDK. - partially done.
- Firefox add-on maybe?