I would think that simply removing the token from the Data Type, saving it and then reloading it would give you the option to make a new authentication with new credentials.
If this doesn't work you might need to go to your own Facebook account and remove the UMP application from your list of approved applications.
It worked but another thing i bumped into was this(sorry for asking so many questions :) )
I now have a buisness user with only one thing on, and thats the company "facebook page". But still though i Auth it its not the company page that gets authed but my non eixsting buisness "profile".
So when I click on the facebook I go to the company page but when i click "settings" i get my profile settings which is like "payments, advertising, security, applications".
If i go into the settings of the company page UMP is not authed. Im no facebook shark but finds facebooks way of handling this kinda messy.
I uploaded version 1.2 of the Facebook Provider to the projects page. In the configuration of the data type is an optional field for User Id, which you can use to input the id of the Facebook Fan page you want to pick images from.
I tested it using my own private account for authentication and got a token, which also works with a fan page I have created. Adding the user id of the fan page will allow me to pick images from the fan page albums instead of my own personal account.
It is possible to do, but a bit cumbersome to implement.
I have done a similar implementation for the Flickr provider, so I could probably also do it for the Facebook provider, but first problem is to find the necessary time ;)
Yea, documentation is always the most boring part of creating packages :-O
The example xslt file assumes that it is created as a Macro with a single parameter "field". In this Macro parameter you write the name of the property of the FB Picker data type. So i.e. if you have a document type with the fb picker as a property called "fb image picker" - the alias of this property is what you would write in the macro parameter.
fb picker, cant seem to get off my account
Ey .. again :)
Ive finally gotten an account that is only the company account and so on.
But now i cannot seem to get off my own account.
Ive tried reinstalling it from bottom up.
Trying other browsers(if it should be standard facebook session based)
But even after that i cannot seem to get it off. Is it bound to our "api key" i create when i create the data type?
And how do I reset it ?
I would think that simply removing the token from the Data Type, saving it and then reloading it would give you the option to make a new authentication with new credentials.
If this doesn't work you might need to go to your own Facebook account and remove the UMP application from your list of approved applications.
Let me know if it works.
- Morten
Ill try it out :)
It worked but another thing i bumped into was this(sorry for asking so many questions :) )
I now have a buisness user with only one thing on, and thats the company "facebook page". But still though i Auth it its not the company page that gets authed but my non eixsting buisness "profile".
So when I click on the facebook I go to the company page but when i click "settings" i get my profile settings which is like "payments, advertising, security, applications".
If i go into the settings of the company page UMP is not authed. Im no facebook shark but finds facebooks way of handling this kinda messy.
Yeah, thats a bit strange. I was sure that was the way to do it :-S
I will make it possible to switch the personal album query to a company / fanpage album query.
- Morten
You are my hero :) Alot of thanks Morten high five from ASAP i got karma enough for it :)
Hi Rasmus,
I uploaded version 1.2 of the Facebook Provider to the projects page. In the configuration of the data type is an optional field for User Id, which you can use to input the id of the Facebook Fan page you want to pick images from.
I tested it using my own private account for authentication and got a token, which also works with a fan page I have created. Adding the user id of the fan page will allow me to pick images from the fan page albums instead of my own personal account.
Try it out ;)
- Morten
That is so awesome Morten :) Thanks so much. !
Another thing while we are at it : )
Could u make it so it could a folder/album instead of just a single image? or is that a restriction from UMP or facebook it self ?
It is possible to do, but a bit cumbersome to implement.
I have done a similar implementation for the Flickr provider, so I could probably also do it for the Facebook provider, but first problem is to find the necessary time ;)
- Morten
Okay good to know it possible and ofc time can be hard to find sometimes for these things :)
It dosnt seem like im getting any data in the XML :
I have selected an image on a page from the buisness that works.
When i go into the "[UMP]FacebookExample.xslt" and try to vizualize it on the page i get nothing.
Do i have to change something in the example to get something out ? :)
Im askin cause I couldnt find any doc yet(gussin' its the same issue with time again :) )
Yea, documentation is always the most boring part of creating packages :-O
The example xslt file assumes that it is created as a Macro with a single parameter "field". In this Macro parameter you write the name of the property of the FB Picker data type. So i.e. if you have a document type with the fb picker as a property called "fb image picker" - the alias of this property is what you would write in the macro parameter.
Makes sense?
- Morten
Jup i got it working thx :)
is working on a reply...