|
Comments and Discussions
|
|
Hi
I download the source code and install it my site, but i dont know and what should i do for setting properties. is there any document for help?
be regards
|
|
|
|
|
Source code can't be download. let me tell you how can i get the orginal source code.When i am click download source code option that opened page will come blank.
I am learner
|
|
|
|
|
Source code can't be download. let me tell you how can i get the orginal source code.
I am learner
|
|
|
|
|
This version includes many changes like header and UI changes and two more webparts LikeBox and LikeButton.
http://code.google.com/p/sharepoint-facebook-wall
|
|
|
|
|
where can i find the files for writeonwall ?
Error occurred in deployment step Error: Cannot find this file specified in the manifest file: BrickRed.WebParts.Facebook.Wall_Feature\WriteOnWall\Elements.xml
Maparicio
|
|
|
|
|
This isn't included in the downloaded folder, you need to remove the item from the Feature.Template.xml file. For find the source for WriteOnWall.
|
|
|
|
|
One thing i was not able to understand, without accesstoken how can we get teh feeds.Guide me on this....
B'coz its throwing error when ever i try to hit Graph.facebook.com/user_ID/Feed
|
|
|
|
|
Hi,
This article is nice.
I am looking for like and comment features for shared message on wall similarly like facebook. so how should i implement that.
please help me on this.
|
|
|
|
|
Thanks Nisha.
Both of your requirements can be done through Facebook Javascript SDK. In fact, Facebook even provides you a UI for generating the code of like button. You can either print this HTML inside the webpart by using code, or directly paste the HTML into your SharePoint template.
http://developers.facebook.com/docs/reference/plugins/like/[^]
Warm regards,
Abhinav
|
|
|
|
|
Hey abhinav thanx for immediate reply.
your help is really appreciated.
i want, Post comment in sharepoint site (on any page)and 'comment' and 'like' for that post in sharepoint only. so how can i do this. facebook kind of implementation.
Blogs are their to create and manage as well as comment. but i want similarly like facebook.
help me. quite new in this field.
|
|
|
|
|
|
1. Now you can read and write on a page/wall
2. Rich media (pictures, videos, and links) content support
http://code.google.com/p/sharepoint-facebook-wall/
|
|
|
|
|
Has anybody seen this issue? I can access a client's Facebook wall anonymously via: http://www.facebook.com/<UserName>. However, when I set the Facebook web part username property value to that username, I get the following error:
The given key was not present in the dictionary.
The weirdest part is that I SWEAR this was working fine yesterday, and when I test it with other Facebook ID's and usernames, it works fine. I've tried uninstalling and deleting the feature and re-adding it back in, but same behavior. Any suggestions?
Thanks!
|
|
|
|
|
Thanks for sharing such a wonderful article.
|
|
|
|
|
I tried to use it but I got the error after adding the webpart in my site : The remote server returned an error: (403) Forbidden.Object reference not set to an instance of an object.
the solution is :-
you have to use USERID like "100001447632466" instead of your username like "someone@yourdomain.com". hope this might helps
another thing to note is
actually this webpart shows your text updates only. if you have images then this webpart stops functioning. so to check its functioning ,you should add some text comments and set the wall count property to that number then(say you have added 3 status updates,then set wall count=3) , i think you will be able to see it in action
Thanks
Devang
|
|
|
|
|
Thanks a lot Devang, for your valuable feedback. You are indeed correct about the userid, we are checking about the images and will update.
Warm regards,
Abhinav Maheshwari
|
|
|
|
|
foreach (JSONObject feed in feeds)
{
if (i < this.WallCount)
{
tr = new TableRow();
mainTable.Rows.Add(tr);
tc = new TableCell();
tc.CssClass = "ms-vb2";
tc.Width = Unit.Percentage(30);
tc.Text = feed.Dictionary["message"].String;
tr.Cells.Add(tc);
if (i % 2 != 0)
{
tr.CssClass = "ms-alternatingstrong";
}
tr = new TableRow();
tc = new TableCell();
tc.CssClass = "ms-vb2";
if (this.EnableShowDesc)
{
mainTable.Rows.Add(tr);
tc.Text = relativeTime(feed.Dictionary
["created_time"].String.ToString());
tc.Style.Add("color", "Gray");
tr.Cells.Add(tc);
if (i % 2 != 0)
{
tr.CssClass = "ms-alternatingstrong";
}
}
}
else
{
break;
}
i++;
}
you can replace this with
foreach (JSONObject feed in feeds)
{
if (i < this.WallCount)
{
tr = new TableRow();
mainTable.Rows.Add(tr);
tc1 = new TableCell();
tc1.CssClass = "ms-vb2";
try
{
if (feed.Dictionary["message"] != null)
{
tc1.Text = feed.Dictionary["message"].String;
tc1.ColumnSpan = 2;
tr.Cells.Add(tc1);
}
}
catch (Exception ex)
{
Image image = new Image();
image.ImageUrl = feed.Dictionary["picture"].String;
tc1.Attributes.Add("style", "width:10%");
tc1.Controls.Add(image);
tc2 = new TableCell();
tc2.Text = feed.Dictionary["name"].String;
tr.Cells.Add(tc1);
tr.Cells.Add(tc2);
}
if (i % 2 != 0)
{
tr.CssClass = "ms-alternatingstrong";
}
tr = new TableRow();
tc1 = new TableCell();
tc1.CssClass = "ms-vb2";
if (this.EnableShowDesc)
{
mainTable.Rows.Add(tr);
tc1.Text = relativeTime(feed.Dictionary["created_time"].String.ToString());
tc1.Style.Add("color", "Gray");
tc1.ColumnSpan = 2;
tr.Cells.Add(tc1);
if (i % 2 != 0)
{
tr.CssClass = "ms-alternatingstrong";
}
}
}
else
{
break;
}
i++;
}
i think you can optimize this, but it serves my needs.
|
|
|
|
|
above posted code will work if you have images in your facebook wall.
and 1 more change required as shown below.
TableCell tc1;
TableCell tc2;
you have to add this 2 lines instead of this line
TableCell tc;
|
|
|
|
|
Hi Devang,
We really appreciate your contribution to the article and code. We would like to list your name in the contributors list of our google code project. Please provide your email id so that we can add you in the contributors list and then you can directly extend the existing code if desired.
Regards,
Nitin Gupta
|
|
|
|
|
Hi Nitin,
I am glad that i have been helpful.
it is dev4ever at gmail dot com.
Thanks
Devang
modified on Wednesday, March 23, 2011 2:56 AM
|
|
|
|
|
|
General News Suggestion Question Bug Answer Joke Praise Rant Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.
|
|