top of page
Search
tylasamol1983

Using Facebook API to Check User Likes Post: Best Practices and Tips



Though this post has been here for quite a while, the solutions are not pure JS. Though Jason noted that requesting permissions is not ideal, I consider it a good thing since the user can reject it explicitly. I still post this code, though (almost) the same thing can also be seen in another post by ifaour. Consider this the JS only version without too much attention to detail.




facebook api check user likes post



To check whether a particular user likes your Page or App, you can use this Graph API call /me/likes, after the user is logged in to your application. You need the page id or application id to check against.


In this example, 163504083699380 is my application id. I then iterate every user Like and check their id against my application id. If my application id is found on the list, then I know that the user likes my page.


  • Example: Please upgrade your browserLink to the bare-bone example: /tutorial/facebook-like-check/index.html.

  • Further explanation of the login setup (not required if you already familiar with setting up Facebook Connect login process): /blog/2010/11/facebook-open-graph-api-authenticating-in-iframe-applications/



I want to design a news feed with fully functioning likes/Unlike ,share and commenting,and of course fetching recent posts from users newfeed.Now here is the thing,I want to check whether a user has liked a post (type is video, photo, link or status).


2-we can use object_id only for photos,albums,and videos.but you cant use it to get like_info fro link and status types.so i need new way and a new technique to findout wether user has liked an post or not


so if you could find anyway to make a news feed with fully functioning likes/Unlike ,share and commenting,and of course fetching recent posts from users newfeed OR fixing the problems i mentioned ,That would be greatful.


Answer: Above code is filtering your contents, here you are checking whether your each of the 20 posts (which you are pulling) and looping individually and checking if it is a status, photo, video, link, etc is liked by the logged in user or not? Above query works only for type = Photo,type = Link, as far as I remember only Photos, Links have like_info object, you need to refer to FQL docs though. For posts other than Photos,links use this query:


Problem: we can use object_id only for photos,albums,and videos.but you cant use it to get like_info fro link and status types.so i need new way and a new technique to find out whether user has liked an post or not


So, to sum it up: Instagram is changing the way users view likes to bring back the joy of posting to those who were negatively affected by the competitive implications of publicly displayed engagement scores.


You can use NapoleonCat to check the total number of your Instagram likes. You can set a custom time period for your analysis and get more historical data about your likes. You can also generate automatic reports or analyze any other public Instagram accounts that are connected to a Facebook Page.


The main Insights page serves as a handy dashboard to view big picture trends on your page. Using the date selector at the top, you can change the date range to view today, yesterday, the last 7 days, or the last 28 days. You can also click any post in the list to view that post on your page, along with its comments and likes.


Click the "View Insights" link in the right sidebar of your Facebook page to view the user and interaction statistics overview for the past month. The user statistics include charts for new likes, lifetime likes and daily, weekly and monthly active users. The interaction statistics show post views and charts for post likes and post comments.


Click "See Details" in the "Users" section of the page insights overview. This presents a breakdown of active user behavior, daily active users, new likes, unlikes, external referrers, demographics, page views, tab views and media consumption.


Open graph actions are being categorized as a new type of consumer story, taking advantage of the word of mouth phenomenon. Open graph posts are more meaningful to users because they are being generated by a familiar friend, not simply a brand, making them the latest and greatest of Facebook marketing tools.


As it rolls out, users will be able to pin three pieces of previously posted content to the top of their profile grid. This allows you to control what users interact with the first time they find your account.


This will include managing, deleting, and archiving all content (including posts, Stories, and Reels) in bulk actions. Users will also be able to manage their own interactions such as comments, likes Story sticker reactions, and more. Sorting options will include time frame and activity type.


Now, Facebook Pay is extending off-site to participating platforms. Just as users are able to take advantage of paying through fast-pay options like PayPal on third-party sites, this will provide a near-immediate checkout process that could help increase both desktop and mobile purchases.


If some post types have significantly higher engagement that spikes, this may be what users are subscribing to. Creating additional similar content could help you reach quickly.


Now, any eligible business or creator account with even one eligible product can use shopping features and tags. These will drive users to your site to make purchases, and for US businesses that are in the checkout test group, customers can purchase directly in-app.


While not an official intended use, advertisers can check out their own data and see if they get any new ideas for how to target users based on their own interactions with the platform. Many brands happily view content related to their own industry, for example, so you may get some new inspiration for categories on Instagram to consider.


And if they want to see all their likes, or if you post a story and want to see your likes, you can go to the viewer sheet for that story and there will be a little heart icon from any viewer who actually liked that story.


On your spreadsheet, look at the Lifetime engaged users column. This gives you the engagement for each individual post. Add them up (hint: use the sum function instead of doing it manually) to get your total engagement for the month, then divide that number by your total number of people reached to get your engagement rate.


Hello Team Edgar,my facebook page launched 1 month ago and I have 220 likes. Average reach is >120 and on many posts it exceeded 350 (organic); actually reached 500 once! How do you evaluate my progress?


Hi Diego! You want to use the total likes for your Facebook Page overall, not the average total likes per post. So if your Facebook Page has, for example, 500 likes, and your average organic reach is 34 users per post, then your average reach would be 34 divided by 500 (6.8%). Hope that helps!


The average engagement rate per post by followers on Instagram is calculated as the total engagement (likes and comments) divided by the number of posts the profile published. The result is then divided by the number of followers, and all multiplied by 100.


The average engagement rate per post by reach on Instagram is calculated as the total engagement (likes and comments) divided by the number of posts the profile published. The result is then divided by the total reach, and all multiplied by 100.


Twitter defines its engagement as the total number of times a user interacted with a Tweet, including Retweets, replies, follows, likes, links, cards, hashtags, embedded media, username, profile photo, or Tweet expansion.


The average engagement rate per post by followers on LinkedIn is calculated as the total engagement (likes, comments, clicks, and shares) divided by the number of posts the profile published. The result is then divided by the number of followers, and all multiplied by 100.


The average engagement rate per video by followers on TikTok is calculated as the total engagement (likes, comments, and shares) divided by the number of posts the profile published. The result is then divided by the number of followers, and all multiplied by 100.


The actual post content could also have a potential effect on its reach. If a photo is particularly funny or shocking then it may naturally be shared more, receive more likes and comments and, as a result, have a greater reach.


Make the most of recent increases in fans. Often people will carry out some activity that gains them a substantial increase in page likes, but then they fail to follow it up with any posting. As a result, the potential EdgeRank disappears very quickly.


Measure your posts. Facebook has provided some pretty good analytics tools in the form of Facebook Insights that can help you see exactly which posts and type of posts perform better (in terms of impressions, reach and more). By checking this data regularly, you can tweak your posting and then measure again if this has an effect.


However, in most cases, users tend to leave their news feeds as they are, especially if they have lots of friends, page likes etc, as their feeds are continually refreshing.Why should they care about EdgeRank?


Download Facebook post likes of your FB Business page posts and export the likes and names to Excel with our FREE tool. This tool can help you to pick a winner for your giveaway from your Facebook likes. Copy all names from the Excel file in our Random Name Picker or Wheel of Names.


Login with the Facebook profile that is the administrator of the Facebook Business page which you want to use for exporting likes. We need "Read content posted on the Page" and "Read user content on your Page" permission to get posts and likes of your page in order to export them. With those permissions we can't publish anything on your behalf. 2ff7e9595c


2 views0 comments

Recent Posts

See All

Comments


bottom of page