i have those functions implemented here, in FanBookPost.cpp
No you don't! You've redefined the class, rather than just defining the functions. That breaks the One Definition Rule, so all manner of things could go wrong. In particular, the functions are inline, so they won't be available to other source files; hence your errors.
The source file should look more like
#include "FanBookPost.h" // include the class definition
// Define the member functions
int FanBookPost::getNumLikes() {
// code
}
// and so on
Alternatively, you could define the functions within the class definition in the header, or after the class definition with an inline
specifier; this might be appropriate if they are very small, since it gives the compiler better optimisation opportunities. But in either case, you must only define the class once, in the header.