dinasaif / socialauth-android

Automatically exported from code.google.com/p/socialauth-android
0 stars 0 forks source link

Working with Facebook and twitter (Post a Hyperlink on Friends" Wall" or "Personal Message") #128

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

1.Please Help Me ,i want to post Hyperlink on my friends wall including text 
message..as of now i am able to login (Twitter and Facebook)and i am getting 
friends list from both social medias .

2.i am able to post image ,text in current user wall or Direct message in both 
social medias .

3.i am using win8-32bit OS for android development .
4.i would like to say thanks for valuable Response.please help me.

Original issue reported on code.google.com by guru2010j on 30 Nov 2013 at 2:35

GoogleCodeExporter commented 8 years ago
Hi Guru,

To post image and text on current user's wall, you can use uploadImage and 
updateStatus method

For facebook only there is one more method updateStory.
Check custom-ui example.

For posting on Friend's wall
You can use api method to make custom call and add required permissions in 
properties file

Original comment by vineet.a...@3pillarglobal.com on 2 Dec 2013 at 9:15

GoogleCodeExporter commented 8 years ago

Original comment by vineet.a...@3pillarglobal.com on 2 Dec 2013 at 9:22

GoogleCodeExporter commented 8 years ago
Hi ...thanks for reply..as you said i am able to post images and text in 
current user wall..but my requirement is to post image and text to my friend 
wall (Facebook and Twitter)..please help me

Original comment by guru2010j on 2 Dec 2013 at 9:28

GoogleCodeExporter commented 8 years ago
Please tel me how can i achieve Custom api..in Facebook they removed graph api 
for posting text on friends wall..i want to do that by using social auth please 
help how can i achieve that   ..please give me on example..thanku..

Original comment by guru2010j on 2 Dec 2013 at 9:38

GoogleCodeExporter commented 8 years ago
Hi Guru,

SocialAuth internally use graph api calls, so if facebook removed this feature 
we will able to do it with socialauth android too. 

Original comment by vineet.a...@3pillarglobal.com on 4 Dec 2013 at 9:53

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi..i tried as u suggested...but i am getting "403" error..below code i am 
using please tel whats wrong on my code

Map<String, String> Params=new HashMap<String, String>();
Params.put("message", "Hello worlsd");

Map<String, String> headerParams=new HashMap<String, String>();

headerParams.put("Accept", "application/json");
headerParams.put("Content-type", "application/json");

try {

Response response = null;
                response=NB_Login_Page.FacebookAdapter.getCurrentProvider()
                        .api("https://graph.facebook.com/"+FriendUserId+"/feed","POST", Params, headerParams, "Hello world");
                Log.e("response", ""+response.getStatus());
            } catch (Exception e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            } 

Original comment by guru2010j on 4 Dec 2013 at 11:09

GoogleCodeExporter commented 8 years ago
adapter.updateStory(

                        "Hello SocialAuth Android" + id,
                        "Google SDK for Android",
                        "Build great social apps and get more installs.",
                        "The Facebook SDK for Android makes it easier and faster to develop Facebook integrated Android apps.",
                        "https://www.facebook.com",  
                        "http://carbonfreepress.gr/images/facebook.png" ,
                        new MessageListener());

i want send this to my friends, how to use, because "to" not yet params in lib, 
please update, thanks

Original comment by MasSus...@gmail.com on 4 Dec 2013 at 1:35

GoogleCodeExporter commented 8 years ago
Hi...I think u have same problem as like me...by using adapter.updateStory(); u 
can update ur wall its not possible to update ur friends wall..i do want update 
my friend wall with my message..

Original comment by guru2010j on 4 Dec 2013 at 1:39

GoogleCodeExporter commented 8 years ago
Hi..Finally i achieved posting the data on my friend wall by using Facebook 
Sdk..if its possible with Social auth we are proud to use in simple way..Social 
auth have to upodate this..thanku..if its possible with social auth please let 
me know  Thanku to all..

Thanku for your Reply..: vineet.a...@3pillarglobal.com

Original comment by guru2010j on 5 Dec 2013 at 5:44

GoogleCodeExporter commented 8 years ago
Hi Guru and Susant,

SocialAuth Android tries to provide common functionality for all social clients.

We provide extra functionalities for particular provider on major requests only.

We have added the feature in our backlog and will add on more requests.
Changing it to Enhancement.

Original comment by vineet.a...@3pillarglobal.com on 5 Dec 2013 at 7:40

GoogleCodeExporter commented 8 years ago
thanks, I am waiting for an update as soon as possible

Original comment by MasSus...@gmail.com on 9 Dec 2013 at 3:32

GoogleCodeExporter commented 8 years ago
when i  used your code i show pop up window (Share via Twitter,facebook  
etc)but when i choose particular item from list its will not work. means when 
select twitter no action occur .please help me....

Original comment by sidd.khe...@gmail.com on 10 Jan 2014 at 10:16

GoogleCodeExporter commented 8 years ago
Hi...Please make me clear what exactly u want ...

Original comment by guru2010j on 11 Jan 2014 at 5:14

GoogleCodeExporter commented 8 years ago
We are rejecting this enhancement request. As per latest facebook policy so 
this functionality will be removed.

https://developers.facebook.com/blog/post/2013/06/26/october-2013-platform-chang
es/

Original comment by vineet.a...@3pillarglobal.com on 21 Feb 2014 at 5:55

GoogleCodeExporter commented 8 years ago
when i try to post image using twitter,its not working,i used all latest jars 
also the following one,but still its not working,please reply

Original comment by khatib.a...@gmail.com on 5 Mar 2014 at 7:19

Attachments:

GoogleCodeExporter commented 8 years ago
I am looking to get the reviews and ratings of a page from all social network 
sites...
Could you help me with this..
Thank you in advance

Original comment by zafarima...@gmail.com on 30 Sep 2014 at 5:37