Looks like I am replying all my own post. Ok, so when passing in the value of the specific category, in the wp_insert_post() function, it has to be an array!
Anyone has any idea how I can go about this? Is it because the variable that is accepted for the value of the category is an array instead of a nominal value?