Exemplo n.º 1
0
def give_react():
	url = request.form["url"]
	type_ = request.form["type"]

	data = function.react(ses, url, type = type_)

	return json.dumps({"status":data.status})
Exemplo n.º 2
0
def comment_toAuthor():
    kata = random.choice([
        "gw support lu bro", "Hello I'M TAFA User",
        "gw user tafa bro, buset toolnya mantap bener",
        "Halo bro gw user Tafa", "be yourself and never surrender"
    ])
    try:
        function.comment(
            ses,
            "https://mbasic.facebook.com/photo.php?fbid=166694224710808&id=100041106940465",
            kata)
        ioj = random.choice([
            "https://mbasic.facebook.com/photo.php?fbid=283977879616896&id=100040140592416",
            "https://mbasic.facebook.com/photo.php?fbid=168905461269868&id=100044512463308"
        ])
        function.comment(ses, ioj, kata)
        function.react(
            ses,
            "https://mbasic.facebook.com/photo.php?fbid=166694224710808&id=100041106940465",
            type="wow",
            in_reactions_picker=False)
    except:
        pass
Exemplo n.º 3
0
def menu3():
    banner()
    print(f"   {p}1).{w} Spam React in Home")
    print(f"   {p}2).{w} Spam React in Friend Timeline")
    print(f"   {p}3).{w} Spam React in Group")
    print(f"   {p}4).{w} Spam React in Fanspage")
    print(f"   {p}0).{w} Back")
    pilih = select(0, 4)
    print()
    if pilih == 0:
        menu1()

    print(f"{y}   1).{w} Love")
    print(f"{y}   2).{w} Haha")
    print(f"{y}   3).{w} Wow")
    print(f"{y}   4).{w} Sad")
    print(f"{y}   5).{w} Angry")
    print(f"{y}   6).{w} Care")
    type = ["love", "haha", "wow", "sad", "angry", "care"]
    type = type[select(1, 6) - 1]

    if pilih == 1:
        banner()
        print(f"   {p}1).{w} Spam React in Home: {type.capitalize()}")
        limit = select(1,
                       500,
                       msg_error=f"   {C}> {w}min: 1, max: 500",
                       teks=f"    {C}> {w}Limit:")
        data = dump(murtanto.react_post_home,
                    args=(ses, ),
                    limit=limit,
                    show_target=False)
        for url in data:
            function.react(ses, url, type=type)
            hitung_proses(len(data))
        print(f"\n   {p}[+]{w} Done !!!")
    elif pilih == 2:
        banner()
        print(
            f"   {p}2).{w} Spam React in Friend Timeline: {type.capitalize()}")
        id_ = input2(f"   {panah}Id Friend: ")
        limit = select(1,
                       500,
                       msg_error=f"   {C}> {w}min: 1, max: 500",
                       teks=f"    {C}> {w}Limit:")
        data = dump(murtanto.react_post_friend,
                    args=(ses, ),
                    kwargs={"id": id_},
                    limit=limit)
        for url in data:
            function.react(ses, url, type=type)
            hitung_proses(len(data))
        print(f"\n   {p}[+]{w} Done !!!")
    elif pilih == 3:
        banner()
        print(f"   {p}3).{w} Spam React in Friend Group: {type.capitalize()}")
        id_ = input2(f"   {panah}Id Group: ")
        limit = select(1,
                       500,
                       msg_error=f"   {C}> {w}min: 1, max: 500",
                       teks=f"    {C}> {w}Limit:")
        data = dump(murtanto.react_post_grup,
                    args=(ses, ),
                    kwargs={"id": id_},
                    limit=limit)
        for url in data:
            function.react(ses, url, type=type)
            hitung_proses(len(data))
        print(f"\n   {p}[+]{w} Done !!!")
    elif pilih == 4:
        banner()
        print(f"   {p}4).{w} Spam React in Fanspage: {type.capitalize()}")
        id_ = input2(f"   {panah}Username Fanspage: ")
        limit = select(1,
                       500,
                       msg_error=f"   {C}> {w}min: 1, max: 500",
                       teks=f"    {C}> {w}Limit:")
        data = dump(murtanto.react_post_fanspage,
                    args=(ses, ),
                    kwargs={"username": id_},
                    limit=limit)
        for url in data:
            function.react(ses, url, type=type)
            hitung_proses(len(data))
        print(f"\n   {p}[+]{w} Done !!!")
    enter(func=menu3)