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 support for upload API #5

Open
austinkelleher opened this issue Dec 26, 2015 · 18 comments
Open

Add support for upload API #5

austinkelleher opened this issue Dec 26, 2015 · 18 comments
Assignees

Comments

@austinkelleher
Copy link
Owner

upload.giphy.com

@xdumaine
Copy link
Collaborator

Kind of shocked it doesn't have this already tbh. Smh.

@austinkelleher
Copy link
Owner Author

You seem to be interested in this issue. I assigned you.

@xdumaine
Copy link
Collaborator

Wait does giphy even have an upload api?

@wenkesj
Copy link
Collaborator

wenkesj commented Jan 23, 2016

upload.giphy.com

@xdumaine
Copy link
Collaborator

what

@austinkelleher
Copy link
Owner Author

alt text

@xdumaine
Copy link
Collaborator

http://i.imgur.com/NBIilUY.gif

@wenkesj
Copy link
Collaborator

wenkesj commented Jan 23, 2016

There's some bit of interesting code I've run into, I'll try to whip something up.

@xdumaine
Copy link
Collaborator

oooh fancy

@austinkelleher
Copy link
Owner Author

Looking for a status update @xdumaine

@xdumaine
Copy link
Collaborator

xdumaine commented Oct 3, 2016

;@/#($-18304773-649295379919737918-"+*:@:#+_(271

@wenkesj
Copy link
Collaborator

wenkesj commented Oct 3, 2016

Interesting...

@austinkelleher
Copy link
Owner Author

austinkelleher commented Oct 3, 2016

LGTG - Looks Good To Goteem

@wenkesj
Copy link
Collaborator

wenkesj commented Oct 4, 2016

const GOTEEM = (Xander) => GOTEEM(Xander)

@wenkesj
Copy link
Collaborator

wenkesj commented Jul 17, 2017

I fee like it's this easy, but I could be wrong

url: "http://upload.giphy.com/v1/gifs?api_key=goteem",
contentType: "image/gif",
username: "goteem_user",
api_key: "goteem",
file: "path/to/goteem_file",
tags: "goteem_tag",

@wenkesj
Copy link
Collaborator

wenkesj commented Aug 4, 2017

@jareis Well the API may not be entirely exposing it for a reason right now. But some fancy reverse engineering might do the trick if you want to put the time/work in.

This is just a snippet showing the submitUrl.

        // login redirect
        if (Giphy.renderCreationTools) {
            Giphy.renderCreationTools({
                submitUrl: 'https://upload.giphy.com/v1/upload',
                creationType: 'upload',
                featuredGifs: '[{"permalink_url": "/gifs/snl-bernie-sanders-larry-david-11lLn6lwsdicLK", "image_url": "https://media.giphy.com/media/11lLn6lwsdicLK/giphy.gif"}, {"permalink_url": "/gifs/southpark-south-park-youre-not-yelping-comedy-central-19x04-3o85xt08p2Y0hanhwQ", "image_url": "https://media.giphy.com/media/3o85xt08p2Y0hanhwQ/giphy.gif"}, {"permalink_url": "/gifs/mrw-good-meagan-9uoYC7cjcU6w8", "image_url": "https://media.giphy.com/media/9uoYC7cjcU6w8/giphy.gif"}, {"permalink_url": "/gifs/skeleton-spooky-TGHXd9J6mK6sM", "image_url": "https://media.giphy.com/media/TGHXd9J6mK6sM/giphy.gif"}, {"permalink_url": "/gifs/cats-light-sabers-Ov5NiLVXT8JEc", "image_url": "https://media.giphy.com/media/Ov5NiLVXT8JEc/giphy.gif"}]',
                featuredSearches: '',
                branded: '',
                defaultTags: '',
            });
        }

@ThatLifeofGames
Copy link

Is this ever going to happen? It is possible to do.

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

5 participants
@xdumaine @austinkelleher @wenkesj @ThatLifeofGames and others