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

Error Facebook Access Token #63

Closed
RicoMahr opened this issue Sep 3, 2019 · 9 comments · Fixed by #65
Closed

Error Facebook Access Token #63

RicoMahr opened this issue Sep 3, 2019 · 9 comments · Fixed by #65

Comments

@RicoMahr
Copy link

RicoMahr commented Sep 3, 2019

Hello @anjeylink,

after #58 we updated to Version 2.0.1 and followed step by step your new, well written, documentation. Everything went as expected until the Facebook popup window appears:

  • we choose the enterprise page of our facebook personal account (checkbox)
  • it pops up a window, which says something about the Login Review (we already have "manage pages")
    Screenshot from 2019-08-09 16-39-12
  • we tried both checkboxes (screenshot)
  • it says everything is ok but then on redirect (OAuth Redirect path from plugin backend on facebook login plugin):
    (1/1) ArgumentCountError Too few arguments to function Pixelant\PxaSocialFeed\Controller\EidController::addFbAccessTokenAction(), 1 passed and exactly 2 expected

Could we do something to fix this error?

@anjeylink
Copy link
Contributor

@RicoMahr what version of TYPO3 do you have?

@RicoMahr
Copy link
Author

RicoMahr commented Sep 4, 2019

@anjeylink TYPO3 9.5.8

@anjeylink
Copy link
Contributor

@RicoMahr do you have site configuration added?

@RicoMahr
Copy link
Author

RicoMahr commented Sep 4, 2019

@anjeylink You mean TYPO3 site management? Yes, we have a staging system with an application context = "Production/Staging" and a configured variant for the entry point on this context ( Base: "https://subdomain.domain.de/" ).

@anjeylink
Copy link
Contributor

@RicoMahr I don't know how I can reproduce this. what is your redirect URL?

@RicoMahr
Copy link
Author

RicoMahr commented Sep 17, 2019

Hello @anjeylink, I used the one from the token tab on social feed backend module:

Access token generation is required
Note: URL "https://subdomain.domain.de?eID=pxa_social_feed_fb_access_token&token=8" must be in the Valid OAuth redirect URIs list by going to the App Dashboard, choosing your app and going to Products > Facebook Login > Settings under the Client OAuth Settings and entering it there.
Newsroom – Facebook Login - Facebook for Developers

The "Redirect URI-Validation" returns that this is a valid URI.

Maybe the full error page could help you more:
TYPO3 Exception

URL of error page looks like:
https://subdomain.domain.de/?eID=pxa_social_feed_fb_access_token&token=8&code=[very]_[long]_[hash]&state=[hash]#_=_

The "App" is already connected to the Facebook Page as "Active Business integration". We tested both API-Versions (v4.0 and v3.3) App-Dashboard -> Settings -> Extended

@RicoMahr
Copy link
Author

RicoMahr commented Oct 2, 2019

Hey @anjeylink,any update on this topic? Do you need anything else?
We could also schedule a meeting with screen sharing.

Best regards,
Rico

@anjeylink
Copy link
Contributor

@RicoMahr Hi. check latest bugfix release

@RicoMahr
Copy link
Author

RicoMahr commented Oct 2, 2019

@anjeylink Thank you very much! That fixed the problem. First time working facebook feed, yeah! :D

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

Successfully merging a pull request may close this issue.

2 participants