KiTe, Twitter has provisioned a way for developers to handle this Dev issue. Add to your hosts file "local.dev", and use 127.0.0.1 as the IP. Then use http://local.dev/ as the prefix with whatever files you develop locally, e.g, http://local.dev/myapp/index.php.
Register your new app at Twitter: https://twitter.com/apps Then, go to https://dev.twitter.com/apps and click on the given app you made, and click on "My Access Token", and copy both the token and token secret. Populate your app with those. That way, when you access your local development server via http://local.dev/... the call back won't really happen, instead you will hardwire your app to use the token and token secret, which you just got from the dev.twitter.com web site. You can then build if-then branches - if local.dev, use my development tokens; otherwise, the real callback process and get the user token and token secret and initialize things. It takes time and research to master the process, but it's fun. Good luck. ~Patrick On Apr 22, 3:02 am, kite <68...@supinfo.com> wrote: > Hello, > > I want to create a website using the twitter API (through linq to > twitter) for schooling purpose, but I do not have a server to host it. > > How can I still make my application work when running locally? I can't > fill the "website url" and "callback url" since I host the site on my > own computer, on my local network. > > Cordially, > > KiTe -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk