Facebook has just erased the reason for this plugin to exist:
It's bullshit to call it "Operation developer love", but what can you do... Hopefully they will see their mistake and revert it.
Graph API PROFILE_ID/feed and PROFILE_ID/posts now requires access_token
As stated last week, the Graph API PROFILE_ID/feed/ for a Page, Application, User or Group and PROFILE_ID/posts for a Page or User now requires a valid access_token to access the wall or posts of the corresponding object (where previously no access_token was required). This also affects direct FQL queries to the stream table, when querying for posts on a wall.
Facebook has shut down the possibility to extract wall posts without an access token. This means that whoever wants to see a certain feed needs to be logged in to facebook. So even though you set your permissions for your wall posts in your facebook account to be public, they will not be public through the graph api (which this package is using).
I think this is affecting a lot of people who were using it, so hopefully fb will realize that it was a mistake and revert the update.
I have modified the JS file for my app and added an ashx to get access_token. I dont know how can i update the whole package so that ppl can install it with the fix.
Summary:
Login to developers.facebook.com with the master account of your page/app. Create an app (even dummy app can help). Then you can be able to see app details ( App Id, API key, App Secret, Site URL etc) we need these to get access token.
facebook generates access token session wise so we need a mechanism to get access token every time. We have to use the following URL ( with our values ) to get the access token.
Is there a new version of the facebook status now? Or some slightly more detailed instruction on how to get this working. What's the ashx file?
I have downloaded the package and have the login details for (the cutomers) facebook page. I just need to display statuses on their company website. Just a list of the last 4 or 5 posts. If any of you can help, that'd be most appreciated.
Thanks a lot for your activity on this package. I haven't had any time to work on it myself and feel pretty bad about it. I opened the project for collaboration, and would love you to take over for me if you're interested.
Facebook access token issue
Hi, I really like your component. Because of some changes from Facebook, it has stopped working. Could you please help in this regards, thanks
Hi Moazzam
I have deleted your other post - please don't double post it can possibly create to much unwanted confusion :-)
Do you know what Facebook has changed that might be the cause of this plugin not working anymore?
/Jan
Facebook has just erased the reason for this plugin to exist:
It's bullshit to call it "Operation developer love", but what can you do... Hopefully they will see their mistake and revert it.
Graph API PROFILE_ID/feed and PROFILE_ID/posts now requires access_token
As stated last week, the Graph API PROFILE_ID/feed/ for a Page, Application, User or Group and PROFILE_ID/posts for a Page or User now requires a valid access_token to access the wall or posts of the corresponding object (where previously no access_token was required). This also affects direct FQL queries to the stream table, when querying for posts on a wall.
https://developers.facebook.com/blog/
Permalink to the blog post: https://developers.facebook.com/blog/post/510/
Thanks Frej for the above info.
Yes Jan, thats the issue explained above. Please have a look at the above links.
Could some please post the exact steps to fix this issue. I didnt really get much wiser by reading the above.
Any help appreciated
Have any body found a solution?
Currently there is no solution.
Facebook has shut down the possibility to extract wall posts without an access token. This means that whoever wants to see a certain feed needs to be logged in to facebook. So even though you set your permissions for your wall posts in your facebook account to be public, they will not be public through the graph api (which this package is using).
I think this is affecting a lot of people who were using it, so hopefully fb will realize that it was a mistake and revert the update.
Hi Frej
I have fixed it and now this plugin is working fine for me.
How can i supply you the files? or should i explain here the fix and you can update the plugin accordingly?
Thanks
Muhammad
Hi Muhammad,
Wow, I'd love to see how you managed that!
Can you post a link to a working example? Preferably on the package home page: http://raahede.com/projects/umbraco/facebook-status-feed.aspx. I'd rather not share my email in an open forum :-)
Hi Fre
I have modified the JS file for my app and added an ashx to get access_token. I dont know how can i update the whole package so that ppl can install it with the fix.
Summary:
Login to developers.facebook.com with the master account of your page/app.
Create an app (even dummy app can help). Then you can be able to see app details ( App Id, API key, App Secret, Site URL etc) we need these to get access token.
facebook generates access token session wise so we need a mechanism to get access token every time. We have to use the following URL ( with our values ) to get the access token.
It generates token like this
and then we can use this access token for the feed
var feedUrl = 'https://graph.facebook.com/' + facebookId + '/feed?access_token=' + accessToken;
To process the URL to get the feed, I am using json.ashx.
Kindly get these files from here.
http://miangeetraders.com/FBStatusFeed.js
http://miangeetraders.com/json.zip
Hope you can make this fix to the plugin or you can use my idea and come with a better way to do the same thing. :-)
Regards
Muhammad
Hi Frej & Muhammad,
Is there a new version of the facebook status now? Or some slightly more detailed instruction on how to get this working. What's the ashx file?
I have downloaded the package and have the login details for (the cutomers) facebook page. I just need to display statuses on their company website. Just a list of the last 4 or 5 posts. If any of you can help, that'd be most appreciated.
Thanks,
Sam.
I've actually done it a bit differently
And then sent it thorugh feedburner.com
and then displayed the rss feed in umbraco with:
<xsl:variable name="facebook">http://feeds.feedburner.com/yourfeed</xsl:variable>
<xsl:variable name="rssfeed" select="umbraco.library:GetXmlDocumentByUrl($facebook, 50000)" />
<ul id="facebookfeed">
<xsl:apply-templates select="$rssfeed//item" />
</ul>
Thanks Claushingebjerg,
That seems interesting. How do you get the values for the url for the status updates?
Have you got a workign example I can have a nosey at??
Thanks,
Sam.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> ]>
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxml="urn:schemas-microsoft-com:xslt"
xmlns:umbraco.library="urn:umbraco.library" xmlns:Exslt.ExsltCommon="urn:Exslt.ExsltCommon" xmlns:Exslt.ExsltDatesAndTimes="urn:Exslt.ExsltDatesAndTimes" xmlns:Exslt.ExsltMath="urn:Exslt.ExsltMath" xmlns:Exslt.ExsltRegularExpressions="urn:Exslt.ExsltRegularExpressions" xmlns:Exslt.ExsltStrings="urn:Exslt.ExsltStrings" xmlns:Exslt.ExsltSets="urn:Exslt.ExsltSets" xmlns:tagsLib="urn:tagsLib" xmlns:BlogLibrary="urn:BlogLibrary"
exclude-result-prefixes="msxml umbraco.library Exslt.ExsltCommon Exslt.ExsltDatesAndTimes Exslt.ExsltMath Exslt.ExsltRegularExpressions Exslt.ExsltStrings Exslt.ExsltSets tagsLib BlogLibrary ">
<xsl:output method="xml" omit-xml-declaration="yes"/>
<xsl:param name="currentPage"/>
<xsl:template match="/">
<xsl:variable name="facebook">http://feeds.feedburner.com/Ceramicspeed</xsl:variable>
<xsl:variable name="rssholstebro" select="umbraco.library:GetXmlDocumentByUrl($facebook, 50000)" />
<xsl:if test="$currentPage/ancestor-or-self::* /@id = 1375">
<ul id="facebookfeed">
<li><a href="http://www.facebook.com/pages/CeramicSpeed/198535013526569"><img src="/css/img/facebook.jpg" /></a></li>
<xsl:apply-templates select="$rssholstebro//item" />
</ul>
</xsl:if>
</xsl:template>
<xsl:template match="item">
<xsl:if test="position() <= 3">
<li>
<p>
<a href="{link}" target="_blank" title="{title}">
<span><xsl:value-of select="substring (pubDate, 1, 16)"/></span><br/>
<xsl:value-of select="substring (title, 1, 100)" disable-output-escaping="yes"/>... <nobr><b>Read more »</b></nobr>
</a>
</p>
</li>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
lol, sorry, by 'working example' I meant a link to your website or wherever you've got this feed up and running ;)
Also a bit confused with 'your_facebook_id' and 'your_friends_key' and how you get those values.
Just wanted to see it in action.
Sam.
http://ceramicspeed.com/sport
Looks great, works well, and nice website too! Seems a possible alternative to the status feed javascript :)
Sam.
Hi Muhammad,
Thanks a lot for your activity on this package. I haven't had any time to work on it myself and feel pretty bad about it. I opened the project for collaboration, and would love you to take over for me if you're interested.
Cheers,
Frej
is working on a reply...