<jupyter_start><jupyter_text>LinkedIn - Get likes from post **Tags:** linkedin post likes naas_drivers content snippet dataframe **Author:** [<NAME>](https://www.linkedin.com/in/florent-ravenel/)  Input  Import library<jupyter_code>from naas_drivers import linkedin<jupyter_output><empty_output><jupyter_text>Get your cookiesHow to get your cookies ?<jupyter_code>LI_AT = 'YOUR_COOKIE_LI_AT'  # EXAMPLE AQFAzQN_PLPR4wAAAXc-FCKmgiMit5FLdY1af3-2
JSESSIONID = 'YOUR_COOKIE_JSESSIONID'  # EXAMPLE ajax:8379907400220387585<jupyter_output><empty_output><jupyter_text>Enter post URL<jupyter_code>POST_URL = "POST_URL"<jupyter_output><empty_output><jupyter_text>Model Get the information return in a dataframe.**Available columns :**- PROFILE_URN : LinkedIn unique profile id- PROFILE_ID : LinkedIn public profile PROFILE_ID- FIRSTNAME- LASTNAME- OCCUPATION- REACTION_TYPE- POST_URL<jupyter_code>df = linkedin.connect(LI_AT, JSESSIONID).post.get_likes(POST_URL)<jupyter_output><empty_output><jupyter_text>Output  Display result<jupyter_code>df<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10046948356807511, 'fraction_numerical': 0.022535211267605635, 'mean_word_length': 9.450980392156863, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 22, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '5', 'dir': 'jupyter-structured-clean-dedup', 'id': '85096', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 422, 'n_tokens_neox': 395, 'n_words': 65, 'path': 'LinkedIn/LinkedIn_Get_likes_from_post.ipynb', 'repo_name': 'krajai/testt', 'size': '1074'}