Changed Facebook stuff to socialnetworks.h/cpp

All Facebook related stuff now is on SocialNetworks.h/cpp
this makes it much easier to implement things and looking
for bugs.

working:
- logging in
- getting user id
- getting album id ( or creating it )

*much* more testing is needed, of course.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-12-24 21:34:23 -02:00 committed by Dirk Hohndel
parent c8c17dc01e
commit ee5d93e155
11 changed files with 247 additions and 154 deletions

4
pref.h
View file

@ -19,9 +19,9 @@ typedef struct
} partial_pressure_graphs_t;
typedef struct {
char *user_id;
char *access_token;
char *album_name;
char *user_id;
char *album_id;
} facebook_prefs_t;
struct preferences {