Facebook y twitter

Companions, good day

I need a button of to follow a page in facebook and Twitter.

check the documentation for facebook but did not find any function to follow a page X.

the idea is to follow a page just click, without the need to open the facebook app or anything like that

Talent wins games, but teamwork and intelligence WINS Championships.-Michael Jordan

Generally speaking, Facebook has not really made liking pages easy for mobile apps. In theory there latest SDK has support for it, but I don’t think we’ve added the feature to our new version of the Facebook plugin and I don’t if or when we will add it. I think your best bet here is include a native.newWebView that goes to the page you want them to like.  Their “Like” feature is oriented around liking pages, not people or apps.

As for Twitter, there is a free community plugin from Jason Schroeder in the store that you can use (https://store.coronalabs.com). You can then use it to follow accounts. Just setup a Follow button and in the code that handles the button press call the twitter plugin and follow your user.

Rob

Thanks Rob  for your help me to much served

:D 

Generally speaking, Facebook has not really made liking pages easy for mobile apps. In theory there latest SDK has support for it, but I don’t think we’ve added the feature to our new version of the Facebook plugin and I don’t if or when we will add it. I think your best bet here is include a native.newWebView that goes to the page you want them to like.  Their “Like” feature is oriented around liking pages, not people or apps.

As for Twitter, there is a free community plugin from Jason Schroeder in the store that you can use (https://store.coronalabs.com). You can then use it to follow accounts. Just setup a Follow button and in the code that handles the button press call the twitter plugin and follow your user.

Rob

Thanks Rob  for your help me to much served

:D