When retrying the user may end up in a redirection loop if he/she cancelled the first authorization attempt.

https://www.facebook.com/dialog/oauth?client_id=173725992654138&redirect...

Comments

e0ipso’s picture

Issue tags: +beta-blocker

Tagging

mohitjee’s picture

Version: 7.x-1.x-dev » 7.x-1.0-beta1

Is anyone on it. I can't seem to post to the users wall when he registers on my site.
It's a very basic thing and still even that is not being done.
e0ipso please do something about it.

e0ipso’s picture

Please, do not resucitate old issues with unrelated questions.

If you have a feature request, or a support request please file one of those and try to be as thorough as possible explaining your use case.

AkliOnet’s picture

Good project and good work e0ipso and good tuto also :)

Otherwise I get the exactly same problem of redirection but it occur when I fill the picture field and overall when facebook don't return the publication id.

AkliOnet’s picture

Just to say that for me this was due to a bad config

e0ipso’s picture

Status: Active » Fixed

@AkliOnet thanks to take the time to report back. Will you be so kind to elaborate what was wrong, so other people can benefit from that?

Thanks again.

AkliOnet’s picture

I do not remember exactly the problem but I remember very well that your module was not involved

e0ipso’s picture

Issue tags: -beta-blocker

Just for the record, the module is as mine as it's yours. I happen to be the creator and the maintainer, but definitely not the owner.

;-)

OpenSource FTW.

AkliOnet’s picture

Yes, thank you for appreciate the OpenSource philosophy,really. But if you answere my new issue I will really ask God to rewarded your work ;)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

guypaddock’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev
Issue summary: View changes
Status: Closed (fixed) » Active

Re-opening -- I am still seeing a situation where, when requesting permission to post on a user's behalf, with 'retry' set to 'TRUE', the user is stuck in an endless loop of being asked to approve the permission if they deny it.

It looks like the retry flag should get cleared in fb_autopost_authorization_retry().

guypaddock’s picture

Attached is a patch which should correct the issue.

guypaddock’s picture

Status: Active » Needs review

Setting to NR.

e0ipso’s picture

Again, thanks for contributing @GuyPaddock!

e0ipso’s picture

Status: Needs review » Fixed

  • e0ipso committed 95ed22d on 7.x-1.x authored by GuyPaddock
    Issue #1911668 by @guypaddock: Authorization retry loop.
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.