Example #1
0
        static void Main(string[] args)
        {
            ICommunityClient        client = new CommunityFbClient(500 /* delay millis */);
            Social_PresenceEntities model  = new Social_PresenceEntities();

            Utils.SyncPosts(client, model, Utils.SYNC_ALL_PAGES);
        }
Example #2
0
        public void TestGetPosts()
        {
            CommunityFbClient c     = new CommunityFbClient(100);
            List <post>       posts = c.GetPosts("https://www.facebook.com/ObshtinaBlagoevgrad", "*****@*****.**", 11, 5, new HashSet <string>());

            Console.WriteLine(String.Join("\n", posts));
            Assert.AreEqual(5, posts.Count);
        }