PowerApps twitter connector example

In this PowerApps example, we will discuss how to use PowerApps twitter connector to get data from Twitter in PowerApps forms.

PowerApps twitter connector

Microsoft provides various connectors to connect to various services in PowerApps.

Here we will use Twitter Connector to communicate with twitter from PowerApps app.

Follow the below steps to get data from twitter using Twitter Connector.

Step 1: Log in your Powerapps and Create a new template with a Phone Layout or Tablet layout.

PowerApps twitter connector
Create canvas app in powerapps

Step 2: Go to the data sources and search for Twitter. Make sure you have already sign in your twitter account here or click here to connect.

PowerApps twitter connector
PowerApps twitter connector

Step 3: Next add a screen in your page and drag and drop two dataTable on your page like the below image.

Twitter connector in PoweApps
Twitter connector in PoweApps

Step 4: In this table, I am fetching user Timeline post using UserName. So below is the formula to get the user Timeline Post.

Twitter.UserTimeLine("@Micrisoft365", {maxResults:5}).TweetText
get twitter data in powerapps

Step 5: Next I am using below formula to get the number of followers.

Twitter.MyFollowing{MaResults:5})
Powerapps connectors

Step 6: Next click on run and see the output below.

powerapps premium connectors

Note: You can also use forumla to get other information.

twitter.User( TwitterHandle ).Description
twitter.User( TwitterHandle ).FullName
twitter.User( TwitterHandle ).Location
twitter.User( TwitterHandle ).UserName
twitter.User( TwitterHandle ).FollowersCount
twitter.User( TwitterHandle ).FriendsCount
twitter.User( TwitterHandle ).Id
twitter.User( TwitterHandle ).StatusesCount

You may like following PowerApps tutorials:

In this tutorial, we learned how to use PowerApps twitter connector to get twitter details and display in PowerApps.

>