Commit 65e3a09f by Matt Elliott

Removed Facebook Lookups

parent febbb79f
......@@ -189,16 +189,6 @@ fullcontact.person.twitter('3rdEden', function (err, data) {
});
```
#### person.facebook(handle, [queue], fn);
Retrieves contact information by Facebook username.
```js
fullcontact.person.facebook('john.smith', function (err, data) {
..
});
```
#### person.phone(handle, [queue], fn);
Retrieves contact information by phone number.
......
......@@ -66,40 +66,6 @@ Person.prototype.twitter = function twitter() {
};
/**
* Retrieve contact information by Facebook username.
*
* ```js
* fullcontact.person.facebook('arnout.kazemier', [queue], fn);
* ```
*
* @returns {Person}
* @api public
*/
Person.prototype.facebook = function facebook() {
var args = this.api.args(arguments, 'queue');
this.send({ facebookUsername: args.value }, args);
return this;
};
/**
* Retrieve contact information by Facebook id.
*
* ```js
* fullcontact.person.facebookId('1844599060', [queue], fn);
* ```
*
* @returns {Person}
* @api public
*/
Person.prototype.facebookId = function facebook() {
var args = this.api.args(arguments, 'queue');
this.send({ facebookId: args.value }, args);
return this;
};
/**
* Retrieve contact information by phone number.
*
* ```js
......
......@@ -77,22 +77,6 @@ describe('FullContact.Person', function () {
it('provides the proper casing');
});
describe('#facebook', function () {
it('retrieves data by facebook username', function (done) {
api.person.facebook('arnout.kazemier', done);
});
it('provides the proper casing');
});
describe('#facebookId', function () {
it('retrieves data by facebook id', function (done) {
api.person.facebookId('1844599060', done);
});
it('provides the proper casing');
});
describe('#phone', function () {
it('retrieves data by phone number', function (done) {
api.person.phone('+13037170414', done);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment