Skip to content

fastuptime/Twitter_Authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter_Authentication

Twitter Authentication / Twitter Yetkilendirme

🎈 Images 🎈

image image image

🌘 Example Response Twitter 🌘

{
  id: '1480604015943725064',
  username: 'FastUptime',
  displayName: 'FastUptime',
  photos: [
    {
      value: 'https://pbs.twimg.com/profile_images/1524408872072581120/TSxOBDF4_normal.jpg'
    }
  ],
  provider: 'twitter',
  _raw: '{"id":1480604015943725064,"id_str":"1480604015943725064","name":"FastUptime","screen_name":"FastUptime","location":"","description":"Takip\\u00e7i \\u0130\\u00e7in: https:\\/\\/t.co\\/i57ea5QhGM","url":"https:\\/\\/t.co\\/YqaV5NYxHH","entities":{"url":{"urls":[{"url":"https:\\/\\/t.co\\/YqaV5NYxHH","expanded_url":"https:\\/\\/fastuptime.com","display_url":"fastuptime.com","indices":[0,23]}]},"description":{"urls":[{"url":"https:\\/\\/t.co\\/i57ea5QhGM","expanded_url":"http:\\/\\/speedsmm.com","display_url":"speedsmm.com","indices":[14,37]}]}},"protected":false,"followers_count":6,"friends_count":0,"listed_count":0,"created_at":"Mon Jan 10 18:15:00 +0000 2022","favourites_count":134,"utc_offset":null,"time_zone":null,"geo_enabled":false,"verified":false,"statuses_count":185,"lang":null,"status":{"created_at":"Wed Jul 05 21:27:28 +0000 2023","id":1676704370245656578,"id_str":"1676704370245656578","text":"test","truncated":false,"entities":{"hashtags":[],"symbols":[],"user_mentions":[],"urls":[]},"source":"\\u003ca href=\\"https:\\/\\/mobile.twitter.com\\" rel=\\"nofollow\\"\\u003eTwitter Web App\\u003c\\/a\\u003e","in_reply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"geo":null,"coordinates":null,"place":null,"contributors":null,"is_quote_status":false,"retweet_count":0,"favorite_count":0,"favorited":false,"retweeted":false,"lang":"en"},"contributors_enabled":false,"is_translator":false,"is_translation_enabled":false,"profile_background_color":"F5F8FA","profile_background_image_url":null,"profile_background_image_url_https":null,"profile_background_tile":false,"profile_image_url":"http:\\/\\/pbs.twimg.com\\/profile_images\\/1524408872072581120\\/TSxOBDF4_normal.jpg","profile_image_url_https":"https:\\/\\/pbs.twimg.com\\/profile_images\\/1524408872072581120\\/TSxOBDF4_normal.jpg","profile_banner_url":"https:\\/\\/pbs.twimg.com\\/profile_banners\\/1480604015943725064\\/1656515807","profile_link_color":"1DA1F2","profile_sidebar_border_color":"C0DEED","profile_sidebar_fill_color":"DDEEF6","profile_text_color":"333333","profile_use_background_image":true,"has_extended_profile":true,"default_profile":true,"default_profile_image":false,"following":false,"follow_request_sent":false,"notifications":false,"translator_type":"none","withheld_in_countries":[],"suspended":false,"needs_phone_verification":false}',
  _json: {
    id: 1480604015943725000,
    id_str: '1480604015943725064',
    name: 'FastUptime',
    screen_name: 'FastUptime',
    location: '',
    description: 'Takipçi İçin: https://t.co/i57ea5QhGM',
    url: 'https://t.co/YqaV5NYxHH',
    entities: { url: [Object], description: [Object] },
    protected: false,
    followers_count: 6,
    friends_count: 0,
    listed_count: 0,
    created_at: 'Mon Jan 10 18:15:00 +0000 2022',
    favourites_count: 134,
    utc_offset: null,
    time_zone: null,
    geo_enabled: false,
    verified: false,
    statuses_count: 185,
    lang: null,
    status: {
      created_at: 'Wed Jul 05 21:27:28 +0000 2023',
      id: 1676704370245656600,
      id_str: '1676704370245656578',
      text: 'test',
      truncated: false,
      entities: [Object],
      source: '<a href="https://mobile.twitter.com" rel="nofollow">Twitter Web App</a>',
      in_reply_to_status_id: null,
      in_reply_to_status_id_str: null,
      in_reply_to_user_id: null,
      in_reply_to_user_id_str: null,
      in_reply_to_screen_name: null,
      geo: null,
      coordinates: null,
      place: null,
      contributors: null,
      is_quote_status: false,
      retweet_count: 0,
      favorite_count: 0,
      favorited: false,
      retweeted: false,
      lang: 'en'
    },
    contributors_enabled: false,
    is_translator: false,
    is_translation_enabled: false,
    profile_background_color: 'F5F8FA',
    profile_background_image_url: null,
    profile_background_image_url_https: null,
    profile_background_tile: false,
    profile_image_url: 'http://pbs.twimg.com/profile_images/1524408872072581120/TSxOBDF4_normal.jpg',
    profile_image_url_https: 'https://pbs.twimg.com/profile_images/1524408872072581120/TSxOBDF4_normal.jpg',
    profile_banner_url: 'https://pbs.twimg.com/profile_banners/1480604015943725064/1656515807',
    profile_link_color: '1DA1F2',
    profile_sidebar_border_color: 'C0DEED',
    profile_sidebar_fill_color: 'DDEEF6',
    profile_text_color: '333333',
    profile_use_background_image: true,
    has_extended_profile: true,
    default_profile: true,
    default_profile_image: false,
    following: false,
    follow_request_sent: false,
    notifications: false,
    translator_type: 'none',
    withheld_in_countries: [],
    suspended: false,
    needs_phone_verification: false
  },
  _accessLevel: 'read'
}

🛠️ Installation 🛠️

  • Download and install NodeJs on your computer.

  • Download the project as Zip to your computer and unzip it.

  • Enter the folder you extracted from the zip and open a terminal to the location of that folder, then enter the following commands. npm install

  • Start the by entering the following command in Terminal node .

  • https://developer.twitter.com/en/portal Create an app here

⛳Tech Stack ⛳

🗄️ Server: Node, Passport, Express, Passport-Twitter, Express-session


🎯 License 🎯