2
* Copyright (C) 2012 Canonical, Inc
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation.
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
19
* David King <david.king@canonical.com
22
public class FoursquarePlugin : Ap.OAuthPlugin {
23
public FoursquarePlugin (Ag.Account account) {
24
Object (account: account);
29
var oauth_params = new HashTable<string, GLib.Value?> (str_hash, null);
30
oauth_params.insert ("ClientId",
31
"BA0GOA0K3PTRS1KUJ5TTZ1P3GDRH3VJEEXY4N44ROPUJYKPW");
32
set_oauth_parameters (oauth_params);
36
public GLib.Type ap_module_get_object_type ()
38
return typeof (FoursquarePlugin);