public String postFeed(int account_index, String feed) {
   String accountToken = accounts.getData().get(account_index).getAccessToken();
   accountName = accounts.getData().get(account_index).getId();
   FacebookClient account = new DefaultFacebookClient(accountToken, Version.VERSION_2_4);
   FacebookType pubAcctMsg =
       account.publish("me/feed", FacebookType.class, Parameter.with("message", feed));
   return pubAcctMsg.getId().split("_")[1];
 }
 public String postPhotoFeed(int account_index, String feed, String image) {
   String accountToken = accounts.getData().get(account_index).getAccessToken();
   accountName = accounts.getData().get(account_index).getId();
   FacebookClient account = new DefaultFacebookClient(accountToken, Version.VERSION_2_4);
   FacebookType pubAcctMsg =
       account.publish(
           // F360 FORUM = 1401856530050018
           "me/photos",
           FacebookType.class,
           BinaryAttachment.with("cat.png", PhotoBytes.fetchBytesFromImage(image)),
           Parameter.with("message", feed));
   return pubAcctMsg.getId();
 }