react-facebook
Version:
Facebook components like a Login button, Like, Share, Comments, Embedded Post/Video, Messenger Chat, and Facebook Pixel tracking
19 lines (18 loc) • 445 B
TypeScript
export default function useFeed(): {
isLoading: boolean;
error: Error | undefined;
feed: (options: {
link?: string;
appId?: string;
from: string;
to: string;
picture?: string;
source?: string;
display?: string;
name?: string;
caption?: string;
description?: string;
dataRef?: string;
redirectURI?: string;
}) => Promise<unknown>;
};