CSS

Showing posts with label Google Apps Scripts Collection. Show all posts
Showing posts with label Google Apps Scripts Collection. Show all posts

Autopost Basic Script

No comments

Basically all the usual Atupost scripts I use, all based on this script. What makes them different from each other is the content of the messages they post.

Click on the link below to check out the Script.
drive.google.com/open?id=120WTi58AgBsvMnw5-boGDpyoPyD98VmLD1StmhERnRdv7B65Axef-3we

At line 78 on the script page

there is "postStatus" function with "pesan,target_id,target_type" as properties. Which "pesan" is message to post, "target_id" is Facebook's profile or group ID where the message will be posted and "target_type" defined whether the target is a profile or a group by adding "group" for a group and null or "" for timeline or profile page.

At line 9 there is "this_webApp" variable, you should fill this by deploying the scrip as web app once, set "Who has access to the app" to "Anyone, even anonymous" and grant permissions for the script.
Copy the "Current web app URL"
and paste to replace "this_webApp" variable.

After you've set all the settings you need to change, you will need to Re-deploy or deploy the scrip as web app again and set a "new" version of it. Any changes you've made to the script, will not affect the deployed (web app) script until you've re-deployed the script and set a new version of it.

If you don't know how to get Facebook's Cookie, check out this post "How to Get Facebook's Cookie".

This script use an "auto re-login" method as you can see at line 80, 116 and 125 on the script page. That's why you need to provide your login email and password at the settings.

Facebook might block your account for "login from unrecognized IP and device" and you'll probably need to finish up the "check point" they gave. But, if you set the privacy of your Birth date and year of your Facebook's profile to "Friends only", in three (3) days "Check point" usually will add for providing your birth date and year as one of the confirmation method.

If you have any questions, there's a comment section below, right?!

Well, anyway, Have Fun!! :)

Autopost Sahih al-Bukhari (sunnah.com)

No comments

Here is a Google apps script to automatically post Sahih al-Bukhari (sunnah.com) on your own Facebook Timeline or Groups.

https://script.google.com/d/1vahg9busKCtA7koFtEPIuly4qYQ9PQvfBLhJAMaELwAXoH0cUS9meDf9/edit?usp=sharing

Steps

  • Click on the link above and sign in with your google account.
  • Open File menu, choose Make a copy.
  • Change variables fbUser and thisWebAppUri values (read instructions) etc.
  • When it's all set and done, you may paste the Current web app URL into the address bar in a new tab to test and see the script logs.
  • You can set the script to run automatically by setting the Current project trigger

Just write down in the comment section below if you have any curiosity about this, cause Curiosity has its own reason for existence you know :)

Good day..

Autopost Ayat of Quran

2 comments

Here is a Google apps script to automatically post ayat of quran in images and or text on your own Facebook Timeline or Groups.

https://script.google.com/d/10DdJOKfSBb_fMY2fPV0hRcNKU58VrUVui5p565yJT2ChNJ0pHN2hLvGC/edit?usp=sharing

Steps

  • Click on the link above and sign in with your google account.
  • Open File menu, choose Make a copy.
  • Change variables fbUser and thisWebAppUri values (read instructions) etc.
  • When it's all set and done, you may paste the Current web app URL into the address bar in a new tab to test and see the script logs.
  • You can set the script to run automatically by setting the Current project trigger

Just write down in the comment section below if you have any curiosity about this, cause Curiosity has its own reason for existence you know :)

Good day..

Autopost JancokDotCom

No comments

Ini script Google apps buat posting otomatis gambar-gambar dari jancok.com ke Timeline kita atau Group Facebook.

https://script.google.com/d/1-oSkdC1OU_3ZyzddMqLrEeVsUjBvHkeMFEQGLaD1EMc_kn2jVtY8JOyb/edit?usp=sharing

Langkah-langkah

  • Klik pada link diatas terus sign in pake akun google.
  • Buka menu File, pilih Make a copy.
  • Ganti values dari variables fbUser sama thisWebAppUri (baca instruksi)
  • Pas udah diset kelar semua, elo bisa paste Current web app URL-nya ke address bar di tab baru buat ngetest sama ngeliat logs dari script.
  • Elo bisa ngeset script ini biar run otomatis dengan nyeting Current project trigger

Tulis aja di kolom komen dibawah kalo elo masih berasa penasaran sama ini, cause Curiosity has its own reason for existence you know :)

Good day..

Autopost TheThingsWeSay

1 comment

Here is a Google apps script to automatically post TheThingsWeSay images on your own Facebook Timeline or Groups.

https://script.google.com/d/1P3kZqfMu5vzRL1JyV7wrFM0TAbmZD7i9xKZoVCYzR8w2JEfWpjKodcua/edit?usp=sharing

Steps

  • Click on the link above and sign in with your google account.
  • Open File menu, choose Make a copy.
  • Change variables fbUser and thisWebAppUri values (read instructions)
  • When it's all set and done, you may paste the Current web app URL into the address bar in a new tab to test and see the script logs.
  • You can set the script to run automatically by setting the Current project trigger

Just write down in the comment section below if you have any curiosity about this, cause Curiosity has its own reason for existence you know :)

Good day..