Jump to content

New Plugin - Facebook


chef

Recommended Posts

chef

This plugin will post likes and watch information to a Facebook page.

 

This plugin will not post data to a person Facebook page, it will post to a page you create (either a business page or personal)

Note: Please let me know if I have completely bumbled the instructions below.

 

Step One:

 

Create the page from your Facebook Account:

 

5e8243c8b5b1b_stepone.png

 

 

5e8243dad8ac1_steptwo.png

 

 

 

Step two:

 

Once the page is set up you can open the plugin settings, and select the link to go to Facebook API setup.

 

5e824408829cc_stepthree.png

 

Step three:

 

5e8244af717bc_stepfour.png

The page above will ask you to login and link your account.

 

 

1. Select the follow permissions:

 

manage_pages

publish_pages

 

2. Under "User or Page" select the page that you have created

 

3. Press the "Generate Access Token" button.

 

 

This Access token (API Key) will only last a couple hours! This is not good enough!

 

We want a token that will never expire!

 

To do this we want follow these steps:

 

1.  Select the blue button beside your access token:

 

5e8245c6953a7_step5.png

 

2. Select "Open In Access Token Tool":

 

5e824633bb8dd_step6.png

 

3. Select "Extended Access Token"

 

5e82467fec678_step7.png

 

This will create an access token that will last 6 months, but that is still not good enough! We want an never ending Token.

 

3. Select the "Debug" button at the bottom of your screen:

 

5e82472478e43_step8.png

 

4. There is our access token that never expires!

 

5e824789a881f_step9.png

 

5. Copy and paste that into the Plugin Configuration Page and Press the Save button.

 

 

 

This is a beta plugin.

 

 

What the Page will do!

 

 

5e82483cb69ac_step10.png

 

 

 

5e82486dd8398_step11.png

 

 

 

 

 

DOWNLOAD : Facebook.zip

 

 

Someone asked me to create this a while ago. There it is.

 

 

Note: The Facebook API Access Token can get a little messy. Just make sure that you have choosen your 'page' as the recipient of the Access Token.

 

The Facebook API will not allow any Posts from the API rto personal pages without a Registered App, which I have already requested permissions top get, but because of COVID 19 it might take a while to get it registered.

 

If this is interesting to anyone, I'll continue development and try to make things easier. 

Edited by chef
  • Like 2
Link to comment
Share on other sites

chef

Looks neat. Just to confirm, you could probably also do this via webhooks right?

 

Yes, You can absolutely do this with webhooks

 

The URLs that are important are:

 

 graph.facebook.com/me/photos?   

 

url={EMBY_URL_IMG}&message={YOUR_MESSAGE}&access_token={YOUR_ACCESS_TOKEN}

Edited by chef
Link to comment
Share on other sites

tvboxverema

Buenas esta guapo hay codigo fuente para poder echarle un vistazo?

es que he puesto el dll y no me lo detecta emby

 

gracias

 

Hi, is this handsome, is there a source code to take a look?
 
is that I have put the dll and it does not detect it emby
 
 
 
thanks
Link to comment
Share on other sites

rechigo

Buenas esta guapo hay codigo fuente para poder echarle un vistazo?

es que he puesto el dll y no me lo detecta emby

 

gracias

 

Hi, is this handsome, is there a source code to take a look?

 

is that I have put the dll and it does not detect it emby

 

 

 

thanks

https://github.com/chefbennyj1/Emby.Facebook

 

What was the path to the folder you put the plugin dll in?

 

Sent from my SM-G973U using Tapatalk

Link to comment
Share on other sites

chef

I've updated the plugin on Github. You can now choose which users should be adding information to the facebook page. I suppose it is the proper thing to do, to have users opt out of public data posted on social media.

 

I also added a scheduled task that will run once a week and add a newly added media list to the page.

Link to comment
Share on other sites

tvboxverema
Buenas consegui que saliera el plugin, error mio, me surge un problema pa sacar el id, ya que dice la pagina de tengo que crear una app? tengo que hacerla y de que manera?
gracias
 
 
Good I got the plugin to come out, my mistake, I have a problem to get the id, since it says the page I have to create an app? I have to do it and in what way?
thanks
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...