Skip to content

Commit

Permalink
Merge pull request #9 from bitesinbyte/ocr-compare
Browse files Browse the repository at this point in the history
Added ads in old posts
  • Loading branch information
manishtiwari25 authored Feb 12, 2024
2 parents 0eb5334 + 3e69f1a commit 8e5977c
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,36 @@ In my last post about [automation using Logic App](/posts/auto-post-RSS-feed-to-

![ferret](/assets/img/posts/automation/ferret.webp)

{% include article-ads.html %}

## Why the name Ferret?

Before diving into the technical details, let's address the curious choice of name—Ferret. Ferrets are renowned for their adeptness at gathering information. Their agile and inquisitive nature resonates with the core functionality of this automation tool. Just like a ferret scavenging for information, this tool diligently collects and disseminates content from RSS feeds to various social media platforms.

{% include article-ads.html %}

## What is Ferret?

Ferret is a lightweight yet powerful automation tool designed to streamline the process of sharing content from RSS feeds to social media platforms. Built on the foundation of GitHub Actions, Ferret harnesses the capabilities of this robust platform to automate the dissemination of content seamlessly.

Additionally, if you've arrived at this blog post from social media, it's worth noting that the very post you're reading was shared by Ferret, showcasing its effectiveness in automating content distribution.

{% include article-ads.html %}

## How does Ferret Work?

Ferret operates on a simple yet efficient workflow. Upon detecting new content in the specified RSS feeds, Ferret triggers a series of predefined actions using GitHub Actions. These actions include fetching the content, formatting it according to user-defined preferences, and posting it across the designated social media platforms.

![ferret-work](/assets/img/posts/automation/ferret-worl.webp)

{% include article-ads.html %}

## Getting Started with Ferret

Getting started with Ferret is a breeze. Simply [fork the Ferret repository](https://github.com/bitesinbyte/ferret/fork) on GitHub and customize the configuration according to your requirements. With comprehensive documentation and a user-friendly interface, setting up Ferret requires minimal effort.

{% include article-ads.html %}

## Conclusion

With Ferret, automating the dissemination of content from RSS feeds to social media platforms has never been easier. By harnessing the power of GitHub Actions, Ferret empowers users to streamline their content-sharing workflows while reaching a wider audience. Say goodbye to manual content posting and embrace the efficiency of Ferret today!
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ image:

In the fast-paced world of professional networking, LinkedIn stands as a beacon for career advancement and business connections. While manual posting on the platform has long been the norm, there exists a powerful tool that can revolutionize the way you share updates, articles, and thoughts: the LinkedIn REST API.

{% include article-ads.html %}

## Prerequisites

1. #### Postman
Expand All @@ -26,6 +28,8 @@ In the fast-paced world of professional networking, LinkedIn stands as a beacon

While this guide aims to simplify the process, a foundational understanding of web technologies, HTTP methods, and RESTful principles will facilitate your journey in leveraging LinkedIn's REST API effectively.

{% include article-ads.html %}

---

## Definitions
Expand All @@ -49,6 +53,8 @@ Before we embark on our journey, let's take a moment to get familiar with some k

Now that we have a basic understanding of these terms, let's dive into the process of crafting and publishing LinkedIn posts using REST API.

{% include article-ads.html %}

---

## How Does Authorization Code Flow Work?
Expand All @@ -61,6 +67,8 @@ Now that we have a basic understanding of these terms, let's dive into the proce

## ![oauth-3-legged-flow](/assets/img/posts/automation/linkedin-automation/oauth-3-legged-flow.webp "Fig 1: OAuth Flow Credit [Microsoft Learn](https://learn.microsoft.com/en-us/linkedin/shared/authentication/authorization-code-flow?tabs=HTTPS1#authorization-code-flow)")

{% include article-ads.html %}

## Steps to get the access token

- ### Create an app on LinkedIn
Expand All @@ -82,6 +90,8 @@ Now that we have a basic understanding of these terms, let's dive into the proce
9. Request App Verification From the Company Page: go to the Settings tab and press the "Verify" button to receive a verification link. Open this link if you're the company's page administrator or send it to the administrator(s) of the company page you previously selected. When you/the administrator opens the link, you/they will be prompted to confirm their responsibility for your app. If you/they confirm, you will receive a notification that your app has been verified and you can continue with other settings.
![Verify](/assets/img/posts/automation/linkedin-automation/linkedin-7.webp)

{% include article-ads.html %}

- ### Request Access to Features

1. Go to the Products tab, Do you see “Share on LinkedIn” and “Sign In with LinkedIn v2 (custom OAUTH)”
Expand All @@ -94,6 +104,8 @@ Now that we have a basic understanding of these terms, let's dive into the proce
![Callback Url](/assets/img/posts/automation/linkedin-automation/linkedin-10.webp)
6. Now, Take note of the client ID and client secret (displayed in the Application credentials section)

{% include article-ads.html %}

- ### Generate Access Token Using Postman
1. Open Postman
2. Create a new Collection
Expand All @@ -111,6 +123,8 @@ Now that we have a basic understanding of these terms, let's dive into the proce
14. Client Authentication: Send Client credentials in the body
15. Click on <strong>Generate New Access Token</strong>, this should pop up a new window and if you configure everything correctly it should generate an access token and copy the access token for [part 2](/posts/how-to-post-on-linkedin-using-rest-api-part2).

{% include article-ads.html %}

---

## Conclusion
Expand All @@ -121,6 +135,8 @@ If you encounter any challenges or have questions about the process, don't hesit

Now that we've successfully obtained the access token, the hard part is behind us. Take a moment to celebrate your accomplishment, perhaps with a well-deserved break. When you're ready, we'll dive into the next steps with renewed energy and confidence.

{% include article-ads.html %}

---

## Other
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ So, if you're ready to take your LinkedIn presence to new heights, grab your fav

Let's dive in!

{% include article-ads.html %}

## How does LinkedIn v2/posts Api work?

![How API Works](/assets/img/posts/automation/linkedin-automation/api-flow.webp)
Expand Down Expand Up @@ -56,6 +58,8 @@ Let's dive in!

We will be using the value of the sub for future purposes.

{% include article-ads.html %}

2. #### Upload Images (if any)

If our post includes images, we'll need to upload them to LinkedIn's servers. This step ensures that our post displays correctly, especially for article previews or image-rich content.
Expand Down Expand Up @@ -117,6 +121,8 @@ Let's dive in!
--form 'file=@"android-chrome-512x512.png"'
```

{% include article-ads.html %}

3. #### Create Post

Finally, armed with the necessary profile information and any uploaded images, we'll create our post using LinkedIn's REST API endpoints. We'll explore how to formulate compelling posts and publish them seamlessly to engage our audience effectively.
Expand Down Expand Up @@ -155,6 +161,8 @@ Let's dive in!
For more properties, please visit [LinkedIn API Documentation](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/posts-api?view=li-lms-2024-01&tabs=http)
{% include article-ads.html %}
## Conclusion
In this second part of our series on leveraging the LinkedIn API, we've explored the process of crafting and publishing posts with simplicity and efficiency.
Expand All @@ -171,6 +179,8 @@ Keep crafting compelling content, keep networking, and most importantly, keep sh

Let's keep moving forward together!
{% include article-ads.html %}
## Other
- Go Code is available [here](https://github.com/bitesinbyte/ferret/blob/main/pkg/external/linkedin.go)
Binary file added assets/img/headers/ai/ocr-compare.webp
Binary file not shown.

0 comments on commit 8e5977c

Please sign in to comment.