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

php example gives me an error. #4

Open
Exalt- opened this issue Jun 14, 2013 · 3 comments
Open

php example gives me an error. #4

Exalt- opened this issue Jun 14, 2013 · 3 comments

Comments

@Exalt-
Copy link

Exalt- commented Jun 14, 2013

Hey,

I want to try out your library but when i uploaded your php example i got the folowing error:
HTTP/1.1 400 Bad Request The language parameter is missing

code:

@poiuytrez
Copy link
Member

Could you try with a local image instead of a remove image? I am not sure that the line:
$post['image'] = 'http://www.example.com/img.jpg';
takes correctly the image.

@Exalt-
Copy link
Author

Exalt- commented Jun 17, 2013

This gives me the same result. Even with an exact copy of the PHP example and image provided I get the same error.

@poiuytrez
Copy link
Member

Could you try this code:
https://gist.github.com/poiuytrez/2ce7b9e82886f2ecc962

Thanks

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