MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-fbPageCounter

    Scheduled Pinned Locked Moved Productivity
    23 Posts 7 Posters 12.6k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? Offline
      A Former User
      last edited by

      MMM-fbPageCounter

      Display “Likes” of FACEBOOK page with flip-flop style counter.

      screen shot

      I’ve got an idea from this
      0_1508945729531_facebook-like-counter.jpg

      [card:eouia/MMM-fbPageCounter]

      Mykle1M 1 Reply Last reply Reply Quote 3
      • cowboysdudeC Offline
        cowboysdude Module Developer
        last edited by

        Looks pretty cool!

        1 Reply Last reply Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @Guest
          last edited by

          @Sean
          What if I don’t use FB?

          Just kidding, Sean. Nice work, as usual!

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 1
          • M Offline
            MSimonart
            last edited by

            Should this show how many likes you have in total or does it only show new facebook likes from the moment you start the mirror?

            ? 1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @MSimonart
              last edited by

              @MSimonart
              This shows the number of likes which specific page has received. Not for personal account. If you have store or shop or any other page, this could be useful when you lay on the wall in your store.

              justjim1220J 1 Reply Last reply Reply Quote 0
              • M Offline
                MSimonart
                last edited by

                Ok yeah perfect, got it working. Thanks ;)

                1 Reply Last reply Reply Quote 0
                • H Offline
                  Hellonoonan
                  last edited by

                  How can I add this to mine?

                  Mykle1M 1 Reply Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @Hellonoonan
                    last edited by

                    @hellonoonan

                    https://github.com/eouia/MMM-fbPageCounter

                    Create a working config
                    How to add modules

                    H 1 Reply Last reply Reply Quote 0
                    • H Offline
                      Hellonoonan @Mykle1
                      last edited by

                      @mykle1 Okay, so I did find that before and it is (at least for me) extremely confusing. I cant get past the making of an app. It says to just pick one but they all come with some sort of additional set up that I cant figure out.

                      Is there one in particular I should use to make this easier?

                      I am an absolute beginner with all of this and its only by copy and paste I was able to get as far as I did with the basic magic mirror set up.

                      I dont even know how to update it. Believe me Ive tried on both of these for hours.

                      ? 1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User @Hellonoonan
                        last edited by A Former User

                        @hellonoonan
                        Installation and Configuration is not so difficult. The only hard part is to get proper “token” from Facebook.
                        Where are you stuck now? I can help you. Give me a mail (eouia0819@gmail.com) or a Telegram chat (@eouia)

                        H Atelier-Made-in-iKiA 2 Replies Last reply Reply Quote 1
                        • H Offline
                          Hellonoonan @Guest
                          last edited by

                          @sean wow thank you! Email sent

                          1 Reply Last reply Reply Quote 0
                          • justjim1220J Offline
                            justjim1220 Module Developer @Guest
                            last edited by

                            @sean

                            I’m not sure what I may have done wrong, but it’s not showing the current amount of likes that my page has…

                            Page says this: Total Page Likes as of Today: 574

                            MMM-fbPageCounter shows: 0

                            would you be able to help me figure out what the problem is?

                            "Life's Too Short To Dance With Ugly People"
                            Jim Hallock - 1995

                            1 Reply Last reply Reply Quote 0
                            • H Offline
                              Hellonoonan
                              last edited by

                              I cant even get by step 2. I get this error

                              {“access_token”:“EAAE2ASglvOABADkkXv4DXzN0BNIGSbEpfcPk9ZBLtZAZBSgh1pgKueD0ZBbpw9jio4dzeTYpIkVkZBhwByiCe68eE9TuiSaHN1KNxiMDN5tdodeRjMyHUCTBoGwZBTBFk347mXfff3v6Xnk84uZBV9ZAjLtkqlPIFmoZD”,“token_type”:“bearer”,“expires_in”:5184000}

                              any idea what Im doing wrong?

                              justjim1220J 1 Reply Last reply Reply Quote 0
                              • justjim1220J Offline
                                justjim1220 Module Developer @Hellonoonan
                                last edited by

                                @hellonoonan

                                this is the token you need for the next step…

                                EAAE2ASglvOABADkkXv4DXzN0BNIGSbEpfcPk9ZBLtZAZBSgh1pgKueD0ZBbpw9jio4dzeTYpIkVkZBhwByiCe68eE9TuiSaHN1KNxiMDN5tdodeRjMyHUCTBoGwZBTBFk347mXfff3v6Xnk84uZBV9ZAjLtkqlPIFmoZD

                                "Life's Too Short To Dance With Ugly People"
                                Jim Hallock - 1995

                                H 1 Reply Last reply Reply Quote 0
                                • H Offline
                                  Hellonoonan @justjim1220
                                  last edited by

                                  @justjim1220 I think I may have gotten the info I need. What files do I need to change? Sorry I have no clue what Im doing. I added the code to the config.js file but it doesnt come up. Are there other files I need to alter?

                                  Thanks

                                  justjim1220J 2 Replies Last reply Reply Quote 0
                                  • justjim1220J Offline
                                    justjim1220 Module Developer @Hellonoonan
                                    last edited by

                                    @hellonoonan

                                    shouldn’t be, you just need to make sure you put in the correct tokens and codes in the right places.

                                    Did you go all the way through the steps?

                                    The last output should look something like this…

                                    {
                                       "data": [
                                          {
                                             "access_token": "ABCDEFGHIJKLMNOPQRSTUVWXYZ123567890987654321ABCDEFGHIJKLMNOPQRSTUVWXYZ123567890987654321ABCDEFGHIJKLMNOPQRSTUVWXYZ123567890987654321ABCDEFGHIJKLMNOPQRSTUVWXYZ123567890987654321ABCDEFGHIJKLMNOPQRSTUVWXYZ123567890987654321",
                                             "category": "Computer Repair Service",
                                             "category_list": [
                                                {
                                                   "id": "123567890987654321",
                                                   "name": "Computer Repair Service"
                                                },
                                                {
                                                   "id": "123567890987654321",
                                                   "name": "Business Service"
                                                },
                                                {
                                                   "id": "123567890987654321",
                                                   "name": "Business Service"
                                                }
                                             ],
                                             "name": "Hallock Technical Services",
                                             "id": "123567890987654321",
                                             "tasks": [
                                                "ANALYZE",
                                                "ADVERTISE",
                                                "MODERATE",
                                                "CREATE_CONTENT",
                                                "MANAGE"
                                             ]
                                          }
                                       ],
                                       "paging": {
                                          "cursors": {
                                             "before": "NDAxxxxxxxxxxxxxxxxxxxx",
                                             "after": "NDAxxxxxxxxxxxxxxxxxxxx"
                                          }
                                       }
                                    }
                                    

                                    You need the access_token & the LAST “id” from this data…

                                    For example:

                                    {
                                    			disabled: false,
                                    			module: "MMM-fbPageCounter",
                                    			header: "Hallock Technical Services",
                                    			position:"bottom_left",
                                    			config: {
                                    				access_token: "ABCDEFGHIJKLMNOPQRSTUVWXYZ123567890987654321ABCDEFGHIJKLMNOPQRSTUVWXYZ123567890987654321ABCDEFGHIJKLMNOPQRSTUVWXYZ123567890987654321ABCDEFGHIJKLMNOPQRSTUVWXYZ123567890987654321ABCDEFGHIJKLMNOPQRSTUVWXYZ123567890987654321",
                                    				page_id: "123567890987654321",
                                    				refresh_interval_sec: 12, //minimum 10. If your daily visitors of page are under 10, use 30 as this value.
                                    				size: "huge"
                                    			}
                                    		},
                                    

                                    Hope this helps!

                                    "Life's Too Short To Dance With Ugly People"
                                    Jim Hallock - 1995

                                    H 1 Reply Last reply Reply Quote 0
                                    • justjim1220J Offline
                                      justjim1220 Module Developer @Hellonoonan
                                      last edited by

                                      @hellonoonan

                                      This is what I meant by the LAST “id”

                                      from this section:

                                      "name": "Hallock Technical Services",
                                               "id": "123567890987654321",
                                               "tasks": [
                                                  "ANALYZE",
                                                  "ADVERTISE",
                                                  "MODERATE",
                                                  "CREATE_CONTENT",
                                                  "MANAGE"
                                      

                                      "Life's Too Short To Dance With Ugly People"
                                      Jim Hallock - 1995

                                      1 Reply Last reply Reply Quote 0
                                      • H Offline
                                        Hellonoonan @justjim1220
                                        last edited by

                                        @justjim1220 I did not get that. I keep getting errors. Ive only been able to get the basic magic mirror modules to work by help forums and copy/paste. This is beyond my knowledge. Honestly Id rather venmo you like $10 to do this for me haha. It seems like its easy for those who know what theyre doing but I dont.

                                        I have the screen up in my office similar to what the OP shows (without any mirror) just as an information screen and I think this would be a nice touch to boost social media presence.

                                        Any interest in taking on the job?

                                        justjim1220J 2 Replies Last reply Reply Quote 1
                                        • justjim1220J Offline
                                          justjim1220 Module Developer @Hellonoonan
                                          last edited by

                                          @hellonoonan

                                          I sent you a chat message

                                          "Life's Too Short To Dance With Ugly People"
                                          Jim Hallock - 1995

                                          1 Reply Last reply Reply Quote 0
                                          • justjim1220J Offline
                                            justjim1220 Module Developer @Hellonoonan
                                            last edited by

                                            @hellonoonan

                                            Not sure what venmo is, but no need to send money!

                                            "Life's Too Short To Dance With Ugly People"
                                            Jim Hallock - 1995

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy