setdirection / twinput

Rich twitter input

Home Page:http://setdirection.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add shrinkURLs function

dalmaer opened this issue · comments

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

To begin with, use bit.ly only.

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.

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