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

add appsecret_proof support, useful for post 2.8 api version #170

Merged
merged 3 commits into from
Apr 13, 2019
Merged

add appsecret_proof support, useful for post 2.8 api version #170

merged 3 commits into from
Apr 13, 2019

Conversation

gabriel-tandil
Copy link
Contributor

add appsecret_proof support, useful for post 2.8 api version
see Securing Graph API Requests - Facebook for Developers

@wittfabian
Copy link
Contributor

Has the change been tested?

@jason-engage
Copy link
Contributor

bonus, semicolon is fixed.

@wittfabian
Copy link
Contributor

TODO: Update CHANGELOG.md

@gabriel-tandil
Copy link
Contributor Author

Has the change been tested?

Aye aye Sir, well tested :)

@gabriel-tandil
Copy link
Contributor Author

gabriel-tandil commented Apr 12, 2019

bonus, semicolon is fixed.

Yeah, that's not a mistake, but it's ugly.
See: https://www.php.net/manual/es/language.basic-syntax.instruction-separation.php

@gabriel-tandil
Copy link
Contributor Author

TODO: Update CHANGELOG.md

Done

@wittfabian wittfabian merged commit 582b6b9 into pimax:master Apr 13, 2019
@o2-web
Copy link
Contributor

o2-web commented Apr 14, 2019

I think it would be cleaner and more beautiful to take app_secret from the config and automatically use it for version v2.8. Thus, we would get rid of the unnecessary parameter in the constructor.
Can We Talk?

@wittfabian
Copy link
Contributor

wittfabian commented Apr 14, 2019

From config?

@o2-web
Copy link
Contributor

o2-web commented Apr 14, 2019

From config?

Sent with GitHawk

env('FACEBOOK_APP_SECRET');

@o2-web
Copy link
Contributor

o2-web commented Apr 14, 2019

sorry, I forgot it wasn't just for laravel.

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 this pull request may close these issues.

4 participants