Facebook Sharing Fails on Non Admin Devices - java

I have and android app in which i want to Post image and message to faceboook. I Have completed all Steps including facebook key from console hash key from program and save to facebook console. So when i run App it is posting image and message successfully only from my device in which same facebook account is used. But When i try from any other device it is not posting data to facebook and it gives me error "publish permission [publish action] not accepted by user". i got stuck at this point. please help me. what should i do. I read some articles and got idea that facebook change its policy and app should send to review. but i have not idea what and how necessary credentials required to facebook. please help me i have to complete my app as soon as possible. i am already getting late. i am searching from 2 weeks but at last decided to post question here. please help me. thanks in advance.

Related

BillingClient: getSkuDetails() failed. Response code: 6

I've integrated Google inApp billing in my android App. It was working fine, But now I noticed that on one device its always returning BILLING_RESPONSE_RESULT_ERROR response. In Logcat it shows following error.
BillingClient: getSkuDetails() failed. Response code: 6
I couldn't find any help regarding this issue, Can someone help me what could be the possible problems and solution. Thanks.
This generally happens when you have signed out from Google account in your device. All you need to do is just sign in again, if needed do a full restart.
Well, my situation is the connection between my device and google's servers is unstable.Try to open the GooglePlay,and check if the connection is healthy.And it wroks.
In my case, this happened when a new app I submitted was in "Draft" status, not yet approved by Google. Just wait until it's approved and payments will start to work.
An alternative would be to submit it in the internal track and add the email for you play account as a test user.

I have some problems using my app for the second time

I have developed an app using Android Studio, which include login and register activities. when I copied my code to my new computer I have launched the app for the first time and it worked just fine. The day after, when I was trying again to launch the app once again. I wasn't able to sign-in to an existing user. I even could not create a new one. Does someone have any idea what caused it' and how could it be fixed?
Your question has no details at all..
Do you store the user credentials on a db?(it could be that you cannot login because you didn't connect correctly to the db) which type of db? is a Web service to an admin panel or some code posted on a hosting/vps?
Find out which is the error inside the logcat and post ONLY the error, maybe the stacktrace can help you.
So you can launch the app but the data inside is missing(credentials).. Do you see everything as usual or are there any images/details missing?
Stupid but easy to forget: do you have an active internet connection on the emulator?
have you tried to debug the code, have to tried to debug at least the authentication/register process?
Add more details, check your manifest is ok and you have all the permissions(internet, wifi or anything else), post the logcat error(if there is an error) or post the debug error, then someone can answer

How Can I get my app id in Telegram API?

I am trying to get my app id from Telegram API by using the method register.saveDeveloperInfo, but I cannot find the way to do it.
I'm using de MTProto Java library.
This is what I had done by now:
I made my own register.saveDeveloperInfo implemmentation in Java.
I call the method with the corrects params (https://core.telegram.org/api/obtaining_api_id)
The method returns a true boolean but I have not received the sms with my app_id.
When I enter in my app section of the telegram web (https://core.telegram.org/myapp) shows the "Your app is not ready yet" message.
Anyway, I'm trying to use the app_id from the source code of the official client but I can't send or receive message.
Does anyone know how to do it or where can I find more information?
You can get your app api_id and app api_hash from your Telegram app page. This is what you'll be using as of this writing. If you are asked a password, provide the mobile phone number you'll be using to develop and Telegram will send you the password.
If you are asked a password and Telegram didn't send it to you, try to provide the mobile phone number without "+".
Try disabling any anti-spam software or VPN. Disabling ABP for https://my.telegram.org/apps helped me

Can't receive notification from server to android device using gcm

I have posted this question.
I thought that downloading the newest version of gcm will work, but I was wrong. I have downloaded latest version of gcm but still I can't receive notification. I have a GOOGLE API KEY and a sender ID.
Everything is fine when I register the ID - it works fine and it shows in database, but when I try to send a message from the server to my android device, I am not getting the message from the server.
Can any one help me? I have tried some examples as well, but they aren't working. Does anyone have working example, or is my API key is not valid?
Please check your server code whether it access the registration ID of registered android device.
The following link has exact explanation of GCM with simple client side code and server side code.
http://avilyne.com/?p=267

Android L2TP connection to server

This is my letter of hope. I'm using android 4.* to create a l2tp connection to the server. The problem is in authorization. I have a server key , user login and password. I search any solution along the internet, not for android only but for java at all, and didnt find any code sample for start. I have no idea how I can authorize on server. ToyVpn in android samples didnt help, its just sample of regular connection(without any authorization). Please, somebody, help! I'll be grateful for for any useful information in this question.

Categories

Resources