abhinav-maheshwari / sharepoint-facebook-wall

Automatically exported from code.google.com/p/sharepoint-facebook-wall
0 stars 0 forks source link

from intranet site #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

I am using this on intranet based web application, i need to know 

my site url is this http://win-4p4gdpj6aka  so what should be site domain? 

could you tell me something about how can we use this for intranet based site.

What steps will reproduce the problem?
1. http://win-4p4gdpj6aka
2.
3.

What is the expected output? What do you see instead?
facebook wall webpart is working fine, but facebook write on wall not working.

What version of the product are you using? On what operating system?
3.1  sharepoint 2010, windows server 2008 R2

Please provide any additional information below.

Original issue reported on code.google.com by shahze...@gmail.com on 27 May 2011 at 2:41

GoogleCodeExporter commented 9 years ago
your site domain would be the one where you are going to host the site in 
future.
for now you can use a temporary domain name and add it in your hosts file.

The URL that you are using in step 3 should be same in webpart configurations. 
You can use following url for this purpose
http://www.facebook.com/connect/login_success.html 

Original comment by niting@brickred.com on 27 May 2011 at 5:20

GoogleCodeExporter commented 9 years ago

Original comment by niting@brickred.com on 27 May 2011 at 5:21

GoogleCodeExporter commented 9 years ago
It will be an intranet based not internet based so for intranet what domain i 
should use for intranet if i use my current site name http://QlngPortal  
facebook dont accept this its says please enter correct URL and domain name.

Please note : If i post some thing on sharepoint intranet portal i can see my 
post on my own facebook wall?  

Original comment by shahze...@gmail.com on 28 May 2011 at 7:46

GoogleCodeExporter commented 9 years ago
Hi,

In order to use this on the intranet based application, you will need to give 
it an alias. For eg., for our intranet based site, the alias that we have given 
to the application is http://tsg.brickred.com  and have specified 
http://tsg.brickred.com in the site url field while registering the 
application. You can also see the same in our 'Install and Use' page.

For testing purposes i.e. for testing the webpart on the local dev environment, 
you can specify the site url as 'http://localhost' and leave the site domain 
field as blank.Facebook will validate this url correctly and you'll be able to 
write on your wall from your dev environment using this app's client id and 
secret.

To answer the second part of your question, the 'write on wall' webpart will 
write on that user's wall with which the application has been registered on 
facebook. For e.g. if you are registering the application on facebook logged in 
as 'Tsg Brickred', and using this application's client id and secret in the 
facebook write on wall webpart,then anything you post will be posted on the 
wall for the user 'Tsg Brickred'.

Original comment by bhav...@brickred.com on 1 Jun 2011 at 10:43

GoogleCodeExporter commented 9 years ago
thanks for your reply

Dears

The remote server returned an error: (400) Bad Request.Object reference not set 
to an instance of an object.  

I can not read my page wall i have given page id tried a lot but still giving 
me this error. any idea about this

Thanks

Original comment by shahze...@gmail.com on 4 Jun 2011 at 1:50

GoogleCodeExporter commented 9 years ago
Kindly help me in this, my wall was working fine, suddenly its started to given 
this error

The remote server returned an error: (400) Bad Request.Object reference not set 
to an instance of an object.  

i tried it in different network in office and home, every where its giving me 
same error.

thanks in advanced

Original comment by shahze...@gmail.com on 4 Jun 2011 at 4:26

GoogleCodeExporter commented 9 years ago

here is error.

Original comment by shahze...@gmail.com on 4 Jun 2011 at 4:29

Attachments:

GoogleCodeExporter commented 9 years ago
I am also facing the same issue while reading the feeds for any user ID
ERROR- "The remote server returned an error: (400) Bad Request.Object reference 
not set to an instance of an object."
It was working perfectly few days back (2-3days)

Original comment by abhishek...@gmail.com on 7 Jun 2011 at 8:41

GoogleCodeExporter commented 9 years ago
Hi,
Can you please share the userid/page id that you are using to get the wall 
updates.?

Thanks,
Bhavya

Original comment by bhav...@brickred.com on 8 Jun 2011 at 5:39

