basecamp

Realtime Chat on a web browser [closed]

自古美人都是妖i 提交于 2020-01-06 05:08:33
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Are there any open source applications (or open source code) to implement realtime chat on a webpage like basecamp does? 回答1: Openfire is an open source XMPP chat server. We've used that for years and we love it. SParkweb is their open source web based chat client: http://www.igniterealtime.org/projects/sparkweb

Basecamp API using cURL and PHP

家住魔仙堡 提交于 2019-12-23 05:49:10
问题 I'm trying to connect to the basecamp api (json) using PHP + cURL, but all my attempts have failed, and I'm not sure why. The end goal is to build a dashboard that displays information from basecamp projects to team members over http. <?php $basecamp_url = 'https://basecamp.com/xxxxxx/api/v1'; $username = 'username'; $password = 'pass'; $session = curl_init(); curl_setopt($session, CURLOPT_URL, $basecamp_url.'/projects.xml'); curl_setopt($session, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl

New basecamp api tells me there's no basecamp account at this address

元气小坏坏 提交于 2019-12-21 17:42:35
问题 I'm new to basecamp api, and while trying out the simplest example: curl -u user:pass -H 'User-Agent: MyApp (yourname@example.com)' https://basecamp.com/999999999/api/v1/projects.json I got the error says: There's no Basecamp account at this address. Sign in to Launchpad to see your accounts. I replaced the user with my basecamp email address, and the pass as the password.Am I putting something wrong? Thanks in advance! 回答1: You have to specify user-agent either your email address or app name

HTTPS connection with basic auth result into Unauthorized

浪尽此生 提交于 2019-12-17 16:28:31
问题 I am trying to access Basecamp API from my Android/Java source code following way .... import org.apache.http.HttpResponse; import org.apache.http.StatusLine; import org.apache.http.client.ResponseHandler; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.BasicResponseHandler; import org.apache.http.impl.client.DefaultHttpClient; import android.app.Activity; import android.os.Bundle; import android.webkit.WebView; public class BCActivity extends Activity { /**

Problem with Token URL for Basecamp 3 API

◇◆丶佛笑我妖孽 提交于 2019-12-14 04:05:23
问题 I am building an oauth app to connect to Basecamp 3 API using PHP and following the documentation here. https://github.com/basecamp/api/blob/master/sections/authentication.md The request authorization url works fine https://launchpad.37signals.com/authorization/new but the token url produces a page not found https://launchpad.37signals.com/authorization/token I contacted Basecamp but didn't get a response. They do say they don't prioritize suppose issues with the API because so few of their

How do I clear the browser cache programmatically on the iPhone?

末鹿安然 提交于 2019-12-12 11:20:29
问题 I am using the new Basecamp API for my iOS basecamp client app. I want the user to be able to logout and switch accounts. But I can't as the account credentials stored in the browser cache are used every time I request authorization. I figured out I would need to flush browser cache to do this. How do I clear the browser cache? 回答1: [[NSURLCache sharedURLCache] removeAllCachedResponses]; After that, you can deleting any associated cookies with in the UIWebView: for(NSHTTPCookie *cookie in [

Login to new basecamp programatically [without user intervention]

♀尐吖头ヾ 提交于 2019-12-11 12:09:50
问题 What I am trying to do is : I am trying to integrate my web application with basecamp. When a user logs in to my web application, it should list all tasks/todo's assigned to him/her in basecamp. What I already have : I have admin credentials of basecamp from where I manage all products/applications todos, Client Id, Client Secret, ProductName/appName and redirect url (available in app. settings) Is it possible to login to basecamp in background/programatically (without user intervention) and

How do I set Basecamp credentials using apple IOS for iPad

眉间皱痕 提交于 2019-12-10 11:24:04
问题 I'm trying to request my company's Basecamp info for an internal project we're building. I understand how to add credentials in an ASP.NET environment but I'm new to iPad development and can't seem to get an appropriate response from Basecamp. Here's what I'm doing: NSMutableURLRequest *theRequest=[NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"http://mybasecampname.basecamphq.com/projects.xml"] cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:60.0 ]; I'm adding the

DotNetOpenAuth OAuth2 for Basecamp API

情到浓时终转凉″ 提交于 2019-12-07 16:59:34
问题 I'm having some difficulties getting the OAuth2 working for the Basecamp API with DotNetOpenAuth, here's what I have so far, this is a ASP.NET MVC 4 web app. public ActionResult Basecamp() { var server = new DotNetOpenAuth.OAuth2.AuthorizationServerDescription(); server.AuthorizationEndpoint = new Uri("https://launchpad.37signals.com/authorization/new"); server.TokenEndpoint = new Uri("https://launchpad.37signals.com/authorization/token"); var client = new DotNetOpenAuth.OAuth2

How do I set Basecamp credentials using apple IOS for iPad

坚强是说给别人听的谎言 提交于 2019-12-06 15:22:01
I'm trying to request my company's Basecamp info for an internal project we're building. I understand how to add credentials in an ASP.NET environment but I'm new to iPad development and can't seem to get an appropriate response from Basecamp. Here's what I'm doing: NSMutableURLRequest *theRequest=[NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"http://mybasecampname.basecamphq.com/projects.xml"] cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:60.0 ]; I'm adding the HTTP headers that Bsaecamp requires like so: [theRequest setValue:@"application/xml" forHTTPHeaderField: