C# Класс Daniel15.BusinessLayer.Services.Social.Facebook

Support for sharing posts on Facebook
Наследование: ISocialShare
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetShareCount ( PostModel post, string url, string shortUrl ) : int

Gets the number of times this URL has been shared on this social network.

GetShareUrl ( PostModel post, string url, string shortUrl ) : string

Gets the URL to share this post on this social network.

Описание методов

GetShareCount() публичный Метод

Gets the number of times this URL has been shared on this social network.
public GetShareCount ( PostModel post, string url, string shortUrl ) : int
post Daniel15.Data.Entities.Blog.PostModel The blog post
url string Full URL to this post
shortUrl string Short URL to this post
Результат int

GetShareUrl() публичный Метод

Gets the URL to share this post on this social network.
public GetShareUrl ( PostModel post, string url, string shortUrl ) : string
post Daniel15.Data.Entities.Blog.PostModel The blog post
url string Full URL to this post
shortUrl string Short URL to this post
Результат string