facebook-java-sdk

Is there an up-to-date Facebook Java SDK? [closed]

帅比萌擦擦* 提交于 2020-01-01 04:50:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I can't seem to find one that's been updated recently. If none, is there a good Java library for doing the necessary signature verification, base64 decoding, etc operations needed to interact with Facebook's API? UPDATE : I'm using Spring Social Facebook to aid in working with Facebook. It doesn't handle

How can i get access_token and then use it?

不羁的心 提交于 2019-12-07 18:33:35
问题 In my web application i want users to login with their facebook account. I am doing it by redirecting url. response.sendRedirect("http://www.facebook.com/dialog/oauth/?scope=email,user_about_me&dispplay=popup&client_id={app_id}&redirect_uri=http://example.com/index.jsp&response_type=token"); At index.jsp i am getting access_token in url. But in request there is no access token. how can i get access token here and then fetch user email. url at index.jsp looks like this: http://example.com

How can i get access_token and then use it?

泪湿孤枕 提交于 2019-12-06 11:44:37
In my web application i want users to login with their facebook account. I am doing it by redirecting url. response.sendRedirect("http://www.facebook.com/dialog/oauth/?scope=email,user_about_me&dispplay=popup&client_id={app_id}&redirect_uri=http://example.com/index.jsp&response_type=token"); At index.jsp i am getting access_token in url. But in request there is no access token. how can i get access token here and then fetch user email. url at index.jsp looks like this: http://example.com/index.jsp#access_token={access_token} Thanks in advance. I actually just got this working in my JSP project

facebook real time update in java example

不羁的心 提交于 2019-12-05 06:41:23
问题 I'm working on a project which uses Facebook Graph Api to collect information about the public posts. There is a need to update this data Real-Time when changes come to this posts. i have seen a real time update mechanism using call back url https://developers.facebook.com/docs/graph-api/reference/app/subscriptions/ and https://developers.facebook.com/docs/graph-api/real-time-updates/ .. But i didnt get any idea of doing this in java. Please somebody help me using an example. 回答1: Real time