-
Notifications
You must be signed in to change notification settings - Fork 63
Custom dimension picture #62
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
Conversation
|
@alexcastano thanks for the PR. 👍 I'd prefer if you refactor the |
|
ping? |
|
Hi @mweibel Well, if you allow for more parameters you break the compatibility with older versions, I thought it was not a good idea. How should be the arguments of this function? Maybe type could be a tuple: iex> Facebook.picture("<Some Id>", "small", "<Access Token>")
iex> Facebook.picture("<Some Id>", {600, 600}, "<Access Token>") |
|
You could add a function with the same name with different amount of arguments though, no? |
|
I don't see to "type" function calls to dimension one, because facebook can change its criteria to match type => dimension at any time. I'll change the name to the function ASAP :) |
Additionally this renames set_appsecret to set_app_secret.
* Fix tests * Fix issues reported by credo * Exclude elixir 1.3 x OTP 20.3
Add two new functions to work with generic objects from the Facebook Graph. This is joint work with @bugduino
This function gives the possibility to get images bigger than 200x200 which was my original problem.