setdirection / twinput

Rich twitter input
http://setdirection.com/
1 stars 0 forks source link

Add shrinkURLs function #7

Open dalmaer opened 13 years ago

dalmaer commented 13 years ago

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

To begin with, use bit.ly only.

ewpreston commented 13 years ago

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 commented 13 years ago

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