GoogleCodeExporter commented 9 years ago
Hi ,

We have updated the code to fix this problem and have uploaded new versions of 
this webpart 'sharepoint-2010-facebook-wall-3.2.zip' and 
'sharepoint-2007-facebook-wall-3.1.zip'.You can find the latest versions in the 
downloads section.There is some more configuration that you will need to do for 
'Show wall' webpart.This configuration is mentioned in the 'Install and use' 
wiki page.

Original comment by bhav...@brickred.com on 9 Jun 2011 at 5:17

GoogleCodeExporter commented 9 years ago
here is my page id.

page id = 151883874882610

Page Id = 220534571297898

Original comment by shahze...@gmail.com on 11 Jun 2011 at 10:28

GoogleCodeExporter commented 9 years ago
Hi Shahzeb,

The design for this webpart has changed based on the latest updates in the 
facebook API.Please download and install the latest solution that we have 
uploaded.

Once you have done that, you will need to use facebook as this page (the page 
ids that you have mentioned.) and give the facebook application rights to read 
posts from your page.

To use facebook as page,Log in to facebook,click on 'Account'->'Use facebook as 
page'.Remember,you need to be the admin of the page to do this.

This will display a list of your facebook pages.Now select the page with which 
you want to use facebook and click 'Switch'.

After this, you need to allow the application access to read posts from your 
page by going to url:  
https://graph.facebook.com/oauth/authorize?client_id=<Your_App_Client_ID>&redire
ct_uri=http://www.facebook.com/connect/login_success.html&scope=read_stream
(Please substitute 'Your_App_Client_ID' with the client id of your 
application.This is mentioned in step 3 on our 'Install and use' page).

Once you have done this, you will need to take the code generated and provide 
it as the value of the 'code' property for the 'Show wall' webpart to get all 
posts for this page showing up.

Please perform these steps and let me know the results.

Thanks,
Bhavya

Original comment by bhav...@brickred.com on 13 Jun 2011 at 6:26

GoogleCodeExporter commented 9 years ago
Please let us know if this issue is resolved?

Original comment by tsg.bric...@gmail.com on 20 Jul 2011 at 10:19

GoogleCodeExporter commented 9 years ago
I am still receiving the below error with the webpart 
sharepoint-2010-facebook-wall-3.2.zip. We were already using this webpart 
successfully when the error cropped up. Do you have any suggestions on what I 
can try to resolve this issue?

ERROR- "The remote server returned an error: (400) Bad Request.Object reference 
not set to an instance of an object."

Original comment by anuj.gup...@gmail.com on 12 Aug 2011 at 1:09

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi All
I had the same problem after this part had been working for a long time:
ERROR- "The remote server returned an error: (400) Bad Request. Object 
reference not set to an instance of an object."

I went through the process or reinstalling the whole app but it turned out that 
for some reason my Facebook app that had been created as part of the install 
had disappeared?? Anyway I followed the install guide, recreated the app on 
Facebook and put the new data in the web part. It is now working again. Hope 
this helps others..

Regards Steve

Original comment by Stephen....@gmail.com on 16 Aug 2011 at 7:05

GoogleCodeExporter commented 9 years ago
Hi Anuj,
Could you please check if reconfiguring the webpart solves your problem and 
make sure you use the same URL in getting the token and in webpart properties

Original comment by tsg.bric...@gmail.com on 19 Sep 2011 at 12:52

GoogleCodeExporter commented 9 years ago
One thing that work for us was placing https: 
https://www.facebook.com/connect/login_success.html for the urls. That seemed 
to work for us.

Original comment by gearth...@gmail.com on 20 Oct 2011 at 7:53

GoogleCodeExporter commented 9 years ago
great!!!. Let us know if you face any issues in future for the same.

Original comment by niting@brickred.com on 28 Nov 2011 at 6:01

GoogleCodeExporter commented 9 years ago
H Niting,

I am using version3.3,i amgetting error like The remote server returned an 
error: (404) Not Found.Object reference not set to an instance of an object.so 
can you help on this.

Thanks
venkat

Original comment by lathaven...@gmail.com on 15 Dec 2011 at 6:36