Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google+ Integration not working #4

Open
dbart opened this issue Aug 13, 2014 · 4 comments
Open

Google+ Integration not working #4

dbart opened this issue Aug 13, 2014 · 4 comments

Comments

@dbart
Copy link

dbart commented Aug 13, 2014

I have been successfully able to get Acilos up and running on a local server and the Twitter and Facebook connections appear to be working. The Google+ integration doesn't appear to be working though. I followed the instructions in the video ( https://www.youtube.com/watch?v=zDQShmJ74Kw ), but when I log in the only permission it asks for is "offline access", nothing about managing circles, posts and such.

screenshot-4

@dbart
Copy link
Author

dbart commented Aug 13, 2014

Hmmm... actually, while my twitter and facebook feeds are coming in, I'm unable to post, so maybe my install is broken somehow.

Here's an error and stack trace from the log:

[Wed Aug 13 10:48:22.115090 2014] [:error] [pid 10054] [client 127.0.0.1:48079] PHP Notice:  Undefined variable: is_xhr in /www/acilos/src/auth.php on line 36, referer: http://pippin.dbart.us/
exception 'ErrorException' with message 'Undefined variable: date' in /www/acilos/src/rest/v1.0/lib/Post.php:692
Stack trace:
#0 /www/acilos/src/rest/v1.0/lib/Post.php(692): Slim\Slim::handleErrors(8, 'Undefined varia...', '/www/acilos/src...', 692, Array)
#1 /www/acilos/src/rest/v1.0/index.php(101): Post->postFiles()
#2 [internal function]: {closure}('Post', 'postFiles')
#3 /www/acilos/src/vendor/slim/slim/Slim/Route.php(462): call_user_func_array(Object(Closure), Array)
#4 /www/acilos/src/vendor/slim/slim/Slim/Slim.php(1326): Slim\Route->dispatch()
#5 /www/acilos/src/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#6 /www/acilos/src/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#7 /www/acilos/src/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#8 /www/acilos/src/vendor/slim/slim/Slim/Slim.php(1271): Slim\Middleware\PrettyExceptions->call()
#9 /www/acilos/src/rest/v1.0/index.php(108): Slim\Slim->run()
#10 {main}

@rgillet311
Copy link
Contributor

RE: Google access
. We only ask for offline access for google because that is all the app currently supports. We didn't want to ask for more permissions than we are going to use.
. Currently google + does not expose a lot of their functionality through an API without some form of payment. Acilos being a completely free alternative to other pay apps means that we can only support the API calls that are given out for free.
. This is the reason that we have users make their own authentication apps, deal with daily call limits, and several services do not support posting without special relationships. Currently Acilos supports reading the google+ wall and friends list. The same for Instagram; users can only read their wall and comment and like, no posting.

RE: Posting issue:
. Do you mean posting to google isn't working or posting to twitter or facebook arn't working?
. The call limits can be reached very quickly depending on what you do with the app, so while Acilos might not be posting to facebook today; Try again tomorrow or when the call limits are reset.
. If you were trying to post at a certain time, the formatting is very specific -> 7:00 am or 6:53 pm . Be sure to include a space between the time and am or pm

Please let me know if you have any other questions, or if I didn't hit the nail on the head with what you were originally addressing. Thank you for checking out the app, we appreciate your interest and are always looking to fix any bugs people find.

-rgillet

@dbart
Copy link
Author

dbart commented Aug 14, 2014

The facebook and twitter posts didn't go through for a long while, then both went through, the facebook one twice, so I'm guessing that something was just wonky with my Internet.

The Google+ integration isn't doing anything that I can see. No posts are showing from Google+ in my stream at all.

@rgillet311
Copy link
Contributor

If I am not mistaken, I sat next to you at the SELF conference in Charlotte a few months ago!! Glad to hear the facebook and twitter are working.

We release new code almost daily, so try grabbing a new pull from master and hopefully that will fix it. One of the main google issues is that their tokens are only good for an hour before needing to be refreshed so try going to the manage accounts page and reauthenticating google by clicking on the button to do an auth flow again. That should also trigger running the cron which will hopefully get new data with a new token. (I have a refresh token function written but it is admittedly still a little wonky and might not be fully working)

We will take a look at the google feeds and see if we can find any errors. You can run cronManager,php alone and put print statements in it to get more data. That file is in /src/cron/poller/cronManager.php - though it will eat away at your call limit each time you do it.

Let me know if none of that works and we can continue to try troubleshooting it

-rgillet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants