~people-project/people-core/deep-refactoring

« back to all changes in this revision

Viewing changes to backends/twitter/contact-source.vala

  • Committer: Ali Sabil
  • Date: 2009-01-16 23:38:19 UTC
  • Revision ID: ali.sabil@gmail.com-20090116233819-mst2gxgq74rw88w6
- Updated the Twitter backend

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
                        this.flags = Backend.ContactSourceFlags.NEED_NETWORK;
61
61
                }
62
62
 
63
 
                private override Backend.Contact create_contact_object (string? id) {
 
63
                public override Backend.Contact create_contact_object (string? id) {
64
64
                        return new Contact (id, session);
65
65
                }
66
66
 
67
 
                private override AsyncOperation<bool> validate_contact_id (string id) {
 
67
                public override AsyncOperation<bool> validate_contact_id (string id) {
68
68
                        var operation = async_operation_init_bool ();
69
69
                        var url = "http://twitter.com/users/show/%s.json".printf(id);
70
70
                        var msg = new Soup.Message ("GET", url);