asonethod


Nameasonethod JSON
Version 0.0.2 PyPI version JSON
download
home_pagehttps://github.com/zaypaihtet/asonethod
SummaryFacebook Scrapper
upload_time2024-01-15 16:32:31
maintainer
docs_urlNone
authorCrd Dapunta Khurayra X
requires_python>=3.9
licenseMIT
keywords facebook-scraper facebook-parser facebook-scraper-without-apikey facebook-tools facebook
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # FBToolsBox
Facebook Automation Tools  
Author  : [**Dapunta Khurayra X**](https://www.facebook.com/Dapunta.Khurayra.X)  
Library : [**FBToolsBox**](https://github.com/Dapunta/FBToolsBox)  
Release : 01/01/2024  
Last Update : 07/01/2024  
Version : 0.0.2  
Python  : 3.10 - 3.12  
<br>  
<br>

## Installation
```python
pip install fbtoolsbox
```
<br>  
<br>  
<br>

## Features
After Finishing Reading The Documentation,  
See The [**Instructions**](#instructions-for-use) For Usage
1. Login via Cookie, Email, and Phone
   - [Login Cookie](#login-with-cookie)
   - [Login Email](#login-with-email--password)
   - [Login Phone](#login-with-phone--password)
2. Get Access Token `EAAG`, `EAAB`, `EAAD`, `EAAC`, `EAAF` and `EABB`
   - [Token EAAG](#get-access-token)
   - [Token EAAB](#get-access-token)
   - [Token EAAD](#get-access-token)
   - [Token EAAC](#get-access-token)
   - [Token EAAC](#get-access-token)
   - [Token EABB](#get-access-token)
3. Get Information of Profile, Page, and Group
   - [Info Profile](#get-info-profile)
   - [Info Page](#get-info-page)
   - [Info Group](#get-info-group)
4. Automation 1 
   - [Post To Feed](#post-to-feed)
   - [Post To Group](#post-to-group)
   - [Comment To Post](#comment-to-post)
   - [React To Post](#react-to-post)
   - [Share To Feed](#share-to-feed)
   - [Share To Group](#share-to-group)
5. Change Privacy
   - [Post](#post-privacy)
   - [Photo](#photo-privacy)
   - [Album](#album-privacy)
6. Friend Option
   - [Add Friend](#friend-option)
   - [Unfriend](#friend-option)
   - [Follow](#friend-option)
   - [Unfollow](#friend-option)
   - [Block](#friend-option)
   - [Unblock](#friend-option)
<br>  
<br>
<br>

## Create Account
```python
from FBTools.CreateAccount import CreateAccount

name = 'Input Your Name Here'
password = 'Input Your Password Here'
birthday = '25/12/1995' # DD/MM/YYYY
email = 'examplename@example.com'
gender = 1 # 1=Male, 0=Female
CA = CreateAccount()
CA.SetData(name=name, password=password, birthday=birthday, email=email, gender=gender)
CA.Create()
```
Parameter  
>name : Name You Want To Create (string, default=None)  
password : Password You Want To Create (string, default=None)  
birthday : Birth Date You Want To Set (string, default=None)  
email : Email You Want To Register (string, default=None)  
phone : Phone You Want To Register (string, default=None)  
gender : Gender You Want To Set (bool, default=0 -> female)  
<br> 
<br> 
<br>

## Login

#### Parameter
```python
cookie   = 'datr=nxbaxnynx; sb=axn...' # Input Your Cookie Here
email    = 'dapuntaxayonara@gmail.com' # Input Your Email Here
phone    = '6282245780524'             # Input Your Phone Here
password = 'satusampaidelapan'         # Input Your Password Here
```

#### Login With Cookie
```python
from FBTools import Start
FB = Start(cookie=cookie)
```

#### Login With Email & Password
```python
from FBTools import Start
FB = Start(email=email, password=password)
```

#### Login With Phone & Password
```python
from FBTools import Start
FB = Start(phone=phone, password=password)
```
<br>  
<br>  
<br>

## Instructions For Use
If you want to use **one cookie** (single cookie) to run this tools, put [```LoginCookie```](#login-with-cookie) or [```LoginEmail```](#login-with-email--password) or [```LoginPhone```](#login-with-phone--password) on top, or put it in a different def (make your own ```def login()```)
```python
from FBTools import Start

def Login():
    cok = input('Input Your Cookie : ')
    FB = Start(cookie=cok) #--> Single Cookie
    if FB.IsValid:
        BotComment(FB)
    else:
        exit('Cookie Invalid')

def BotComment(FB):
    post = input('Input ID Post : ')
    comt = input('Write Comment : ')
    loop = int(input('How Many : '))
    for i in range(loop):
        Comment = FB.CommentToPost(post=post, text=comt)
        print(Comment)

if __name__ == '__main__':
   Login()
```
If you want to use **many cookies** (multi cookies) to run this tools, put [```LoginCookie```](#login-with-cookie) or [```LoginEmail```](#login-with-email--password) or [```LoginPhone```](#login-with-phone--password) in the same function as the next object call                  
```python
from FBTools import Start

list_cookie = ['cookie1','cookie2','cookie3','cookie4']
id_target   = '1827084332'

def BotFollow():
   for cok in list_cookie:
      FB = Start(cookie=cok) #--> Multi Cookies
      FO = FB.Follow(id_target)
      print(FO)

if __name__ == '__main__':
   BotFollow()
```
<br>  
<br>  
<br>

## Get Access Token
```python
TokenEAAG = FB.TokenEAAG()
TokenEAAB = FB.TokenEAAB()
TokenEAAD = FB.TokenEAAD()
TokenEAAC = FB.TokenEAAC()
TokenEAAF = FB.TokenEAAF()
TokenEABB = FB.TokenEABB()
```
<br>  
<br>  
<br>

## Get Info Account, Page, Group

#### Parameter
```python
# Must Be Included
target_profile = '100000198243102'               # ID/URL Profile Target (string, default=False)
target_page    = '100044426739616'               # ID/URL Page Target (string, default=False)
target_group   = '1824553201274304'              # ID/URL Group Target (string, default=False)
```

#### Get Info Profile
```python
profile = FB.GetInfoProfile(target_profile)
print(profile.id)
print(profile.username)
print(profile.name)
print(profile.short_name)
print(profile.gender)
print(profile.work)
print(profile.education)
print(profile.current_city)
print(profile.hometown)
print(profile.relationship)
print(profile.birthday)
print(profile.language)
print(profile.website)
print(profile.github)
print(profile.instagram)
print(profile.friend)
print(profile.follower)
```

#### Get Info Page
```python
page = FB.GetInfoPage(target_page)
print(page.id)
print(page.username)
print(page.name)
print(page.follower)
print(page.category)
```

#### Get Info Group
```python
group = FB.GetInfoGroup(target_group)
print(group.id)
print(group.username)
print(group.name)
print(group.privacy)
print(group.membership)
print(group.admin)
print(group.moderator)
print(group.member)
print(group.new_member)
print(group.post_last_day)
print(group.post_last_month)
print(group.visibility)
print(group.history)
print(group.description)
```
<br>  
<br>  
<br>

## Auto Post

#### Parameter
```python
# Must Be Included
text    = 'Hello! Test Bot Post'                             # Caption (string, default=None)
group   = '1824553201274304'                                 # Group ID (string, default=None)
# 'group' must include if post to group
# You must post at least 1 text or 1 photo

# Optional
url     = ['https://e.top4top.io/p_2916o42201.jpg']          # Picture URL (list, default=None)
tag     = ['1827084332','100000415317575','100000200420913'] # Friend ID You Want To Tag (list, default=None)
privacy = 1 # 1=Public, 2=Friends, 3=OnlyMe                  # Post Privacy (int, default=None)
```

#### Post To Feed
```python
Post = FB.PostToFeed(text=text, url=url, tag=tag, privacy=privacy)
```

#### Post To Group
```python
Post = FB.PostToGroup(group=group, text=text, url=url, tag=tag, privacy=privacy)
```

#### Return
```python
{'status':'success','id':idpost,'message':None}
{'status':'pending','id':idpost,'message':'Pending Post'}
{'status':'failed','id':None,'message':'cookie invalid'}
{'status':'failed','id':None,'message':"Don't Create Same/Duplicate Post"}
{'status':'failed','id':None,'message':'Your Account Restricted To Post In Group'}
{'status':'failed','id':None,'message':'Terjadi Kesalahan'}
```
<br>  
<br>  
<br>

## Auto Comment

#### Parameter
```python
# Must Be Included
post   = 'Facebook.com/6929777330379375'                    # ID/URL Post Target (string, default=None)
text   = 'Hello! Test Bot Comment'                          # Caption (string, default=None)
# You must comment at least 1 text or 1 photo

# Optional
photo  = 'https://e.top4top.io/p_2916o42201.jpg'            # Picture URL (string, default=None)
tag    = ['1827084332','100000415317575','100000200420913'] # Friend ID You Want To Tag (list, default=None)
```

#### Comment To Post
```python
Comment = FB.CommentToPost(post=post, text=text, photo=photo, tag=tag)
```

#### Return
```python
{'status':'success','id':comment_id,'message':None}
{'status':'failed','id':None,'message':'cookie invalid'}
{'status':'failed','id':None,'message':'Spam Or Something Else'}
{'status':'failed','id':None,'message':'Terjadi Kesalahan'}
```
<br>  
<br>  
<br>

## Auto React

#### Parameter
```python
# Must Be Included
post   = 'Facebook.com/6929777330379375'                            # ID/URL Post Target (string, default=None)
react  = 5 # 1=Like, 2=Love, 3=Haha, 4=Wow, 5=Care, 6=Sad, 7=Angry  # Reaction Type (int, default=2=Love)
```

#### React To Post
```python
Reaction = FB.ReactToPost(post=post, react=react)
```

#### Return
```python
{'status':'success','react_type':react_type,'message':None}
{'status':'failed','react_type':react_type,'message':'Spam Or Something Else'}
{'status':'failed','react_type':react_type,'message':'Terjadi Kesalahan'}
```
<br>  
<br>  
<br>

## Auto Share

#### Parameter
```python
# Must Be Included
post    = 'Facebook.com/6929777330379375'                    # ID/URL Post You Want To Share (string, default=None)
group   = '1824553201274304'                                 # Group ID (string, default=None)
# 'group' must include if share to group

# Optional
text    = 'Hello! Test Bot Share'                            # Caption (string, default=None)
tag     = ['1827084332','100000415317575','100000200420913'] # Friend ID You Want To Tag (list, default=None)
privacy = 1 # 1=Public, 2=Friends, 3=OnlyMe                  # Share Privacy (int, default=None)
```

#### Share To Feed
```python
Share = FB.ShareToFeed(post=post, text=text, tag=tag, privacy=privacy)
```

#### Share To Group
```python
Share = FB.ShareToGroup(post=post, group=group, text=text, tag=tag, privacy=privacy)
```

#### Return
```python
{'status':'success','id':idshare,'message':None}
{'status':'pending','id':idshare,'message':'Pending Post'}
{'status':'failed','id':None,'message':"Don't Create Same/Duplicate Post"}
{'status':'failed','id':None,'message':'post has been deleted or there is an error'}
{'status':'failed','id':None,'message':'Your Account Restricted To Post In Group'}
{'status':'failed','id':None,'message':'Terjadi Kesalahan'}
```
<br>  
<br>  
<br>

## Change Privacy

#### Parameter
```python
# Must Be Included
post    = '10217059556200871'                  # ID/URL Post  You Want To Change Privacy (string, default=None)
photo   = '10214228940637251'                  # ID/URL Photo You Want To Change Privacy (string, default=None)
album   = '146803788687013'                    # ID/URL Album You Want To Change Privacy (string, default=None)
privacy = 3 # 1=Public, 2=Friends, 3=OnlyMe    # Selected Privacy (int, default=3)
```

#### Post Privacy
```python
Privacy = FB.PostPrivacy(post=post, privacy=privacy)
```

#### Photo Privacy
```python
Privacy = FB.PhotoPrivacy(photo=photo, privacy=privacy)
```

#### Album Privacy
```python
Privacy = FB.AlbumPrivacy(album=album, privacy=privacy)
```

#### Return
```python
{'status':'success','id':id,'privacy':privacy,'message':None}
{'status':'failed','id':id,'privacy':None,'message':'Spam Or Something'}
{'status':'failed','id':None,'privacy':None,'message':'Something Went Wrong'}
```
<br>  
<br>  
<br>

## Friend Option

### Parameter
```python
id_target = '1827084332'    # ID Profile You Want To Give Action (string, default=False)
```

#### Add Friend
```python
AD = FB.AddFriend(id_target)
```

#### Unfriend
```python
UF = FB.UnFriend(id_target)
```

#### Follow
```python
FO = FB.Follow(id_target)
```

#### Unfollow
```python
UO = FB.UnFollow(id_target)
```

#### Block
```python
BL = FB.Block(id_target)
```

#### Unblock
```python
UB = FB.UnBlock(id_target)
```

#### Return
```python
{'status':'success','id':id_target,'message':None}
{'status':'failed','id':id_target,'message':'Account Spam or Cookie Invalid'}
{'status':'failed','id':None,'message':'ID Not Found or Cookie Invalid'}
```
<br>  
<br>  
<br>

## Account Settings
<br>

### 2 Factor Authentication
`Parameter`
```python
active   = True # True=On, False=Off    # 2FA Option (bool, default=None)
password = 'acumalaka99'                # Account Password (string, default=None)
```
`Code`
```python
A2F = FB.Authentication(active=active, password=password)
```
`Return`
```python
{'status':'success','key':Key2FA,'recovery':RecoveryCode,'message':None}
{'status':'failed','key':None,'recovery':None,'message':'Wrong Password'}
{'status':'failed','key':None,'recovery':None,'message':'Account Spam'}
{'status':'failed','key':None,'recovery':None,'message':'Failed To Authenticate'}
{'status':'failed','key':None,'recovery':None,'message':'Unknown Error'}
```
<br>

### Check Application
`Code`
```python
APP = FB.CheckApp()
```
`Return`
```python
{'active':[ActiveApps],'expired':[ExpiredApps]}
```
<br>

### Profile Guard
`Code`
```python
PG = FB.ProfileGuard(True) # True=On, False=Off
```
`Return`
```python
{'status':'active','message':None}
{'status':'inactive','message':None}
{'status':'failed','message':'Token EAAG Invalid, Please Remove Your 2FA'}
{'status':'failed','message':'Error, Something Went Wrong'}
```
<br>

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/zaypaihtet/asonethod",
    "name": "asonethod",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "facebook-scraper,facebook-parser,facebook-scraper-without-apikey,facebook-tools,facebook",
    "author": "Crd Dapunta Khurayra X",
    "author_email": "zaypaihtet@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/23/5e/a0dfea14239079c8ba8f2f0fb1090ab6daf46266099a02d14ef24dc65f97/asonethod-0.0.2.tar.gz",
    "platform": null,
    "description": "# FBToolsBox\nFacebook Automation Tools  \nAuthor  : [**Dapunta Khurayra X**](https://www.facebook.com/Dapunta.Khurayra.X)  \nLibrary : [**FBToolsBox**](https://github.com/Dapunta/FBToolsBox)  \nRelease : 01/01/2024  \nLast Update : 07/01/2024  \nVersion : 0.0.2  \nPython  : 3.10 - 3.12  \n<br>  \n<br>\n\n## Installation\n```python\npip install fbtoolsbox\n```\n<br>  \n<br>  \n<br>\n\n## Features\nAfter Finishing Reading The Documentation,  \nSee The [**Instructions**](#instructions-for-use) For Usage\n1. Login via Cookie, Email, and Phone\n   - [Login Cookie](#login-with-cookie)\n   - [Login Email](#login-with-email--password)\n   - [Login Phone](#login-with-phone--password)\n2. Get Access Token `EAAG`, `EAAB`, `EAAD`, `EAAC`, `EAAF` and `EABB`\n   - [Token EAAG](#get-access-token)\n   - [Token EAAB](#get-access-token)\n   - [Token EAAD](#get-access-token)\n   - [Token EAAC](#get-access-token)\n   - [Token EAAC](#get-access-token)\n   - [Token EABB](#get-access-token)\n3. Get Information of Profile, Page, and Group\n   - [Info Profile](#get-info-profile)\n   - [Info Page](#get-info-page)\n   - [Info Group](#get-info-group)\n4. Automation 1 \n   - [Post To Feed](#post-to-feed)\n   - [Post To Group](#post-to-group)\n   - [Comment To Post](#comment-to-post)\n   - [React To Post](#react-to-post)\n   - [Share To Feed](#share-to-feed)\n   - [Share To Group](#share-to-group)\n5. Change Privacy\n   - [Post](#post-privacy)\n   - [Photo](#photo-privacy)\n   - [Album](#album-privacy)\n6. Friend Option\n   - [Add Friend](#friend-option)\n   - [Unfriend](#friend-option)\n   - [Follow](#friend-option)\n   - [Unfollow](#friend-option)\n   - [Block](#friend-option)\n   - [Unblock](#friend-option)\n<br>  \n<br>\n<br>\n\n## Create Account\n```python\nfrom FBTools.CreateAccount import CreateAccount\n\nname = 'Input Your Name Here'\npassword = 'Input Your Password Here'\nbirthday = '25/12/1995' # DD/MM/YYYY\nemail = 'examplename@example.com'\ngender = 1 # 1=Male, 0=Female\nCA = CreateAccount()\nCA.SetData(name=name, password=password, birthday=birthday, email=email, gender=gender)\nCA.Create()\n```\nParameter  \n>name : Name You Want To Create (string, default=None)  \npassword : Password You Want To Create (string, default=None)  \nbirthday : Birth Date You Want To Set (string, default=None)  \nemail : Email You Want To Register (string, default=None)  \nphone : Phone You Want To Register (string, default=None)  \ngender : Gender You Want To Set (bool, default=0 -> female)  \n<br> \n<br> \n<br>\n\n## Login\n\n#### Parameter\n```python\ncookie   = 'datr=nxbaxnynx; sb=axn...' # Input Your Cookie Here\nemail    = 'dapuntaxayonara@gmail.com' # Input Your Email Here\nphone    = '6282245780524'             # Input Your Phone Here\npassword = 'satusampaidelapan'         # Input Your Password Here\n```\n\n#### Login With Cookie\n```python\nfrom FBTools import Start\nFB = Start(cookie=cookie)\n```\n\n#### Login With Email & Password\n```python\nfrom FBTools import Start\nFB = Start(email=email, password=password)\n```\n\n#### Login With Phone & Password\n```python\nfrom FBTools import Start\nFB = Start(phone=phone, password=password)\n```\n<br>  \n<br>  \n<br>\n\n## Instructions For Use\nIf you want to use **one cookie** (single cookie) to run this tools, put [```LoginCookie```](#login-with-cookie) or [```LoginEmail```](#login-with-email--password) or [```LoginPhone```](#login-with-phone--password) on top, or put it in a different def (make your own ```def login()```)\n```python\nfrom FBTools import Start\n\ndef Login():\n    cok = input('Input Your Cookie : ')\n    FB = Start(cookie=cok) #--> Single Cookie\n    if FB.IsValid:\n        BotComment(FB)\n    else:\n        exit('Cookie Invalid')\n\ndef BotComment(FB):\n    post = input('Input ID Post : ')\n    comt = input('Write Comment : ')\n    loop = int(input('How Many : '))\n    for i in range(loop):\n        Comment = FB.CommentToPost(post=post, text=comt)\n        print(Comment)\n\nif __name__ == '__main__':\n   Login()\n```\nIf you want to use **many cookies** (multi cookies) to run this tools, put [```LoginCookie```](#login-with-cookie) or [```LoginEmail```](#login-with-email--password) or [```LoginPhone```](#login-with-phone--password) in the same function as the next object call                  \n```python\nfrom FBTools import Start\n\nlist_cookie = ['cookie1','cookie2','cookie3','cookie4']\nid_target   = '1827084332'\n\ndef BotFollow():\n   for cok in list_cookie:\n      FB = Start(cookie=cok) #--> Multi Cookies\n      FO = FB.Follow(id_target)\n      print(FO)\n\nif __name__ == '__main__':\n   BotFollow()\n```\n<br>  \n<br>  \n<br>\n\n## Get Access Token\n```python\nTokenEAAG = FB.TokenEAAG()\nTokenEAAB = FB.TokenEAAB()\nTokenEAAD = FB.TokenEAAD()\nTokenEAAC = FB.TokenEAAC()\nTokenEAAF = FB.TokenEAAF()\nTokenEABB = FB.TokenEABB()\n```\n<br>  \n<br>  \n<br>\n\n## Get Info Account, Page, Group\n\n#### Parameter\n```python\n# Must Be Included\ntarget_profile = '100000198243102'               # ID/URL Profile Target (string, default=False)\ntarget_page    = '100044426739616'               # ID/URL Page Target (string, default=False)\ntarget_group   = '1824553201274304'              # ID/URL Group Target (string, default=False)\n```\n\n#### Get Info Profile\n```python\nprofile = FB.GetInfoProfile(target_profile)\nprint(profile.id)\nprint(profile.username)\nprint(profile.name)\nprint(profile.short_name)\nprint(profile.gender)\nprint(profile.work)\nprint(profile.education)\nprint(profile.current_city)\nprint(profile.hometown)\nprint(profile.relationship)\nprint(profile.birthday)\nprint(profile.language)\nprint(profile.website)\nprint(profile.github)\nprint(profile.instagram)\nprint(profile.friend)\nprint(profile.follower)\n```\n\n#### Get Info Page\n```python\npage = FB.GetInfoPage(target_page)\nprint(page.id)\nprint(page.username)\nprint(page.name)\nprint(page.follower)\nprint(page.category)\n```\n\n#### Get Info Group\n```python\ngroup = FB.GetInfoGroup(target_group)\nprint(group.id)\nprint(group.username)\nprint(group.name)\nprint(group.privacy)\nprint(group.membership)\nprint(group.admin)\nprint(group.moderator)\nprint(group.member)\nprint(group.new_member)\nprint(group.post_last_day)\nprint(group.post_last_month)\nprint(group.visibility)\nprint(group.history)\nprint(group.description)\n```\n<br>  \n<br>  \n<br>\n\n## Auto Post\n\n#### Parameter\n```python\n# Must Be Included\ntext    = 'Hello! Test Bot Post'                             # Caption (string, default=None)\ngroup   = '1824553201274304'                                 # Group ID (string, default=None)\n# 'group' must include if post to group\n# You must post at least 1 text or 1 photo\n\n# Optional\nurl     = ['https://e.top4top.io/p_2916o42201.jpg']          # Picture URL (list, default=None)\ntag     = ['1827084332','100000415317575','100000200420913'] # Friend ID You Want To Tag (list, default=None)\nprivacy = 1 # 1=Public, 2=Friends, 3=OnlyMe                  # Post Privacy (int, default=None)\n```\n\n#### Post To Feed\n```python\nPost = FB.PostToFeed(text=text, url=url, tag=tag, privacy=privacy)\n```\n\n#### Post To Group\n```python\nPost = FB.PostToGroup(group=group, text=text, url=url, tag=tag, privacy=privacy)\n```\n\n#### Return\n```python\n{'status':'success','id':idpost,'message':None}\n{'status':'pending','id':idpost,'message':'Pending Post'}\n{'status':'failed','id':None,'message':'cookie invalid'}\n{'status':'failed','id':None,'message':\"Don't Create Same/Duplicate Post\"}\n{'status':'failed','id':None,'message':'Your Account Restricted To Post In Group'}\n{'status':'failed','id':None,'message':'Terjadi Kesalahan'}\n```\n<br>  \n<br>  \n<br>\n\n## Auto Comment\n\n#### Parameter\n```python\n# Must Be Included\npost   = 'Facebook.com/6929777330379375'                    # ID/URL Post Target (string, default=None)\ntext   = 'Hello! Test Bot Comment'                          # Caption (string, default=None)\n# You must comment at least 1 text or 1 photo\n\n# Optional\nphoto  = 'https://e.top4top.io/p_2916o42201.jpg'            # Picture URL (string, default=None)\ntag    = ['1827084332','100000415317575','100000200420913'] # Friend ID You Want To Tag (list, default=None)\n```\n\n#### Comment To Post\n```python\nComment = FB.CommentToPost(post=post, text=text, photo=photo, tag=tag)\n```\n\n#### Return\n```python\n{'status':'success','id':comment_id,'message':None}\n{'status':'failed','id':None,'message':'cookie invalid'}\n{'status':'failed','id':None,'message':'Spam Or Something Else'}\n{'status':'failed','id':None,'message':'Terjadi Kesalahan'}\n```\n<br>  \n<br>  \n<br>\n\n## Auto React\n\n#### Parameter\n```python\n# Must Be Included\npost   = 'Facebook.com/6929777330379375'                            # ID/URL Post Target (string, default=None)\nreact  = 5 # 1=Like, 2=Love, 3=Haha, 4=Wow, 5=Care, 6=Sad, 7=Angry  # Reaction Type (int, default=2=Love)\n```\n\n#### React To Post\n```python\nReaction = FB.ReactToPost(post=post, react=react)\n```\n\n#### Return\n```python\n{'status':'success','react_type':react_type,'message':None}\n{'status':'failed','react_type':react_type,'message':'Spam Or Something Else'}\n{'status':'failed','react_type':react_type,'message':'Terjadi Kesalahan'}\n```\n<br>  \n<br>  \n<br>\n\n## Auto Share\n\n#### Parameter\n```python\n# Must Be Included\npost    = 'Facebook.com/6929777330379375'                    # ID/URL Post You Want To Share (string, default=None)\ngroup   = '1824553201274304'                                 # Group ID (string, default=None)\n# 'group' must include if share to group\n\n# Optional\ntext    = 'Hello! Test Bot Share'                            # Caption (string, default=None)\ntag     = ['1827084332','100000415317575','100000200420913'] # Friend ID You Want To Tag (list, default=None)\nprivacy = 1 # 1=Public, 2=Friends, 3=OnlyMe                  # Share Privacy (int, default=None)\n```\n\n#### Share To Feed\n```python\nShare = FB.ShareToFeed(post=post, text=text, tag=tag, privacy=privacy)\n```\n\n#### Share To Group\n```python\nShare = FB.ShareToGroup(post=post, group=group, text=text, tag=tag, privacy=privacy)\n```\n\n#### Return\n```python\n{'status':'success','id':idshare,'message':None}\n{'status':'pending','id':idshare,'message':'Pending Post'}\n{'status':'failed','id':None,'message':\"Don't Create Same/Duplicate Post\"}\n{'status':'failed','id':None,'message':'post has been deleted or there is an error'}\n{'status':'failed','id':None,'message':'Your Account Restricted To Post In Group'}\n{'status':'failed','id':None,'message':'Terjadi Kesalahan'}\n```\n<br>  \n<br>  \n<br>\n\n## Change Privacy\n\n#### Parameter\n```python\n# Must Be Included\npost    = '10217059556200871'                  # ID/URL Post  You Want To Change Privacy (string, default=None)\nphoto   = '10214228940637251'                  # ID/URL Photo You Want To Change Privacy (string, default=None)\nalbum   = '146803788687013'                    # ID/URL Album You Want To Change Privacy (string, default=None)\nprivacy = 3 # 1=Public, 2=Friends, 3=OnlyMe    # Selected Privacy (int, default=3)\n```\n\n#### Post Privacy\n```python\nPrivacy = FB.PostPrivacy(post=post, privacy=privacy)\n```\n\n#### Photo Privacy\n```python\nPrivacy = FB.PhotoPrivacy(photo=photo, privacy=privacy)\n```\n\n#### Album Privacy\n```python\nPrivacy = FB.AlbumPrivacy(album=album, privacy=privacy)\n```\n\n#### Return\n```python\n{'status':'success','id':id,'privacy':privacy,'message':None}\n{'status':'failed','id':id,'privacy':None,'message':'Spam Or Something'}\n{'status':'failed','id':None,'privacy':None,'message':'Something Went Wrong'}\n```\n<br>  \n<br>  \n<br>\n\n## Friend Option\n\n### Parameter\n```python\nid_target = '1827084332'    # ID Profile You Want To Give Action (string, default=False)\n```\n\n#### Add Friend\n```python\nAD = FB.AddFriend(id_target)\n```\n\n#### Unfriend\n```python\nUF = FB.UnFriend(id_target)\n```\n\n#### Follow\n```python\nFO = FB.Follow(id_target)\n```\n\n#### Unfollow\n```python\nUO = FB.UnFollow(id_target)\n```\n\n#### Block\n```python\nBL = FB.Block(id_target)\n```\n\n#### Unblock\n```python\nUB = FB.UnBlock(id_target)\n```\n\n#### Return\n```python\n{'status':'success','id':id_target,'message':None}\n{'status':'failed','id':id_target,'message':'Account Spam or Cookie Invalid'}\n{'status':'failed','id':None,'message':'ID Not Found or Cookie Invalid'}\n```\n<br>  \n<br>  \n<br>\n\n## Account Settings\n<br>\n\n### 2 Factor Authentication\n`Parameter`\n```python\nactive   = True # True=On, False=Off    # 2FA Option (bool, default=None)\npassword = 'acumalaka99'                # Account Password (string, default=None)\n```\n`Code`\n```python\nA2F = FB.Authentication(active=active, password=password)\n```\n`Return`\n```python\n{'status':'success','key':Key2FA,'recovery':RecoveryCode,'message':None}\n{'status':'failed','key':None,'recovery':None,'message':'Wrong Password'}\n{'status':'failed','key':None,'recovery':None,'message':'Account Spam'}\n{'status':'failed','key':None,'recovery':None,'message':'Failed To Authenticate'}\n{'status':'failed','key':None,'recovery':None,'message':'Unknown Error'}\n```\n<br>\n\n### Check Application\n`Code`\n```python\nAPP = FB.CheckApp()\n```\n`Return`\n```python\n{'active':[ActiveApps],'expired':[ExpiredApps]}\n```\n<br>\n\n### Profile Guard\n`Code`\n```python\nPG = FB.ProfileGuard(True) # True=On, False=Off\n```\n`Return`\n```python\n{'status':'active','message':None}\n{'status':'inactive','message':None}\n{'status':'failed','message':'Token EAAG Invalid, Please Remove Your 2FA'}\n{'status':'failed','message':'Error, Something Went Wrong'}\n```\n<br>\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Facebook Scrapper",
    "version": "0.0.2",
    "project_urls": {
        "Homepage": "https://github.com/zaypaihtet/asonethod"
    },
    "split_keywords": [
        "facebook-scraper",
        "facebook-parser",
        "facebook-scraper-without-apikey",
        "facebook-tools",
        "facebook"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "644b445e59b9face10ebfbd93c382f95b86199bbeb09139d76b5f81f729f9df2",
                "md5": "8dcb0b4ee53edc6731973f00cf1dffe0",
                "sha256": "0d54f7e9d61891690509b0018df34122fdbaa7e6fda31b1ea1d4e24d2df12603"
            },
            "downloads": -1,
            "filename": "asonethod-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8dcb0b4ee53edc6731973f00cf1dffe0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 27439,
            "upload_time": "2024-01-15T16:32:29",
            "upload_time_iso_8601": "2024-01-15T16:32:29.013304Z",
            "url": "https://files.pythonhosted.org/packages/64/4b/445e59b9face10ebfbd93c382f95b86199bbeb09139d76b5f81f729f9df2/asonethod-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "235ea0dfea14239079c8ba8f2f0fb1090ab6daf46266099a02d14ef24dc65f97",
                "md5": "3a088428b63cb08d94c5bedaed8d5c86",
                "sha256": "0cf89f5c02088591e6eedd73e31c8f476034bae4e8fbf17550dcd1f1c19fdfd1"
            },
            "downloads": -1,
            "filename": "asonethod-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "3a088428b63cb08d94c5bedaed8d5c86",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 23832,
            "upload_time": "2024-01-15T16:32:31",
            "upload_time_iso_8601": "2024-01-15T16:32:31.849735Z",
            "url": "https://files.pythonhosted.org/packages/23/5e/a0dfea14239079c8ba8f2f0fb1090ab6daf46266099a02d14ef24dc65f97/asonethod-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-15 16:32:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "zaypaihtet",
    "github_project": "asonethod",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "asonethod"
}
        
Elapsed time: 1.58580s