Read the statement by Michael Teeuw here.
MMM-fbPageCounter
-
@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
-
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!
-
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"
-
@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?
-
I sent you a chat message
-
Not sure what venmo is, but no need to send money!
-
here’s what mine looks like…
-
@Sean thanks you for your module, many steps to follow for final result but… wonderful effect!
-
I know this is an old thread but I am back again having issues. It stopped working for me and Ive been able to get all codes to work up until the permanent code. When I do this it only says data and nothing else.
Shown below. I never get a permanent access code. Even with the long live one my counter is still at zero.
{
“data”: []
}Please help! and thank you