Title: scanner0928's Replies | WordPress.org

---

# scanner0928

  [  ](https://wordpress.org/support/users/scanner0928/)

 *   [Profile](https://wordpress.org/support/users/scanner0928/)
 *   [Topics Started](https://wordpress.org/support/users/scanner0928/topics/)
 *   [Replies Created](https://wordpress.org/support/users/scanner0928/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/scanner0928/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/scanner0928/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/scanner0928/engagements/)
 *   [Favorites](https://wordpress.org/support/users/scanner0928/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MW WP Form] 引数が不完全だと無限ループする](https://wordpress.org/support/topic/%e5%bc%95%e6%95%b0%e3%81%8c%e4%b8%8d%e5%ae%8c%e5%85%a8%e3%81%a0%e3%81%a8%e7%84%a1%e9%99%90%e3%83%ab%e3%83%bc%e3%83%97%e3%81%99%e3%82%8b/)
 *  Thread Starter [scanner0928](https://wordpress.org/support/users/scanner0928/)
 * (@scanner0928)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/%e5%bc%95%e6%95%b0%e3%81%8c%e4%b8%8d%e5%ae%8c%e5%85%a8%e3%81%a0%e3%81%a8%e7%84%a1%e9%99%90%e3%83%ab%e3%83%bc%e3%83%97%e3%81%99%e3%82%8b/#post-16116820)
 * すみません
    &と表記されてしまいましたが、「`&` 」です。（＆ａｍｐ；）
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Import and export users and customers] like to relate with the Taxonomy in user meta data.](https://wordpress.org/support/topic/like-to-relate-with-the-taxonomy-in-user-meta-data/)
 *  Thread Starter [scanner0928](https://wordpress.org/support/users/scanner0928/)
 * (@scanner0928)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/like-to-relate-with-the-taxonomy-in-user-meta-data/#post-7698440)
 * Javier
 * OK.
    Can I set the array in user metadata?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Import and export users and customers] is it possible to hide "Custom User Meta" in User profile page?](https://wordpress.org/support/topic/is-it-possible-to-hide-custom-user-meta-in-user-profile-page/)
 *  Thread Starter [scanner0928](https://wordpress.org/support/users/scanner0928/)
 * (@scanner0928)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/is-it-possible-to-hide-custom-user-meta-in-user-profile-page/#post-7604960)
 * Javier
 * Thanks for your reply.
    I understand the situation.
 * Thank you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Like to display the table if that has value A1 cell.](https://wordpress.org/support/topic/like-to-display-the-table-if-that-has-value-a1-cell/)
 *  Thread Starter [scanner0928](https://wordpress.org/support/users/scanner0928/)
 * (@scanner0928)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/like-to-display-the-table-if-that-has-value-a1-cell/#post-7535181)
 * Sorry, when I tried again, it worked well.
    it seemed I don’t set table ID properly.
 * I set it properly, and then they reply “NULL” if they has no value there.
 * Sorry for bothering you.
    Regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] text bugs in Japanese when importing article](https://wordpress.org/support/topic/text-bugs-in-japanese-when-importing-article/)
 *  Thread Starter [scanner0928](https://wordpress.org/support/users/scanner0928/)
 * (@scanner0928)
 * [10 years ago](https://wordpress.org/support/topic/text-bugs-in-japanese-when-importing-article/#post-7307019)
 * Hi, Tobias.
 * Thanks for your advice.
    and I try what you said.
 * at first, I have to tell you that I imported by using wordpress import tool.I
   didn’t notice there is a way to export in tablepress(> <).
 * anyway, under the below surroundings.
    1.Deactivate other plugin but “wordpress
   importer” and “tablepress”. 2. switch the theme to Twenty sixteen.
 * **case A: Using WordPress export and import tool**
 * I have the same trouble.
    Title and description are OK. but texts in the cell
   are all buged.
 * **case B: Using tablepress export and import.**
 * Texts in the cell are all OK.
    but Title and description become bug.
 * I wish this information may help you to resolve issue.
 * Regards.
    HIROKI
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] is "newline" or "wysiwyg" availble in description?](https://wordpress.org/support/topic/is-newline-or-wysiwyg-availble-in-description/)
 *  Thread Starter [scanner0928](https://wordpress.org/support/users/scanner0928/)
 * (@scanner0928)
 * [10 years ago](https://wordpress.org/support/topic/is-newline-or-wysiwyg-availble-in-description/#post-7303184)
 * Sorry for bothering you.
    but it doesn’t work.
 * I added your code in functions.php.
    and wrote “<?php tablepress_print_table_info(“
   id=$tableID&field=last_modified” ); ?>” in theme.
 * but it seems not to be changed.
 * Regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] is "newline" or "wysiwyg" availble in description?](https://wordpress.org/support/topic/is-newline-or-wysiwyg-availble-in-description/)
 *  Thread Starter [scanner0928](https://wordpress.org/support/users/scanner0928/)
 * (@scanner0928)
 * [10 years ago](https://wordpress.org/support/topic/is-newline-or-wysiwyg-availble-in-description/#post-7303168)
 * Hi, Tobias
 * Thanks for your reply and good advice.
 *     ```
       This is line one of the description.<br />
       And this is line two.
       ```
   
 * Yes.
    But I was asked from my customer, and if possible, I like to adapt “line
   break” as typing “return” only… if there’s no way, I tell them to use “<br”>.
 * Regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gianism] Twitterボット機能について](https://wordpress.org/support/topic/twitter%e3%83%9c%e3%83%83%e3%83%88%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/)
 *  Thread Starter [scanner0928](https://wordpress.org/support/users/scanner0928/)
 * (@scanner0928)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/twitter%e3%83%9c%e3%83%83%e3%83%88%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-5553338)
 * 高橋様
 * 直々にアドバイスいただき、いつもありがとうございます。
    教えていただいた情報を
   参考にします。
 * まずは御礼まで。
    ありがとうございました。
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gianism] Twitterボット機能について](https://wordpress.org/support/topic/twitter%e3%83%9c%e3%83%83%e3%83%88%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/)
 *  Thread Starter [scanner0928](https://wordpress.org/support/users/scanner0928/)
 * (@scanner0928)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/twitter%e3%83%9c%e3%83%83%e3%83%88%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-5553336)
 * ご無沙汰しております。
    アドバイスいただいたコードを試しながら、いろいろ改変しま
   したら、 まずは動作致しましたので、ここに報告致します。
 *     ```
       add_shortcode('gm_wordlist', function($atts = array()){
   
       $args = array(
           'posts_per_page' => 1,
       	'orderby' => 'rand',
       );
       $the_query = new WP_Query( $args );
           if ( $the_query->have_posts() ) :
               while ( $the_query->have_posts() ) : $the_query->the_post();
           return get_field('m_thai').' -【'.get_field('p_thai')."】\n".get_the_title().' -【'.get_field('kana')."】\n\nhttp://www.phaasaa-thai.com\n#タイ語 #phaasaathai";
           endwhile;
       else:
           echo '本日はお休みです';
       endif;
   
       });
       ```
   
 * のようにすると、１０回ほどツイートできました。
    ただその後はツイートが止みます。
   また記事を追加すると、ツイートが始まります。 恐らく、ランダムで取ってくるあたり
   が機能しておらず、 一定の法則で記事を取得→ツイートされているのでは？と推測して
   おります。
 * また何か進捗がありましたら報告致します。
    ありがとうございました。
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gianism] Twitterボット機能について](https://wordpress.org/support/topic/twitter%e3%83%9c%e3%83%83%e3%83%88%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/)
 *  Thread Starter [scanner0928](https://wordpress.org/support/users/scanner0928/)
 * (@scanner0928)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/twitter%e3%83%9c%e3%83%83%e3%83%88%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-5553327)
 * > この書き方だと、global $postが常にあるかどうか保証されていないので、ランダム
   > に取れないんではないでしょうか。
 * なるほど。
    投稿済みの記事（カスタム投稿など）を取ってきてbot機能で使えるよう
   にするにはどうすればよろしいでしょうか。 記事取得方法だけでもお教えいただけれ
   ば幸いです。
 * > 以前書いていた
   > > まずは5ツイートほどは正常動作をしておりましたが、その後はbotしなくなりました。
   > という件ですが、こちらはうまくランダムになっていたのですか？
   >  もしそうでなか
   > ったら、ランダムの部分のロジックを変えた方がいいと思います。
 * 最初の１日は５，６ツイートほど、うまくランダムになっておりました。
 * > そうです。ボット連携したときのアカウントでつぶやきます。
   >  ボット投稿を作成した
   > ときにtwitterにログインしているアカウントとは関係ありません。 ※ 管理画面に「
   > XXとしてつぶやきます」とか出すようにしていたと思います。
 * 承知しました。
    wordpressでアプリ連携さえしていれば、 bot投稿（作成？）ユーザー
   は誰でも良いということですね。
 * いろいろお手数をおかけしております。
    よろしくお願い致します。
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gianism] Twitterボット機能について](https://wordpress.org/support/topic/twitter%e3%83%9c%e3%83%83%e3%83%88%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/)
 *  Thread Starter [scanner0928](https://wordpress.org/support/users/scanner0928/)
 * (@scanner0928)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/twitter%e3%83%9c%e3%83%83%e3%83%88%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-5553324)
 * お世話になっております。
    本日、突然botにより1ツイートされました。 内容が最終
   ツイートと同じものであり、かつ10日後ということで、 ツイート内容が同じなため、
   botされなかった可能性があります。
 * ショートコードでツイートさせているのですが、
 *     ```
       add_shortcode('gm_wordlist', function($atts = array()){
       	global $post;
       	$rand_posts = get_posts('posts_per_page=1&orderby=rand');
       	foreach($rand_posts as $post) {
       	setup_postdata($post);
       	return get_field('A').' -【'.get_field('B')."】\n".get_the_title().' -【'.get_field('C').'】';
       }
       });
       ```
   
 * とし、固定ページでショートコードを本文中に書くと、
    きちんとランダムにreturnさ
   れています。 botだと、ランダムが効かなくなるということは考えられますでしょうか。
 * 以上、まずは報告まで。
    お時間がありましたら、アドバイスよろしくお願い致します。
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gianism] Twitterボット機能について](https://wordpress.org/support/topic/twitter%e3%83%9c%e3%83%83%e3%83%88%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/)
 *  Thread Starter [scanner0928](https://wordpress.org/support/users/scanner0928/)
 * (@scanner0928)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/twitter%e3%83%9c%e3%83%83%e3%83%88%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-5553319)
 * ありがとうございます。
    私の方もいろいろ検証してみます。
 * 是非是非、利用させていただきたい機能でございますので、
    お時間のある範囲で、何卒
   ご指導等よろしくお願い致します。
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gianism] Twitterボット機能について](https://wordpress.org/support/topic/twitter%e3%83%9c%e3%83%83%e3%83%88%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/)
 *  Thread Starter [scanner0928](https://wordpress.org/support/users/scanner0928/)
 * (@scanner0928)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/twitter%e3%83%9c%e3%83%83%e3%83%88%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-5553317)
 * あけましておめでとうございます。
    昨年末に動作したと報告致しましたが、問題が出
   てきました。
 * まずは5ツイートほどは正常動作をしておりましたが、その後はbotしなくなりました。
   
   Application Managementで、Consumer Key (API Key)とAccess Tokenを再発行し、 再度
   設定すれば、数ツイートはしますが、また停止します。
 * ツイート内容は重複しないようにしておりますが、
    何か連携等が切れるような可能性
   はありますでしょうか。
 * よろしくお願い致します。
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gianism] Twitterボット機能について](https://wordpress.org/support/topic/twitter%e3%83%9c%e3%83%83%e3%83%88%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/)
 *  Thread Starter [scanner0928](https://wordpress.org/support/users/scanner0928/)
 * (@scanner0928)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/twitter%e3%83%9c%e3%83%83%e3%83%88%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-5553303)
 * ご無沙汰しております。
    あれからいろいろ試行錯誤し、ようやく動作が実現しました
   のでご報告致します。 （確認も含んでしまいますがお許し下さい）
 * まず今回の私のミスとして2点ありました。
 * 1.
    twitterアカウントでログインし、そのアカウントでログインして投稿すべきところ
   を、 サイト管理者のままでボット投稿をしてしまった。 （アプリ連携の設定さえ正常
   なら、adminで何でもできると思っていました）
 * 2.
    投稿内容を、テストがてらと思い、定型文にしてしまったため、 1度だけのツイート
   となった。 （twitterでは同じ文章の連続は2回目以降10ツイート過ぎるまでスルーする
   ようです）
 * 確認点として１の、ボット投稿するユーザーは、
    「twitterログインし、またそのAUTH
   コードでアプリ連携したユーザー」 という認識でよろしいでしょうか。
 * お時間がありましたらご教示ください。
    以上、素晴らしいプラグイン、本当にありがとう
   ございました。
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gianism] Twitterボット機能について](https://wordpress.org/support/topic/twitter%e3%83%9c%e3%83%83%e3%83%88%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/)
 *  Thread Starter [scanner0928](https://wordpress.org/support/users/scanner0928/)
 * (@scanner0928)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/twitter%e3%83%9c%e3%83%83%e3%83%88%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-5553187)
 * わざわざのご返信、本当にありがとうございます。
 * スケジュール（ボックス・チェック済）、終了日（2019-11-11）ともに設定しております。
   
   ログイン画面から、twitterでのログインができ、 ユーザー画面に「あなたのアカウント
   はすでにtwitterアカウントに接続されています。」 とあります。
 * スクリーン名は、twitterのログイン名と同じ（デフォルトです）
    つぶやき内容は「
   こんにちは！」としています。
 * twitterの方は、
    Name, Descriptionは、任意のもの。 Access Level Read, write, 
   and direct messages　としています。 Allow this application to be used to Sign
   in with Twitter は、未チェックにしています。
 * ターミナルは権限がないので、難しいのですが、
    これから試行錯誤してみます。
 * エラーログなどが出れば良いのですが、
    configに設定しても書き出されておらず、やはり
   サーバーの問題なのかなと思っております。 またお時間がありましたら、ご教示くだ
   さいますよう、よろしくお願い致します。

Viewing 15 replies - 1 through 15 (of 15 total)