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 shrinkURLs function #7

Open
dalmaer opened this issue Dec 29, 2010 · 2 comments
Open

Add shrinkURLs function #7

dalmaer opened this issue Dec 29, 2010 · 2 comments

Comments

@dalmaer
Copy link
Member

dalmaer commented Dec 29, 2010

The function will take the input and shrink any http:// URLs.

To begin with, use bit.ly only.

@ewpreston
Copy link
Contributor

I'm getting
Origin null is not allowed by Access-Control-Allow-Origin.
when making a jsonp call to api.bit.ly/v3/shorten

Do I need to serve this JS from a web server? Can I fack the origin? Am I misunderstanding the problem? flickr jsonp call works fine.

@ewpreston
Copy link
Contributor

piece of crap bit.ly api documentation. I got it working. Sill need to use OAuth eventually; using my ewpreston account and key for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants