Git Product home page Git Product logo

dpzflickr's People

Contributors

dopiaza avatar mikesalmonuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dpzflickr's Issues

Session check in constructor

Inside __construct there should be a check to see if there is already a started session when using this code in a more complex application (e.g. Zend Framework) or else PHP will throw a notice.

session_start();

should be:

if (session_id() == '') {
    session_start();
}

Error for authorized example

Hi,
I have successfully used your example page to upload a photograph, but when I follow the link to auth.php I just get Error: on the page. I am a a newb so am a bit stranded.

Thanks

Greg

Get url of the photo uploaded

I have an issue because I need the url of the photo I just uploaded with the script. But I just get part of it. I get the first part of numbers which compounds the name in server, something like this: 232352452452_2352352352_m.jpeg

The part of _m.jpeg is always the same and the first bunch of numbers, you receive in [_content] in json received.

But the second part is not received so I cannot show the complete url. Is there a way to receive it too?

Also, there is an error in upload script. Line 63, it should be $photos = @$response['_content']; to get something. With [photos] and without @, it gives an error and doesn't read anything.

Thanks for help and for doing this script.

Unable to upload

When trying to upload a photo, the response I get is this:

Array ( [stat] => fail [err] => Array ( ) )

How can I make the upload work?

how to download all photos

Hi there, I love this project. Very well done. Can you tell me how I would go about downloading all of my photos, or even getting a list of all of my photos? That would be really helpful. Thank you.

I'm being required to login/authorize for each different browser!

Hi, I recently started using this code for a project I've been trying to finish ... but, when I check for browser compatibility it requires me to authorize my application again (though I haven't checked, it will most likely do the same for each computer that tries to use the app). This will not work!

I'm not sure why this is happening (or if it is programmed to do this; in which case, how do I change the code so that I only have to authorize once ... and only once).

Any help would be great!

oauth_problem=signature_invalid

Hi @dopiaza ,

I have used the same code for upload and flickr. but the error pops up saying oauth_problem=signature_invalid. My base string and string returned are also same. Here is the response returned when upload.php is executed.
&debug_sbs=POST&https%3A%2F%2Fup.flickr.com%2Fservices%2Fupload%2F&oauth_consumer_key%3Db81ffb68a59859ff286ccae322ca1e75%26oauth_nonce%3Dc01e3dd11c8cc7a114bce7a9e16deba4%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1483338927%26oauth_token%3D72157678382075066-dde078f3080c848c%26oauth_version%3D1.0%26photo%3D%2540%252Ftmp%252Fphp6A8M5M%26tags%3DDPZFlickr%26title%3Dtatoo.

Any help is appreciated.

It authenticates each time you enter a new user.

@dopiaza, made the implementation of the existosamente library, my only is incomveniente that whenever income, I must perform authentication, the library does not detect that there is already a oauth_token and oauth_verifier, and creates a new request for oauth_token, that I could not fix it, I would know if I'm doing something wrong or the library simply works.

Thank you.

Required PHP >= 5.3.0

You use namespaces, which require PHP >= 5.3.0. Your readme specifies 5.1.2 as the minimum PHP version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.