Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/repositories/account.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ export class AccountRepository extends Repository {
}
}
});

console.log(`Logged in as ${username}, waiting for mqtt connection ...`)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This library doesn't have anything to do with MQTT/Realtime.

return response.body.logged_in_user;
}

Expand Down
9 changes: 0 additions & 9 deletions src/repositories/fbsearch.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,6 @@ import {
} from '../responses';

export class FbsearchRepository extends Repository {
async suggestedSearches(type: 'blended' | 'users' | 'hashtags' | 'places') {
const { body } = await this.client.request.send({
url: '/api/v1/fbsearch/suggested_searches/',
qs: {
type,
},
});
return body;
}
async recentSearches() {
const { body } = await this.client.request.send({
url: '/api/v1/fbsearch/recent_searches/',
Expand Down
2 changes: 0 additions & 2 deletions src/services/simulate.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ export class SimulateService extends Repository {
// () => this.client.creatives.writeSupportedCapabilities(),
// () => this.client.account.processContactPointSignals(),
() => this.client.feed.timeline().request({ recoveredFromCrash: '1', reason: 'cold_start_fetch' }),
() => this.client.fbsearch.suggestedSearches('users'),
() => this.client.fbsearch.suggestedSearches('blended'),
() => this.client.fbsearch.recentSearches(),
() => this.client.direct.rankedRecipients('reshare'),
() => this.client.direct.rankedRecipients('raven'),
Expand Down