All Projects → muoya → LineTimeline

muoya / LineTimeline

Licence: MIT license
Line Timeline API

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to LineTimeline

Qt-Timeline-Widget
[Qt控件] 时间轴列表控件
Stars: ✭ 43 (+258.33%)
Mutual labels:  timeline
linezx
Way line be with me?
Stars: ✭ 12 (+0%)
Mutual labels:  line
TTTTRPG
Timeline Tree of Tabletop Role-Playing Games, celebrating more than 40 years game design innovations
Stars: ✭ 34 (+183.33%)
Mutual labels:  timeline
jsline-api
[Deprecated] Unofficial Naver Line API for JS
Stars: ✭ 14 (+16.67%)
Mutual labels:  line
Automotive-Security-Timeline
汽车信息安全事件时间轴
Stars: ✭ 45 (+275%)
Mutual labels:  timeline
stream-python
Python Client - Build Activity Feeds & Streams with GetStream.io
Stars: ✭ 134 (+1016.67%)
Mutual labels:  timeline
react-native-d3multiline-chart
Animated Android and iOS multiline/line/scatterPoint chart based on d3.js 🤘😎🤘
Stars: ✭ 43 (+258.33%)
Mutual labels:  line
messenger-bot-nlp
A Facebook Messenger bot sample integrated with built-in NLP from wit.ai
Stars: ✭ 13 (+8.33%)
Mutual labels:  messenger-bot
gcf-line-devbot
LINE Flex 開發人員工具
Stars: ✭ 32 (+166.67%)
Mutual labels:  line
react-native-timeline-feed
Customisable timeline for react native (using FlatList). Docs: https://johan-dutoit.github.io/react-native-timeline-feed/
Stars: ✭ 43 (+258.33%)
Mutual labels:  timeline
atom-inline-blame
Atom package to display blame inline
Stars: ✭ 23 (+91.67%)
Mutual labels:  line
bkit
build a messenger bot using HTML
Stars: ✭ 36 (+200%)
Mutual labels:  messenger-bot
Timeline
AS2 & AS3 CPPS Emulator, written in Python. (Club Penguin Private Server Emulator)
Stars: ✭ 49 (+308.33%)
Mutual labels:  timeline
ember-vertical-timeline
A Vertical Timeline for Ember.js apps 🚀
Stars: ✭ 19 (+58.33%)
Mutual labels:  timeline
MessengerBot-WebAPI
Asp.net WebAPI Template of Facebook Messenger Bot
Stars: ✭ 22 (+83.33%)
Mutual labels:  messenger-bot
Aww-Bot
Messenger chatbot programmed to send images of cute cats and dogs pictures
Stars: ✭ 19 (+58.33%)
Mutual labels:  messenger-bot
php-chatfuel-class
A PHP class to generate JSON output for your chatbot (build with Chatfuel)
Stars: ✭ 22 (+83.33%)
Mutual labels:  messenger-bot
timeline-vuejs
Minimalist Timeline ⏳ with VueJS 💚
Stars: ✭ 116 (+866.67%)
Mutual labels:  timeline
timeline-component-lwc
This component enables timeline view for Salesforce Record history.
Stars: ✭ 18 (+50%)
Mutual labels:  timeline
stream-net
NET Client - Build Activity Feeds & Streams with GetStream.io
Stars: ✭ 28 (+133.33%)
Mutual labels:  timeline

LineTimeline

Repository ini sudah tidak di maintenance lagi karena kesibukan saya, mohon maap dan mungkin nanti akan di handle lagi.

Line Timeline API

Ini merupakan proyek sampingan atau proyek waktu luang, dengan class ini, kamu bisa mengakses berbagai API yang tersedia di Line Timeline.

Gunakan tab ISSUES untuk melaporkan bug, dan PULL REQUEST untuk meminta pembaruan, atau anda bisa melakukan commit pada projek!

Setup

Lakukan yang kamu ketahui dan percayai!

How to Use

Class

Terlebih dahulu require/import/include file class (jika berbeda file), lalu panggil class menggunakan syntax biasa

$app = new LineTimeline();

Function

Set Session

Anda harus mengambil cookies/session yang diperlukan, anda bisa mengikuti video https://youtu.be/beqZiKzC8HQ (Thanks Fadhiil). Pemanggilan fungsi yang lainnya tidak akan berjalan jika anda belum memanggil fungsi ini.

$app->setSession('COOKIESHERE');

Post to Timeline

$app->postTimeline('Hehehehe, welcome AskaEks', 1, false);

Informasi untuk parameters bisa dilihat didalam script, anda bisa mendapatkannya juga dengan membaca script

Penggunaan Lanjutan

Perhatian! Tutorial setelah ini membutuhkan pengetahuan dasar PHP, jika anda belum mengenal syntax, atau apa itu PHP, anda bisa mengunjungi laman php.net

Penggunaan Callback

Apa sih callback itu ? kepo.... Berikut contoh penggunaan like a post biasa

$return = $app->likePost('2331888482828325', 0, false);
if($return){
  // If Success
} else {
  // If Error
}

Berikut contoh jika menggunakan callback untuk fungsi diatas

$app->likePost('2331888482828325', 0, false, function($error){
  if(!$error){
    // If Success
  } else {
    // If Error
  }
});

Berikut contoh penggunaan like timeline dengan callback

$app->likeTimeline(2, 0, 1, 1, function($error){
  // Fungsi ini akan ter-execute setiap melakukan like! Bukan jika task selesai
  if($error){
    echo "Gagal Like!";
  } else {
    echo "Sukses Like!";
  }
});

License & Notice

Code ini berlisensi MIT, dimohon untuk tidak menghapus credit yang tersedia dan selalu sertaka file LICENSE, dipublish dengan tujuan pembelajaran semata, bukan untuk merugikan orang lain, atau untuk melakukan spam. Perbuatan tersebut terlarang dan kami/saya tidak bertanggung jawab atas segala kerugian yang ditimbulkan. Berani berbuat berani bertanggung jawab!

Legal

This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Line or/and Naver Japan or any of its affiliates or subsidiaries. Use at your own risk.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].