@cauca-911/social-network
Version:
Run `npm install @cauca-911/social-network --save` to add this library to your project
22 lines (21 loc) • 1.1 kB
TypeScript
import { LogService } from '@cauca-911/core';
import { Observable } from 'rxjs';
import { WindowReferenceService } from './window-reference.service';
import * as i0 from "@angular/core";
export declare class FacebookPostOnPageService {
private logService;
private windowRef;
private pageId;
private accessToken;
constructor(logService: LogService, windowRef: WindowReferenceService);
setPage(pageId: string, accessToken: string): void;
publish(message: string, photoUrls?: string[], videoUrls?: string[]): Observable<any>;
publishMessage(message: string, published?: boolean, attachedMedia?: any): Observable<any>;
publishVideo(description: string, videoUrl: string, published?: boolean): Observable<any>;
publishPhoto(caption: string, photoUrl: string, published?: boolean): Observable<any>;
private publishPhotos;
private publishVideos;
private generateObservableReturningEmptyObject;
static ɵfac: i0.ɵɵFactoryDeclaration<FacebookPostOnPageService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<FacebookPostOnPageService>;
}