Hello everyone! It has been a great 15 weeks where I’ve learned many things through it all. For the 15 weeks. I’ve also learned how to manage the use of APIs specifically for social media. How they manage their use of APIs, and how developers like me can make use of their APIs. The steps are really simple:
- API platforms will make use of a API key (almost all the time)… along with some sort of authentication protocol (such as Oauth which is most commonly used). We will then make an application (if needed for that platform eg: Facebook requires you to link your FB account to FB Devs)
- Authorize from our application (with the API’s key in this case)
- Since we’re using APIs specific for social media platforms.. there will be a specific client key issued upon successful authorization from the social media platform
- With all the above information (client keys and API-keys for our applications from the client and the social media platform respectively)… We are able to use the information to access various parts of the social media platform.
Most of the time however, the larger social media platforms may restrict this access and may want to review every single application that is being used through their platform. One example of this is the social media giant “Facebook”. Other platforms such as snapchat entirely wish to keep it proprietary to themselves, or special cases only.
Besides only learning how to use APIs, I’ve also increased my understanding in the usage of PHP along with the basics of developing a web application.
Here’s the final demo-day material for our project
It’s almost time for us to sumbit our work in about two weeks! We also have D-day coming soon. (Demo Day). This means we’ll be able to practice our pitching skills soon on the various lecturers.
For Dave and I, we’ve both been working on our individual side of the project. It is mainly divided into two different parts, the Front End Development and Back-End Development. Dave is constantly maintaining the website, which we’ve both use Git (BitBucket) to share our codes and make things more efficient. For this week, I have tried many different PHP Source development kits to attempt to post/GET to and from Linked-In.
This week, I’ve tried countlessly to get a PHP script to run with posting to linkedIn, and a HTML form to post the data from. I’ve tried with composer to install and make sure from the server’s side that the library (for linkedIn) would work. Unfortunately, It hasn’t yet worked. I am still constantly trying to get it to work. I am sure that the codes from Twitter and Facebook would be similar to LinkedIn’s.
What’s to expect:
For this coming week, I will be trying to get to POST to LinkedIn, and attempt to integrate with Dave the front-end along with the back-end. For example, We would need to ensure and write a simple script to check which checkboxes are ticked. In order to call the proper scripts (to POST to different websites).
This week, we’ve worked on the Twitter API to ensure that we’re able to push some information out from our website. At the moment, our website would look like this when sending out information for Twitter
A simple form to be able to “POST” out to PHP, which would then handle the back-end to end up being posted on twitter.
As for facebook, I was struggling with being able to POST to facebook feeds and etc. We’ve stopped working on facebook for now as we’ve been denied of the publish_actions permissions, which allows any Facebook Apps to be abel to publish/post to the Facebook Feed.
Unfortunately, as of right now, I will be working on handling Twitter and posting any tweets to twitter. Then later on coming back to facebook trying to meet the simple requirements to then get the information to be able to get the publish_actions permissions.
A very happy new year to all. It is 2018, and with every new year I grow a year older! This year, I’m turning 18. I’ll be able to finally get my driver’s license.
Let’s get back on track to the project. Since the last development update, I have done many things! However instead of the said PHP Login page… we’ve decided to go with just reading up and learning the basics of APIs. We’ve also accomplished connecting and using Facebook’s Graph API using their PHP SDK. Over the last week, we’ve also consolidated our project even more with the below mindmap.
The mindmap has shown us that we’re independantly working towards learning PHP in order to use the various SDK (Source development kits) to create our custom integrated post form to the multiple platforms.
It’s great to pull through the common tests, and now, I’m going to be focused doing my Project work! The term break is here, and school resumes 2 Jan 2018 (The new year!!)
This week, I will be working on the following! (I figured posting embed trello cards ;which is our development blog would be better!)
Login page using PHP Login (Click for more) (28 Nov 2017)
By setting up a PHP Login page, we will also learn to use oauth (Which is a protocol to interact with protected data (eg: passwords and usernames)) Afterwhich, we have planned to go straight into the development of our product.
I’ve just completed my second paper, and I’m halfway there! Two papers are left!
1. Programming (The fun one!)
2. Networking Fundamentals (This is pretty fun too!)
I’ve always thought polytechnic or higher-education was all about practicals; preparing you for that dream job you’ve worked for. I was wrong! It’s a mix of both. Ever since my first actual “lesson” in a polytechnic, I have not since then been disappointed at any of the lessons or lectures taught by a teacher there. I’ve always looked forward to the next lesson, and have found holidays to be meaningless. At least in school, I was able to talk to people, learn more things about the IT industry, and many other things!
Until then, I’m ever-ready,hopeful and excited as ever for the two final papers!
Good luck to everyone 🙂
The common tests are about to commence tomorrow!
I wish everyone the best of luck!
Today I will be just writing about why I prefer the new Fire Fox quantum over google chrome. As a IT Student, I try to keep up to date to tech news and any new products that may come out. Here’s a quick comparison between the two browsers
- Simple neat design
- Fast loading
- Slow start up
- Saves all recent visted page in history (longer to find)
- No drag-and-drop for settings icon,etc
- Great feel with the new design
- Fast start-up
- Faster loading (60% faster)
- 30% more memory efficient
- Saves all the recent visited pages on new tab section (and in history)
- Able to drag-and-drop customize to my liking
- In-built screenshot
- In-built send-to-device tab (I can send a tab to my IPhone’s Firefox Quantum)
- Search to multiple search-engines (url input)
I really really really love how FireFox feels and works out for me. Start-up time is super important to me because I love to quickly start my browser use it, then close it and the cycle repeats whenever I need to use my browser again. Chrome is just getting slower over time. I’d recommend you to try out Firefox Quantum!.
I’ll also be updating my blog every now and then to update my lecturers, and anyone who may be following my partner and I as we develop this product. For this week, It was sort of simple and easy-going as we didn’t do much. We had put in so much time to just reading up and understanding the different languages we required. For sending and validating forms, we needed to learn and get the gist of PHP, a server-side scripting language that’d allow us to validate and register the user on a server.
Furthermore, from my previous experience with MySQL and some database in school, I knew that we had to store the data somewhere. We have decided to go with MySQL instead because of the many various perks and advantages it holds over other databases. For example, I can use a administration tool (PHPmyAdmin) to execute commands and queries to administrate my database.
This week, I have also completed a mere small bit of the registration/sign up form. Dave and I have decided to work on a login section before working on the actual idea. This will give us some experience in dealing with the various HTML Methods (GET/POST) and PHP before working on pushing out the data through APIs from the various social medias. You can follow our actual and live development blog here : https://trello.com/b/UrvcZeUF/development-blog-davebrian-p1
This is my second blog entry and although I’m not too good at writing… I try my best to express my thoughts and share various things. This week is going to be a busy week. I have two practical tests this week!
One for Programming and the other for networking. I love these two modules. I am pretty excited to get down to writing code. I hope the coming test doesn’t kill me though. I’m thinking of writing some code to practice and prepare for Thursday. Networking is going to be intriguing and enjoyable too.
I’m also working on a project for my Portfolio module, It’s been a steady design so far, but some hard work needs to be put in. I can’t wait! Other than that, I’ve been on Netflix watching Marvel’s new series “The Punisher”. It’s pretty cool to watch the vigilante going against everyone to get revenge. That’s about it for the past two days, I hope you guys enjoyed reading.