Forum Replies Created
-
AuthorPosts
-
Steenberg
Participantyep it seems fixes the picture problem 😉
Regarding the “groups” importer..
Your function “function get_events_for_object” (in case groups) need the user_token not the normal token.
Changing this everything seems work as long as the user_token is open typically a couple of hours.
To get user_token is a little difficult to get since it seems be only available via the redirect_url. e.g. https://www.facebook.com/dialog/oauth?client_id=<YourAppID>&response_type=token&redirect_uri=http://www.yoursite.com/apage.php (yousite same as listed in App setup). In a browser will open a page on your site and in the URL the user_token is listed.
Here my PHP/wordpress coding abilities ends.. but my idea (do not know if possible):
Your function “do_auto_import” -> will get normal token -> start the redirect_url The actual import will be done on the redirect page using the user_token provided…
Maybe some will come up with a solution some day 😉Steenberg
ParticipantThis reply is private.
Steenberg
ParticipantThis reply is private.
Steenberg
ParticipantThis reply is private.
Steenberg
ParticipantHi
Thanks for your reply 😉
Do you by any chance know which function is used?
Thanks -
AuthorPosts
